diff Plugins/Engine/OrthancPlugins.h @ 2801:3ee82c7313e7

New events in change callbacks: "UpdatedPeers" and "UpdatedModalities"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 23 Aug 2018 13:52:54 +0200
parents 6e3a60b85da6
children 37583cd183ed
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h	Thu Aug 23 13:11:48 2018 +0200
+++ b/Plugins/Engine/OrthancPlugins.h	Thu Aug 23 13:52:54 2018 +0200
@@ -264,6 +264,16 @@
       SignalChangeInternal(OrthancPluginChangeType_OrthancStopped, OrthancPluginResourceType_None, NULL);
     }
 
+    void SignalUpdatedPeers()
+    {
+      SignalChangeInternal(OrthancPluginChangeType_UpdatedPeers, OrthancPluginResourceType_None, NULL);
+    }
+
+    void SignalUpdatedModalities()
+    {
+      SignalChangeInternal(OrthancPluginChangeType_UpdatedModalities, OrthancPluginResourceType_None, NULL);
+    }
+
     bool HasWorklistHandler();
 
     virtual IWorklistRequestHandler* ConstructWorklistRequestHandler();