Mercurial > hg > orthanc-webviewer
comparison Plugin/Plugin.cpp @ 86:c44ab3266343
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 Oct 2015 17:40:14 +0200 |
parents | abdde1dfb3eb |
children | dbe7c97b6b4a |
comparison
equal
deleted
inserted
replaced
85:581937911d14 | 86:c44ab3266343 |
---|---|
29 #include "DecodedImageAdapter.h" | 29 #include "DecodedImageAdapter.h" |
30 #include "InstanceInformationAdapter.h" | 30 #include "InstanceInformationAdapter.h" |
31 #include "SeriesInformationAdapter.h" | 31 #include "SeriesInformationAdapter.h" |
32 | 32 |
33 | 33 |
34 #if (ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER >= 9 && ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER >= 5) | 34 #if (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER <= 0 && ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER <= 9 && ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER <= 4) |
35 # define RETURN_TYPE int32_t | |
36 # define RETURN_SUCCESS 0 | |
37 # define RETURN_FAILURE -1 | |
38 #else | |
35 # define RETURN_TYPE OrthancPluginErrorCode | 39 # define RETURN_TYPE OrthancPluginErrorCode |
36 # define RETURN_SUCCESS OrthancPluginErrorCode_Success | 40 # define RETURN_SUCCESS OrthancPluginErrorCode_Success |
37 # define RETURN_FAILURE OrthancPluginErrorCode_Plugin | 41 # define RETURN_FAILURE OrthancPluginErrorCode_Plugin |
38 #else | |
39 # define RETURN_TYPE int32_t | |
40 # define RETURN_SUCCESS 0 | |
41 # define RETURN_FAILURE -1 | |
42 #endif | 42 #endif |
43 | 43 |
44 | 44 |
45 static OrthancPluginContext* context_ = NULL; | 45 static OrthancPluginContext* context_ = NULL; |
46 | 46 |