diff Plugins/Engine/PluginsHttpHandler.h @ 1066:bb82e5e818e9

OnStoredInstance callback in plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Jul 2014 18:39:02 +0200
parents 8d1845feb277
children a91b4900f06a
line wrap: on
line diff
--- a/Plugins/Engine/PluginsHttpHandler.h	Fri Jul 25 16:59:33 2014 +0200
+++ b/Plugins/Engine/PluginsHttpHandler.h	Fri Jul 25 18:39:02 2014 +0200
@@ -50,9 +50,9 @@
 
     boost::shared_ptr<PImpl> pimpl_;
 
-    char* CopyString(const std::string& str) const;
+    void RegisterRestCallback(const void* parameters);
 
-    void RegisterRestCallback(const void* parameters);
+    void RegisterOnStoredInstanceCallback(const void* parameters);
 
     void AnswerBuffer(const void* parameters);
 
@@ -94,6 +94,9 @@
     virtual bool InvokeService(_OrthancPluginService service,
                                const void* parameters);
 
+    void SignalStoredInstance(DicomInstanceToStore& instance,
+                              const std::string& instanceId);
+
     void SetOrthancRestApi(OrthancRestApi& restApi);
   };
 }