diff Plugins/Engine/OrthancPluginDatabase.h @ 3085:c829758b9ca0 db-changes

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Jan 2019 16:52:53 +0100
parents 195ba4cbac3f
children fb8ee0786b1e
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPluginDatabase.h	Fri Jan 04 16:42:55 2019 +0100
+++ b/Plugins/Engine/OrthancPluginDatabase.h	Fri Jan 04 16:52:53 2019 +0100
@@ -36,7 +36,7 @@
 #if ORTHANC_ENABLE_PLUGINS == 1
 
 #include "../../Core/SharedLibrary.h"
-#include "../../OrthancServer/Search/Compatibility/CompatibilityDatabaseWrapper.h"
+#include "../../OrthancServer/Search/Compatibility/ILookupResources.h"
 #include "../../OrthancServer/Search/Compatibility/ISetResourcesContent.h"
 #include "../../OrthancServer/Search/Compatibility/ICreateInstance.h"
 #include "../Include/orthanc/OrthancCDatabasePlugin.h"
@@ -46,7 +46,7 @@
 {
   class OrthancPluginDatabase :
     public IDatabaseWrapper,
-    public Compatibility::CompatibilityDatabaseWrapper,
+    public Compatibility::ILookupResources,
     public Compatibility::ISetResourcesContent,
     public Compatibility::ICreateInstance
   {
@@ -330,12 +330,12 @@
                                 const std::string& instance)
       ORTHANC_OVERRIDE;
 
-    // From the "CompatibilityDatabaseWrapper" interface
+    // From the "ILookupResources" interface
     virtual void GetAllInternalIds(std::list<int64_t>& target,
                                    ResourceType resourceType) 
       ORTHANC_OVERRIDE;
 
-    // From the "CompatibilityDatabaseWrapper" interface
+    // From the "ILookupResources" interface
     virtual void LookupIdentifier(std::list<int64_t>& result,
                                   ResourceType level,
                                   const DicomTag& tag,
@@ -343,7 +343,7 @@
                                   const std::string& value)
       ORTHANC_OVERRIDE;
     
-    // From the "CompatibilityDatabaseWrapper" interface
+    // From the "ILookupResources" interface
     virtual void LookupIdentifierRange(std::list<int64_t>& result,
                                        ResourceType level,
                                        const DicomTag& tag,