comparison Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2424:7ef9207f31d4

New pixel formats exposed in plugin SDK
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Oct 2017 12:38:02 +0200
parents 8e53a2acdf21
children 878b59270859
comparison
equal deleted inserted replaced
2423:5a7c5c541a1d 2424:7ef9207f31d4
42 #include <list> 42 #include <list>
43 #include <set> 43 #include <set>
44 44
45 45
46 46
47 #if !defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE)
47 #define ORTHANC_PLUGINS_VERSION_IS_ABOVE(major, minor, revision) \ 48 #define ORTHANC_PLUGINS_VERSION_IS_ABOVE(major, minor, revision) \
48 (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER > major || \ 49 (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER > major || \
49 (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER == major && \ 50 (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER == major && \
50 (ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER > minor || \ 51 (ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER > minor || \
51 (ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER == minor && \ 52 (ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER == minor && \
52 ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER >= revision)))) 53 ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER >= revision))))
53 54 #endif
55
54 56
55 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 2, 0) 57 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 2, 0)
56 // The "OrthancPluginFindMatcher()" primitive was introduced in Orthanc 1.2.0 58 // The "OrthancPluginFindMatcher()" primitive was introduced in Orthanc 1.2.0
57 # define HAS_ORTHANC_PLUGIN_FIND_MATCHER 1 59 # define HAS_ORTHANC_PLUGIN_FIND_MATCHER 1
58 #else 60 #else