diff Plugins/Engine/OrthancPlugins.h @ 1177:5b2d8c280ac2 db-changes

Plugins can monitor changes through callbacks
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Sep 2014 17:37:44 +0200
parents d9c27f9f1a51
children 1169528a9a5f
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h	Mon Sep 22 14:11:37 2014 +0200
+++ b/Plugins/Engine/OrthancPlugins.h	Wed Sep 24 17:37:44 2014 +0200
@@ -53,6 +53,8 @@
 
     void RegisterOnStoredInstanceCallback(const void* parameters);
 
+    void RegisterOnChangeCallback(const void* parameters);
+
     void AnswerBuffer(const void* parameters);
 
     void Redirect(const void* parameters);
@@ -95,6 +97,10 @@
     virtual bool InvokeService(_OrthancPluginService service,
                                const void* parameters);
 
+    void SignalChange(ChangeType changeType,
+                      ResourceType resourceType,
+                      const std::string& publicId);
+
     void SignalStoredInstance(DicomInstanceToStore& instance,
                               const std::string& instanceId);