diff Framework/Oracle/IOracleRunner.h @ 1098:17660df24c36 broker

simplification of IOracleRunner
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Oct 2019 13:01:24 +0200
parents d7a18a3cd6f9
children
line wrap: on
line diff
--- a/Framework/Oracle/IOracleRunner.h	Thu Oct 24 22:31:18 2019 +0200
+++ b/Framework/Oracle/IOracleRunner.h	Fri Oct 25 13:01:24 2019 +0200
@@ -22,8 +22,7 @@
 #pragma once
 
 #include "IOracleCommand.h"
-
-#include <boost/weak_ptr.hpp>
+#include "../Messages/IMessage.h"
 
 namespace OrthancStone
 {
@@ -34,7 +33,6 @@
     {
     }
 
-    virtual void Run(boost::weak_ptr<IObserver>& receiver,
-                     IOracleCommand& command) = 0;
+    virtual IMessage* Run(IOracleCommand& command) = 0;
   };
 }