Mercurial > hg > orthanc-stone
comparison Applications/StoneApplicationContext.h @ 560:aaeec7be8fb7
add support for alpha channel in CairoSurface
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 Apr 2019 17:57:50 +0200 |
parents | 5055031f4a06 |
children | 1201b12eb9f8 |
comparison
equal
deleted
inserted
replaced
559:9e61b0ac12f1 | 560:aaeec7be8fb7 |
---|---|
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 | 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 | |
47 | 29 |
48 #include <list> | 30 #include <list> |
49 | 31 |
50 namespace OrthancStone | 32 namespace OrthancStone |
51 { | 33 { |