diff Plugins/Engine/PluginsManager.h @ 896:c4053ac5db04 plugins

better plugni api
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Jun 2014 09:57:02 +0200
parents 690aeb4cb899
children bafc9d592632
line wrap: on
line diff
--- a/Plugins/Engine/PluginsManager.h	Mon Jun 16 17:47:58 2014 +0200
+++ b/Plugins/Engine/PluginsManager.h	Tue Jun 17 09:57:02 2014 +0200
@@ -44,7 +44,7 @@
   {
   private:
     typedef std::map<std::string, SharedLibrary*>  Plugins;
-    typedef std::list<OrthancRestCallback>  RestCallbacks;
+    typedef std::list<OrthancPluginRestCallback>  RestCallbacks;
 
     OrthancPluginContext  context_;
     Plugins  plugins_;
@@ -52,7 +52,7 @@
 
     static void RegisterRestCallback(const OrthancPluginContext* context,
                                      const char* path, 
-                                     OrthancRestCallback callback);
+                                     OrthancPluginRestCallback callback);
 
   public:
     PluginsManager();