diff OrthancServer/ServerContext.h @ 1444:b2b09a3dbd8e

refactoring: OrthancHttpHandler inside OrthancServer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Jul 2015 12:09:58 +0200
parents 0a3e3be59094
children 5ba7471780ae
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h	Wed Jul 01 11:30:19 2015 +0200
+++ b/OrthancServer/ServerContext.h	Wed Jul 01 12:09:58 2015 +0200
@@ -47,6 +47,7 @@
 #include "ParsedDicomFile.h"
 #include "Scheduler/ServerScheduler.h"
 #include "ServerIndex.h"
+#include "OrthancHttpHandler.h"
 
 #include <boost/filesystem.hpp>
 #include <boost/thread.hpp>
@@ -126,6 +127,7 @@
         
     SharedArchive  queryRetrieveArchive_;
     std::string defaultLocalAet_;
+    OrthancHttpHandler  httpHandler_;
 
   public:
     class DicomCacheLocker : public boost::noncopyable
@@ -230,6 +232,11 @@
       return lua_;
     }
 
+    OrthancHttpHandler& GetHttpHandler()
+    {
+      return httpHandler_;
+    }
+
 
     /**
      * Management of the plugins