diff OrthancServer/ServerContext.h @ 1133:382e162c074c

rename
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Sep 2014 10:45:14 +0200
parents 8dabdc0d3007
children ba9fd42284d0
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h	Tue Sep 09 10:43:23 2014 +0200
+++ b/OrthancServer/ServerContext.h	Tue Sep 09 10:45:14 2014 +0200
@@ -47,7 +47,7 @@
 
 namespace Orthanc
 {
-  class PluginsHttpHandler;
+  class OrthancPlugins;
 
   /**
    * This class is responsible for maintaining the storage area on the
@@ -89,7 +89,7 @@
 
     boost::mutex luaMutex_;
     LuaContext lua_;
-    PluginsHttpHandler* plugins_;  // TODO Turn it into a listener pattern (idem for Lua callbacks)
+    OrthancPlugins* plugins_;  // TODO Turn it into a listener pattern (idem for Lua callbacks)
 
   public:
     class DicomCacheLocker : public boost::noncopyable
@@ -190,9 +190,9 @@
       return scheduler_;
     }
 
-    void SetPluginsHttpHandler(PluginsHttpHandler& plugin)
+    void SetOrthancPlugins(OrthancPlugins& plugins)
     {
-      plugins_ = &plugin;
+      plugins_ = &plugins;
     }
   };
 }