Mercurial > hg > orthanc
diff Plugins/Engine/OrthancPlugins.h @ 4024:1d2b31fc782f more-changes
new 'changes': JobSubmitted, JobSuccess, JobFailure
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 09 Jun 2020 12:20:42 +0200 |
parents | 5fe8c6d3212e |
children |
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h Tue Jun 09 11:54:58 2020 +0200 +++ b/Plugins/Engine/OrthancPlugins.h Tue Jun 09 12:20:42 2020 +0200 @@ -311,6 +311,21 @@ SignalChangeInternal(OrthancPluginChangeType_OrthancStopped, OrthancPluginResourceType_None, NULL); } + void SignalJobSubmitted(const std::string& jobId) + { + SignalChangeInternal(OrthancPluginChangeType_JobSubmitted, OrthancPluginResourceType_None, jobId.c_str()); + } + + void SignalJobSuccess(const std::string& jobId) + { + SignalChangeInternal(OrthancPluginChangeType_JobSuccess, OrthancPluginResourceType_None, jobId.c_str()); + } + + void SignalJobFailure(const std::string& jobId) + { + SignalChangeInternal(OrthancPluginChangeType_JobFailure, OrthancPluginResourceType_None, jobId.c_str()); + } + void SignalUpdatedPeers() { SignalChangeInternal(OrthancPluginChangeType_UpdatedPeers, OrthancPluginResourceType_None, NULL);