Mercurial > hg > orthanc
diff OrthancServer/ServerJobs/ArchiveJob.h @ 2663:228e2783ce83 jobs
some jobs might not be serializable
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 07 Jun 2018 18:18:02 +0200 |
parents | e1893d31652a |
children | cb1b26a7db98 |
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/ArchiveJob.h Thu Jun 07 17:47:41 2018 +0200 +++ b/OrthancServer/ServerJobs/ArchiveJob.h Thu Jun 07 18:18:02 2018 +0200 @@ -97,6 +97,9 @@ virtual void GetPublicContent(Json::Value& value); - virtual void Serialize(Json::Value& value); + virtual bool Serialize(Json::Value& value) + { + return false; // Cannot serialize this kind of job + } }; }