diff Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 3410:3575466a3e57

introduction of macro HAS_ORTHANC_FRAMEWORK to be more explicit
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 08 Jun 2019 17:42:30 +0200
parents b7728227a852
children f09bfdea3fc3
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp	Sat Jun 08 16:49:35 2019 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp	Sat Jun 08 17:42:30 2019 +0200
@@ -2877,19 +2877,18 @@
                                       Internals::Protect<CompatibilityMultipartRestCallback>);
   }
 
-
 #else
 
   void MultipartRestCallback::Register(const std::string& regularExpression)
   {
     /**
      * Version >= 1.5.7 of the Orthanc framework must be
-     * available. Make sure that macros
+     * available. Make sure that macros "HAS_ORTHANC_FRAMEWORK=1",
      * "ORTHANC_FRAMEWORK_VERSION_MAJOR",
      * "ORTHANC_FRAMEWORK_VERSION_MINOR" and
      * "ORTHANC_FRAMEWORK_VERSION_REVISION" are properly set.
      **/
-    LogError("The compatibility mode for multipart transfers is not available.");
+    LogError("The compatibility wrappers for multipart transfers is not available, stopping now.");
     ORTHANC_PLUGINS_THROW_EXCEPTION(NotImplemented);
   }