diff Applications/StoneApplicationContext.h @ 1060:e146743f6cdc broker

removing file MessageBroker.h
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Oct 2019 17:20:41 +0200
parents c35e98d22764
children 04a95ee91327
line wrap: on
line diff
--- a/Applications/StoneApplicationContext.h	Fri Oct 11 17:08:34 2019 +0200
+++ b/Applications/StoneApplicationContext.h	Fri Oct 11 17:20:41 2019 +0200
@@ -59,7 +59,6 @@
   class StoneApplicationContext : public boost::noncopyable
   {
   private:
-    MessageBroker&                   broker_;
     Deprecated::IWebService*         webService_;
     Deprecated::IDelayedCallExecutor*            delayedCallExecutor_;
     std::auto_ptr<Deprecated::OrthancApiClient>  orthanc_;
@@ -68,8 +67,7 @@
     void InitializeOrthanc();
 
   public:
-    StoneApplicationContext(MessageBroker& broker) :
-      broker_(broker),
+    StoneApplicationContext() :
       webService_(NULL),
       delayedCallExecutor_(NULL)
     {
@@ -79,11 +77,6 @@
     {
     }
 
-    MessageBroker& GetMessageBroker()
-    {
-      return broker_;
-    }
-
     bool HasWebService() const
     {
       return webService_ != NULL;