Mercurial > hg > orthanc
diff Plugins/Engine/PluginsJob.h @ 2812:ea7aea6f6a95
improved naming of methods in IJob
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Sep 2018 16:23:40 +0200 |
parents | 7cfc8d266f41 |
children | 7d1d3136f6cf |
line wrap: on
line diff
--- a/Plugins/Engine/PluginsJob.h Thu Sep 06 12:32:02 2018 +0200 +++ b/Plugins/Engine/PluginsJob.h Thu Sep 06 16:23:40 2018 +0200 @@ -43,16 +43,16 @@ class PluginsJob : public IJob { private: - void *job_; - std::string type_; - Json::Value publicContent_; - bool hasSerialized_; - Json::Value serialized_; - OrthancPluginJobFree free_; - OrthancPluginJobGetProgress getProgress_; - OrthancPluginJobStep step_; - OrthancPluginJobReleaseResources releaseResources_; - OrthancPluginJobReset reset_; + void *job_; + std::string type_; + Json::Value publicContent_; + bool hasSerialized_; + Json::Value serialized_; + OrthancPluginJobFree free_; + OrthancPluginJobGetProgress getProgress_; + OrthancPluginJobStep step_; + OrthancPluginJobStop stop_; + OrthancPluginJobReset reset_; public: PluginsJob(const _OrthancPluginSubmitJob& parameters); @@ -63,11 +63,11 @@ { } - virtual JobStepResult ExecuteStep(); + virtual JobStepResult Step(); - virtual void SignalResubmit(); + virtual void Reset(); - virtual void ReleaseResources(JobReleaseReason reason); + virtual void Stop(JobStopReason reason); virtual float GetProgress();