Mercurial > hg > orthanc
comparison OrthancServer/ServerJobs/ArchiveJob.h @ 3770:66e18aad0654 transcoding
integration mainline->transcoding
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 17 Mar 2020 16:39:38 +0100 |
parents | 5ff5d5a0fd28 |
children | 6ddad3e0b569 |
comparison
equal
deleted
inserted
replaced
3766:711d2ec2db34 | 3770:66e18aad0654 |
---|---|
87 return description_; | 87 return description_; |
88 } | 88 } |
89 | 89 |
90 void AddResource(const std::string& publicId); | 90 void AddResource(const std::string& publicId); |
91 | 91 |
92 virtual void Reset(); | 92 virtual void Reset() ORTHANC_OVERRIDE; |
93 | 93 |
94 virtual void Start(); | 94 virtual void Start() ORTHANC_OVERRIDE; |
95 | 95 |
96 virtual JobStepResult Step(const std::string& jobId) ORTHANC_OVERRIDE; | 96 virtual JobStepResult Step(const std::string& jobId) ORTHANC_OVERRIDE; |
97 | 97 |
98 virtual void Stop(JobStopReason reason) | 98 virtual void Stop(JobStopReason reason) ORTHANC_OVERRIDE |
99 { | 99 { |
100 } | 100 } |
101 | 101 |
102 virtual float GetProgress(); | 102 virtual float GetProgress() ORTHANC_OVERRIDE; |
103 | 103 |
104 virtual void GetJobType(std::string& target); | 104 virtual void GetJobType(std::string& target) ORTHANC_OVERRIDE; |
105 | 105 |
106 virtual void GetPublicContent(Json::Value& value); | 106 virtual void GetPublicContent(Json::Value& value) ORTHANC_OVERRIDE; |
107 | 107 |
108 virtual bool Serialize(Json::Value& value) | 108 virtual bool Serialize(Json::Value& value) ORTHANC_OVERRIDE |
109 { | 109 { |
110 return false; // Cannot serialize this kind of job | 110 return false; // Cannot serialize this kind of job |
111 } | 111 } |
112 | 112 |
113 virtual bool GetOutput(std::string& output, | 113 virtual bool GetOutput(std::string& output, |
114 MimeType& mime, | 114 MimeType& mime, |
115 const std::string& key); | 115 const std::string& key) ORTHANC_OVERRIDE; |
116 }; | 116 }; |
117 } | 117 } |