changeset 1638:754ef576d945

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Nov 2020 16:26:47 +0100
parents d569effcd433
children 5cdc5b98f14d
files Applications/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Applications/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h Applications/Resources/Orthanc/Plugins/OrthancPluginException.h Applications/Resources/Orthanc/Plugins/OrthancPluginsExports.cmake Applications/Resources/Orthanc/Sdk-1.0.0/orthanc/OrthancCPlugin.h
diffstat 5 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp	Tue Nov 10 16:25:20 2020 +0100
+++ b/Applications/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp	Tue Nov 10 16:26:47 2020 +0100
@@ -8,7 +8,7 @@
  * modify it under the terms of the GNU General Public License as
  * published by the Free Software Foundation, either version 3 of the
  * License, or (at your option) any later version.
- *
+ * 
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
--- a/Applications/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h	Tue Nov 10 16:25:20 2020 +0100
+++ b/Applications/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h	Tue Nov 10 16:26:47 2020 +0100
@@ -8,7 +8,7 @@
  * modify it under the terms of the GNU General Public License as
  * published by the Free Software Foundation, either version 3 of the
  * License, or (at your option) any later version.
- *
+ * 
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@@ -38,7 +38,7 @@
 /**
  * The definition of ORTHANC_PLUGINS_VERSION_IS_ABOVE below is for
  * backward compatibility with Orthanc SDK <= 1.3.0.
- *
+ * 
  *   $ hg diff -r Orthanc-1.3.0:Orthanc-1.3.1 ../../../Plugins/Include/orthanc/OrthancCPlugin.h
  *
  **/
@@ -779,7 +779,7 @@
     void UpdateProgress(float progress);
     
   public:
-    OrthancJob(const std::string& jobType);
+    explicit OrthancJob(const std::string& jobType);
     
     virtual ~OrthancJob()
     {
--- a/Applications/Resources/Orthanc/Plugins/OrthancPluginException.h	Tue Nov 10 16:25:20 2020 +0100
+++ b/Applications/Resources/Orthanc/Plugins/OrthancPluginException.h	Tue Nov 10 16:26:47 2020 +0100
@@ -8,7 +8,7 @@
  * modify it under the terms of the GNU General Public License as
  * published by the Free Software Foundation, either version 3 of the
  * License, or (at your option) any later version.
- *
+ * 
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
--- a/Applications/Resources/Orthanc/Plugins/OrthancPluginsExports.cmake	Tue Nov 10 16:25:20 2020 +0100
+++ b/Applications/Resources/Orthanc/Plugins/OrthancPluginsExports.cmake	Tue Nov 10 16:26:47 2020 +0100
@@ -7,7 +7,7 @@
 # modify it under the terms of the GNU General Public License as
 # published by the Free Software Foundation, either version 3 of the
 # License, or (at your option) any later version.
-#
+# 
 # This program is distributed in the hope that it will be useful, but
 # WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
--- a/Applications/Resources/Orthanc/Sdk-1.0.0/orthanc/OrthancCPlugin.h	Tue Nov 10 16:25:20 2020 +0100
+++ b/Applications/Resources/Orthanc/Sdk-1.0.0/orthanc/OrthancCPlugin.h	Tue Nov 10 16:26:47 2020 +0100
@@ -5,7 +5,7 @@
  * can be loaded into Orthanc to extend its functionality. Each
  * Orthanc plugin must expose 4 public functions with the following
  * signatures:
- *
+ * 
  * -# <tt>int32_t OrthancPluginInitialize(const OrthancPluginContext* context)</tt>:
  *    This function is invoked by Orthanc when it loads the plugin on startup.
  *    The plugin must:
@@ -31,7 +31,7 @@
  * The name and the version of a plugin is only used to prevent it
  * from being loaded twice. Note that, in C++, it is mandatory to
  * declare these functions within an <tt>extern "C"</tt> section.
- *
+ * 
  * To ensure multi-threading safety, the various REST callbacks are
  * guaranteed to be executed in mutual exclusion since Orthanc
  * 0.8.5. If this feature is undesired (notably when developing
@@ -88,7 +88,7 @@
  * you do not wish to do so, delete this exception statement from your
  * version. If you delete this exception statement from all source files
  * in the program, then also delete it here.
- *
+ * 
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU