diff Core/JobsEngine/JobStatus.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 2af17cd5eb1f
children 8da2cffc2378
line wrap: on
line diff
--- a/Core/JobsEngine/JobStatus.h	Mon May 07 21:42:04 2018 +0200
+++ b/Core/JobsEngine/JobStatus.h	Wed May 09 17:56:14 2018 +0200
@@ -42,7 +42,9 @@
   private:
     ErrorCode      errorCode_;
     float          progress_;
-    Json::Value    description_;
+    std::string    jobType_;
+    Json::Value    publicContent_;
+    Json::Value    internalContent_;
 
   public:
     JobStatus();
@@ -60,9 +62,19 @@
       return progress_;
     }
 
-    const Json::Value& GetDescription() const
+    const std::string& GetJobType() const
+    {
+      return jobType_;
+    }
+
+    const Json::Value& GetPublicContent() const
     {
-      return description_;
+      return publicContent_;
+    }
+
+    const Json::Value& GetInternalContent() const
+    {
+      return internalContent_;
     }
   };
 }