Mercurial > hg > orthanc-stone
comparison Applications/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h @ 1638:754ef576d945
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Nov 2020 16:26:47 +0100 |
parents | 4fb8fdf03314 |
children | 77038e2bd074 |
comparison
equal
deleted
inserted
replaced
1637:d569effcd433 | 1638:754ef576d945 |
---|---|
6 * | 6 * |
7 * This program is free software: you can redistribute it and/or | 7 * This program is free software: you can redistribute it and/or |
8 * modify it under the terms of the GNU General Public License as | 8 * modify it under the terms of the GNU General Public License as |
9 * published by the Free Software Foundation, either version 3 of the | 9 * published by the Free Software Foundation, either version 3 of the |
10 * License, or (at your option) any later version. | 10 * License, or (at your option) any later version. |
11 * | 11 * |
12 * This program is distributed in the hope that it will be useful, but | 12 * This program is distributed in the hope that it will be useful, but |
13 * WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 * General Public License for more details. | 15 * General Public License for more details. |
16 * | 16 * |
36 | 36 |
37 | 37 |
38 /** | 38 /** |
39 * The definition of ORTHANC_PLUGINS_VERSION_IS_ABOVE below is for | 39 * The definition of ORTHANC_PLUGINS_VERSION_IS_ABOVE below is for |
40 * backward compatibility with Orthanc SDK <= 1.3.0. | 40 * backward compatibility with Orthanc SDK <= 1.3.0. |
41 * | 41 * |
42 * $ hg diff -r Orthanc-1.3.0:Orthanc-1.3.1 ../../../Plugins/Include/orthanc/OrthancCPlugin.h | 42 * $ hg diff -r Orthanc-1.3.0:Orthanc-1.3.1 ../../../Plugins/Include/orthanc/OrthancCPlugin.h |
43 * | 43 * |
44 **/ | 44 **/ |
45 #if !defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) | 45 #if !defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) |
46 #define ORTHANC_PLUGINS_VERSION_IS_ABOVE(major, minor, revision) \ | 46 #define ORTHANC_PLUGINS_VERSION_IS_ABOVE(major, minor, revision) \ |
777 void UpdateSerialized(const Json::Value& serialized); | 777 void UpdateSerialized(const Json::Value& serialized); |
778 | 778 |
779 void UpdateProgress(float progress); | 779 void UpdateProgress(float progress); |
780 | 780 |
781 public: | 781 public: |
782 OrthancJob(const std::string& jobType); | 782 explicit OrthancJob(const std::string& jobType); |
783 | 783 |
784 virtual ~OrthancJob() | 784 virtual ~OrthancJob() |
785 { | 785 { |
786 } | 786 } |
787 | 787 |