diff Core/JobsEngine/JobStatus.h @ 2581:8da2cffc2378 jobs

JobsRegistry::Cancel()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 May 2018 17:33:19 +0200
parents 3372c5255333
children 73d7d95dd75e
line wrap: on
line diff
--- a/Core/JobsEngine/JobStatus.h	Fri May 11 09:35:17 2018 +0200
+++ b/Core/JobsEngine/JobStatus.h	Fri May 11 17:33:19 2018 +0200
@@ -57,6 +57,11 @@
       return errorCode_;
     }
 
+    void SetErrorCode(ErrorCode error)
+    {
+      errorCode_ = error;
+    }
+
     float GetProgress() const
     {
       return progress_;