Mercurial > hg > orthanc
diff OrthancServer/Plugins/Engine/PluginsJob.h @ 5138:d00db9fb48fb
added OrthancPluginCreateJob2() in the plugin SDK
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 19 Jan 2023 19:04:13 +0100 |
parents | 6eff25f70121 |
children | 0ea402b4d901 |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/PluginsJob.h Wed Jan 18 17:58:51 2023 +0100 +++ b/OrthancServer/Plugins/Engine/PluginsJob.h Thu Jan 19 19:04:13 2023 +0100 @@ -33,12 +33,18 @@ class PluginsJob : public IJob { private: - _OrthancPluginCreateJob parameters_; - std::string type_; + _OrthancPluginCreateJob2 parameters_; + std::string type_; + OrthancPluginJobGetContent deprecatedGetContent_; + OrthancPluginJobGetSerialized deprecatedGetSerialized_; + + void Setup(); public: explicit PluginsJob(const _OrthancPluginCreateJob& parameters); + explicit PluginsJob(const _OrthancPluginCreateJob2& parameters); + virtual ~PluginsJob(); virtual void Start() ORTHANC_OVERRIDE