diff Framework/Plugins/IndexBackend.h @ 78:2ee166f77501 db-changes

renamed macro
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 06 Jan 2019 12:48:18 +0100
parents a1c6238b26f8
children 1012fe77241c
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.h	Sun Jan 06 12:35:29 2019 +0100
+++ b/Framework/Plugins/IndexBackend.h	Sun Jan 06 12:48:18 2019 +0100
@@ -258,7 +258,7 @@
     virtual void GetChildren(std::list<std::string>& childrenPublicIds,
                              int64_t id);
 
-#if ORTHANC_PLUGINS_HAS_DATABASE_OPTIMIZATIONS_1 == 1
+#if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1
     // New primitive since Orthanc 1.5.2
     virtual void LookupResources(const std::vector<Orthanc::DatabaseConstraint>& lookup,
                                  OrthancPluginResourceType queryLevel,
@@ -266,7 +266,7 @@
                                  bool requestSomeInstance);
 #endif
 
-#if ORTHANC_PLUGINS_HAS_DATABASE_OPTIMIZATIONS_1 == 1
+#if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1
     // New primitive since Orthanc 1.5.2
     virtual void SetResourcesContent(
       uint32_t countIdentifierTags,
@@ -277,7 +277,7 @@
       const OrthancPluginResourcesContentMetadata* metadata);
 #endif
 
-#if ORTHANC_PLUGINS_HAS_DATABASE_OPTIMIZATIONS_1 == 1
+#if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1
     // New primitive since Orthanc 1.5.2
     virtual void GetChildrenMetadata(std::list<std::string>& target,
                                      int64_t resourceId,