comparison Plugins/Samples/GdcmDecoder/GdcmImageDecoder.h @ 2426:23f5ff059ce2

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Oct 2017 12:51:11 +0200
parents a3a65de1840f
children 878b59270859
comparison
equal deleted inserted replaced
2425:59b7aa77a8da 2426:23f5ff059ce2
24 #include <orthanc/OrthancCPlugin.h> 24 #include <orthanc/OrthancCPlugin.h>
25 #include <stdint.h> 25 #include <stdint.h>
26 #include <boost/noncopyable.hpp> 26 #include <boost/noncopyable.hpp>
27 #include <boost/shared_ptr.hpp> 27 #include <boost/shared_ptr.hpp>
28 28
29
30 // This is for compatibility with Orthanc SDK <= 1.3.0
31 #if !defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE)
32 #define ORTHANC_PLUGINS_VERSION_IS_ABOVE(major, minor, revision) \
33 (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER > major || \
34 (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER == major && \
35 (ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER > minor || \
36 (ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER == minor && \
37 ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER >= revision))))
38 #endif
39
40
29 namespace OrthancPlugins 41 namespace OrthancPlugins
30 { 42 {
31 class GdcmImageDecoder : public boost::noncopyable 43 class GdcmImageDecoder : public boost::noncopyable
32 { 44 {
33 private: 45 private: