Mercurial > hg > orthanc-stone
comparison Applications/StoneApplicationContext.h @ 466:5055031f4a06 bgo-commands-codegen
- Added browserify to build. This allows using require calls for modules that
work with tsc compiler.
- removed older stuff related to Protocol Buffers and Flatbuffers
- changed triple-slash references to import statements
- module prefixes are now added at call sites
- added cmake module for filename handling
- switched to Ninja for sample build
- Added virtual dtor in ICommand
author | bgo-osimis |
---|---|
date | Mon, 11 Feb 2019 16:00:04 +0100 |
parents | a750f11892ec |
children | aa00a49444c6 aaeec7be8fb7 |
comparison
equal
deleted
inserted
replaced
448:cc47e6eaefb0 | 466:5055031f4a06 |
---|---|
23 | 23 |
24 #include "../Framework/Toolbox/IWebService.h" | 24 #include "../Framework/Toolbox/IWebService.h" |
25 #include "../Framework/Toolbox/IDelayedCallExecutor.h" | 25 #include "../Framework/Toolbox/IDelayedCallExecutor.h" |
26 #include "../Framework/Toolbox/OrthancApiClient.h" | 26 #include "../Framework/Toolbox/OrthancApiClient.h" |
27 #include "../Framework/Viewport/WidgetViewport.h" | 27 #include "../Framework/Viewport/WidgetViewport.h" |
28 | |
29 | |
30 #ifdef _MSC_VER | |
31 #if _MSC_VER > 1910 | |
32 #define orthanc_override override | |
33 #else | |
34 #define orthanc_override | |
35 #endif | |
36 #elif defined __GNUC__ | |
37 #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) | |
38 /* Test for GCC > 3.2.0 */ | |
39 #if GCC_VERSION > 40900 | |
40 #define orthanc_override override | |
41 else | |
42 #define orthanc_override | |
43 #endif | |
44 #else | |
45 #define orthanc_override | |
46 #endif | |
28 | 47 |
29 #include <list> | 48 #include <list> |
30 | 49 |
31 namespace OrthancStone | 50 namespace OrthancStone |
32 { | 51 { |