diff Core/JobsEngine/JobsRegistry.h @ 2573:3372c5255333 jobs

StoreScuJob, Orthanc Explorer for jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 May 2018 17:56:14 +0200
parents 2e879c796ec7
children 8da2cffc2378
line wrap: on
line diff
--- a/Core/JobsEngine/JobsRegistry.h	Mon May 07 21:42:04 2018 +0200
+++ b/Core/JobsEngine/JobsRegistry.h	Wed May 09 17:56:14 2018 +0200
@@ -130,14 +130,14 @@
     bool SubmitAndWait(IJob* job,        // Takes ownership
                        int priority);
     
-    void SetPriority(const std::string& id,
+    bool SetPriority(const std::string& id,
                      int priority);
 
-    void Pause(const std::string& id);
+    bool Pause(const std::string& id);
     
-    void Resume(const std::string& id);
+    bool Resume(const std::string& id);
 
-    void Resubmit(const std::string& id);
+    bool Resubmit(const std::string& id);
     
     void ScheduleRetries();