diff Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 2231:61e0564d03bb

backwards compatibility within OrthancPluginCppWrapper
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Dec 2016 16:41:58 +0100
parents 028214a95194
children a78d15509a1c
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp	Wed Dec 14 11:05:48 2016 +0100
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp	Wed Dec 14 16:41:58 2016 +0100
@@ -835,6 +835,8 @@
   }
 
 
+
+#if HAS_ORTHANC_PLUGIN_FIND_MATCHER == 1
   FindMatcher::FindMatcher(OrthancPluginContext*              context,
                            const OrthancPluginWorklistQuery*  worklist) :
     context_(context),
@@ -907,6 +909,7 @@
     }
   }
 
+#endif /* HAS_ORTHANC_PLUGIN_FIND_MATCHER == 1 */
 
 
   bool RestApiGet(Json::Value& result,