comparison Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2988:9cc3d40e389b

Orthanc 1.4.3 is now known as 1.5.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Dec 2018 11:15:31 +0100
parents 32ec5078e32b
children c358bdb37c13
comparison
equal deleted inserted replaced
2987:96089d1aba4d 2988:9cc3d40e389b
69 #else 69 #else
70 # define HAS_ORTHANC_PLUGIN_PEERS 0 70 # define HAS_ORTHANC_PLUGIN_PEERS 0
71 # define HAS_ORTHANC_PLUGIN_JOB 0 71 # define HAS_ORTHANC_PLUGIN_JOB 0
72 #endif 72 #endif
73 73
74 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 4, 3) 74 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 5, 0)
75 # define HAS_ORTHANC_PLUGIN_EXCEPTION_DETAILS 1 75 # define HAS_ORTHANC_PLUGIN_EXCEPTION_DETAILS 1
76 #else 76 #else
77 # define HAS_ORTHANC_PLUGIN_EXCEPTION_DETAILS 0 77 # define HAS_ORTHANC_PLUGIN_EXCEPTION_DETAILS 0
78 #endif 78 #endif
79 79
490 void AnswerHttpError(uint16_t httpError, 490 void AnswerHttpError(uint16_t httpError,
491 OrthancPluginRestOutput* output); 491 OrthancPluginRestOutput* output);
492 492
493 void AnswerMethodNotAllowed(OrthancPluginRestOutput* output, const char* allowedMethods); 493 void AnswerMethodNotAllowed(OrthancPluginRestOutput* output, const char* allowedMethods);
494 494
495 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 4, 3) 495 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 5, 0)
496 const char* AutodetectMimeType(const std::string& path); 496 const char* AutodetectMimeType(const std::string& path);
497 #endif 497 #endif
498 498
499 void LogError(const std::string& message); 499 void LogError(const std::string& message);
500 500