comparison OrthancServer/ServerJobs/ArchiveJob.cpp @ 3658:2d90dd30858c storage-commitment

providing job ID to the IJob::Step() methods
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Feb 2020 16:44:26 +0100
parents 94f4a18a79cc
children 56f2397f027a
comparison
equal deleted inserted replaced
3657:115f82775c46 3658:2d90dd30858c
933 new DynamicTemporaryFile(asynchronousTarget_.release())); 933 new DynamicTemporaryFile(asynchronousTarget_.release()));
934 } 934 }
935 } 935 }
936 936
937 937
938 JobStepResult ArchiveJob::Step() 938 JobStepResult ArchiveJob::Step(const std::string& jobId)
939 { 939 {
940 assert(writer_.get() != NULL); 940 assert(writer_.get() != NULL);
941 941
942 if (synchronousTarget_.get() != NULL && 942 if (synchronousTarget_.get() != NULL &&
943 synchronousTarget_.unique()) 943 synchronousTarget_.unique())