diff Plugins/Engine/PluginsManager.h @ 1581:357c4bb15701

Plugins have access to explicit error codes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 16:18:37 +0200
parents 6e7e5ed91c2d
children ffd23c0104af
line wrap: on
line diff
--- a/Plugins/Engine/PluginsManager.h	Tue Aug 25 15:59:07 2015 +0200
+++ b/Plugins/Engine/PluginsManager.h	Tue Aug 25 16:18:37 2015 +0200
@@ -76,9 +76,9 @@
     Plugins  plugins_;
     std::list<IPluginServiceProvider*> serviceProviders_;
 
-    static int32_t InvokeService(OrthancPluginContext* context,
-                                 _OrthancPluginService service,
-                                 const void* parameters);
+    static OrthancPluginErrorCode InvokeService(OrthancPluginContext* context,
+                                                _OrthancPluginService service,
+                                                const void* parameters);
 
   public:
     PluginsManager();