Mercurial > hg > orthanc
diff OrthancServer/Scheduler/ModifyInstanceCommand.h @ 1698:d78b87f93bcf
DicomModification use Json::Value
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Oct 2015 12:29:21 +0200 |
parents | 904096e7367e |
children | b1291df2f780 |
line wrap: on
line diff
--- a/OrthancServer/Scheduler/ModifyInstanceCommand.h Thu Oct 08 14:52:03 2015 +0200 +++ b/OrthancServer/Scheduler/ModifyInstanceCommand.h Fri Oct 09 12:29:21 2015 +0200 @@ -43,16 +43,18 @@ private: ServerContext& context_; RequestOrigin origin_; - DicomModification modification_; + DicomModification* modification_; public: ModifyInstanceCommand(ServerContext& context, RequestOrigin origin, - const DicomModification& modification); + DicomModification* modification); // takes the ownership + + virtual ~ModifyInstanceCommand(); const DicomModification& GetModification() const { - return modification_; + return *modification_; } virtual bool Apply(ListOfStrings& outputs,