Mercurial > hg > orthanc
diff Core/JobsEngine/JobsRegistry.h @ 2648:e1893d31652a jobs
serialization of JobHandler
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 31 May 2018 18:44:05 +0200 |
parents | 8da2cffc2378 |
children | 5fa2f2ce74f0 |
line wrap: on
line diff
--- a/Core/JobsEngine/JobsRegistry.h Thu May 31 17:45:09 2018 +0200 +++ b/Core/JobsEngine/JobsRegistry.h Thu May 31 18:44:05 2018 +0200 @@ -42,6 +42,7 @@ #endif #include "JobInfo.h" +#include "IJobUnserializer.h" #include <list> #include <set> @@ -126,6 +127,8 @@ bool GetJobInfo(JobInfo& target, const std::string& id); + + void Serialize(Json::Value& target); void Submit(std::string& id, IJob* job, // Takes ownership