Mercurial > hg > orthanc
diff Core/JobsEngine/IJob.h @ 2976:cb5d75143da0
Asynchronous generation of ZIP archives and DICOM medias
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Dec 2018 12:23:46 +0100 |
parents | ea7aea6f6a95 |
children | 4e43e67f8ecf |
line wrap: on
line diff
--- a/Core/JobsEngine/IJob.h Thu Dec 06 10:10:58 2018 +0100 +++ b/Core/JobsEngine/IJob.h Thu Dec 06 12:23:46 2018 +0100 @@ -65,5 +65,11 @@ virtual void GetPublicContent(Json::Value& value) = 0; virtual bool Serialize(Json::Value& value) = 0; + + // This function can only be called if the job has reached its + // "success" state + virtual bool GetOutput(std::string& output, + MimeType& mime, + const std::string& key) = 0; }; }