diff Framework/Oracle/GenericOracleRunner.h @ 1129:c3d4adf8bc70 broker

removing IOracleRunner abstraction
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 05 Nov 2019 22:45:27 +0100
parents 3308ef083297
children 87fbeb823375
line wrap: on
line diff
--- a/Framework/Oracle/GenericOracleRunner.h	Tue Nov 05 22:39:25 2019 +0100
+++ b/Framework/Oracle/GenericOracleRunner.h	Tue Nov 05 22:45:27 2019 +0100
@@ -21,8 +21,6 @@
 
 #pragma once
 
-#include "IOracleRunner.h"
-
 #if !defined(ORTHANC_ENABLE_DCMTK)
 #  error The macro ORTHANC_ENABLE_DCMTK must be defined
 #endif
@@ -31,13 +29,14 @@
 #  include "../Toolbox/ParsedDicomFileCache.h"
 #endif
 
+#include "IOracleCommand.h"
 
 #include <Core/Enumerations.h>  // For ORTHANC_OVERRIDE
 #include <Core/WebServiceParameters.h>
 
 namespace OrthancStone
 {
-  class GenericOracleRunner : public IOracleRunner
+  class GenericOracleRunner : public boost::noncopyable
   {
   private:
     Orthanc::WebServiceParameters  orthanc_;
@@ -80,6 +79,6 @@
     }
 #endif
 
-    virtual IMessage* Run(IOracleCommand& command) ORTHANC_OVERRIDE;
+    IMessage* Run(IOracleCommand& command);
   };
 }