diff Plugins/Engine/OrthancPluginDatabase.h @ 3051:39db63e68dcf db-changes

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Dec 2018 16:49:07 +0100
parents d8a91acb7424
children c7db469bbe8e
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPluginDatabase.h	Thu Dec 20 16:42:35 2018 +0100
+++ b/Plugins/Engine/OrthancPluginDatabase.h	Thu Dec 20 16:49:07 2018 +0100
@@ -36,13 +36,13 @@
 #if ORTHANC_ENABLE_PLUGINS == 1
 
 #include "../../Core/SharedLibrary.h"
-#include "../../OrthancServer/IDatabaseWrapper.h"
+#include "../../OrthancServer/Search/Compatibility/CompatibilityDatabaseWrapper.h"
 #include "../Include/orthanc/OrthancCDatabasePlugin.h"
 #include "PluginsErrorDictionary.h"
 
 namespace Orthanc
 {
-  class OrthancPluginDatabase : public IDatabaseWrapper
+  class OrthancPluginDatabase : public CompatibilityDatabaseWrapper
   {
   private:
     class Transaction;
@@ -306,8 +306,7 @@
                          IStorageArea& storageArea) 
       ORTHANC_OVERRIDE;
 
-    void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer) 
-      ORTHANC_OVERRIDE;
+    void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer);
 
     virtual bool IsDiskSizeAbove(uint64_t threshold) 
       ORTHANC_OVERRIDE;