changeset 56:2059b5216851

log the version of the orthanc SDK
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 10 Aug 2025 11:15:57 +0200
parents 064f60ba180e
children c969b004d8c0
files Plugin/Plugin.cpp
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/Plugin.cpp	Sat Aug 09 10:12:46 2025 +0200
+++ b/Plugin/Plugin.cpp	Sun Aug 10 11:15:57 2025 +0200
@@ -456,6 +456,15 @@
 
     SetPluginDescription("Java plugin for Orthanc");
 
+    {
+      char info[1024];
+      sprintf(info, "Version of the Orthanc SDK in use by the Java plugin: %d.%d.%d",
+              ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER,
+              ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER,
+              ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER);
+      OrthancPluginLogWarning(context, info);
+    }
+
     try
     {
       {