Mercurial > hg > orthanc
diff OrthancFramework/Sources/JobsEngine/IJob.h @ 5310:b5c502bcaf99
added a route to DELETE /jobs/../archive
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 12 Jun 2023 18:42:06 +0200 |
parents | 0ea402b4d901 |
children | b5f2122a1334 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/JobsEngine/IJob.h Wed Jun 07 10:48:14 2023 +0200 +++ b/OrthancFramework/Sources/JobsEngine/IJob.h Mon Jun 12 18:42:06 2023 +0200 @@ -62,5 +62,9 @@ MimeType& mime, std::string& filename, const std::string& key) = 0; + + // This function can only be called if the job has reached its + // "success" state + virtual bool DeleteOutput(const std::string& key) = 0; }; }