changeset 218:240fac923e8d

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Jul 2024 17:29:07 +0200
parents f764ba66e409
children 3678a028f1f6
files Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h Resources/SyncOrthancFolder.py
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h	Wed Jul 03 17:00:18 2024 +0200
+++ b/Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h	Wed Jul 03 17:29:07 2024 +0200
@@ -3877,7 +3877,7 @@
     _OrthancPluginSendHttpStatus params;
     params.output = output;
     params.status = status;
-    params.body = reinterpret_cast<const char*>(body);
+    params.body = (const char*) body;
     params.bodySize = bodySize;
     context->InvokeService(context, _OrthancPluginService_SendHttpStatus, &params);
   }
--- a/Resources/SyncOrthancFolder.py	Wed Jul 03 17:00:18 2024 +0200
+++ b/Resources/SyncOrthancFolder.py	Wed Jul 03 17:29:07 2024 +0200
@@ -12,7 +12,7 @@
 import urllib.request
 
 TARGET = os.path.join(os.path.dirname(__file__), 'Orthanc')
-ORTHANC_JAVA_VERSION = '1.0'
+ORTHANC_JAVA_VERSION = 'default'
 PLUGIN_SDK_VERSION = '1.10.0'
 ORTHANC_CORE_REPOSITORY = 'https://orthanc.uclouvain.be/hg/orthanc/raw-file'
 ORTHANC_JAVA_REPOSITORY = 'https://orthanc.uclouvain.be/hg/orthanc-java/raw-file'
@@ -72,7 +72,7 @@
 
 commands.append([
     ORTHANC_JAVA_REPOSITORY,
-    'OrthancJava-%s' % ORTHANC_JAVA_VERSION,
+    ORTHANC_JAVA_VERSION,
     'Resources/Orthanc/Sdk-%s/orthanc/OrthancCPlugin.h' % PLUGIN_SDK_VERSION,
     'Sdk-%s/orthanc/OrthancCPlugin.h' % PLUGIN_SDK_VERSION,
 ])
@@ -86,7 +86,7 @@
         ]:
     commands.append([
         ORTHANC_JAVA_REPOSITORY,
-        'OrthancJava-%s' % ORTHANC_JAVA_VERSION,
+        ORTHANC_JAVA_VERSION,
         'CodeGeneration/%s' % f,
         'Sdk-%s/%s' % (PLUGIN_SDK_VERSION, f),
     ])