comparison 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
comparison
equal deleted inserted replaced
4023:cbdf62468d77 4024:1d2b31fc782f
309 void SignalOrthancStopped() 309 void SignalOrthancStopped()
310 { 310 {
311 SignalChangeInternal(OrthancPluginChangeType_OrthancStopped, OrthancPluginResourceType_None, NULL); 311 SignalChangeInternal(OrthancPluginChangeType_OrthancStopped, OrthancPluginResourceType_None, NULL);
312 } 312 }
313 313
314 void SignalJobSubmitted(const std::string& jobId)
315 {
316 SignalChangeInternal(OrthancPluginChangeType_JobSubmitted, OrthancPluginResourceType_None, jobId.c_str());
317 }
318
319 void SignalJobSuccess(const std::string& jobId)
320 {
321 SignalChangeInternal(OrthancPluginChangeType_JobSuccess, OrthancPluginResourceType_None, jobId.c_str());
322 }
323
324 void SignalJobFailure(const std::string& jobId)
325 {
326 SignalChangeInternal(OrthancPluginChangeType_JobFailure, OrthancPluginResourceType_None, jobId.c_str());
327 }
328
314 void SignalUpdatedPeers() 329 void SignalUpdatedPeers()
315 { 330 {
316 SignalChangeInternal(OrthancPluginChangeType_UpdatedPeers, OrthancPluginResourceType_None, NULL); 331 SignalChangeInternal(OrthancPluginChangeType_UpdatedPeers, OrthancPluginResourceType_None, NULL);
317 } 332 }
318 333