diff Sources/Plugin.cpp @ 60:c322c949bd8e OrthancSTL-1.1

OrthancSTL-1.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 May 2024 15:33:32 +0200
parents 41e3b79e7f4b
children b798387b085c
line wrap: on
line diff
--- a/Sources/Plugin.cpp	Tue May 21 16:02:49 2024 +0200
+++ b/Sources/Plugin.cpp	Wed May 22 15:33:32 2024 +0200
@@ -70,6 +70,7 @@
  *
  **/
 static const char* const ORTHANC_STL_CREATOR_VERSION_UID_MAINLINE = "1.2.826.0.1.3680043.8.498.90514926286349109728701975613711986292";
+static const char* const ORTHANC_STL_CREATOR_VERSION_UID_1_1 = "1.2.826.0.1.3680043.8.498.13468660186379895313063577332103681503";
 
 static const char* const GetCreatorVersionUid(const std::string& version)
 {
@@ -77,6 +78,10 @@
   {
     return ORTHANC_STL_CREATOR_VERSION_UID_MAINLINE;
   }
+  else if (version == "1.1")
+  {
+    return ORTHANC_STL_CREATOR_VERSION_UID_1_1;
+  }
   else
   {
     throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);
@@ -86,6 +91,7 @@
 static void FillOrthancExplorerCreatorVersionUid(std::map<std::string, std::string>& dictionary)
 {
   dictionary["ORTHANC_STL_CREATOR_VERSION_UID_MAINLINE"] = ORTHANC_STL_CREATOR_VERSION_UID_MAINLINE;
+  dictionary["ORTHANC_STL_CREATOR_VERSION_UID_1_1"] = ORTHANC_STL_CREATOR_VERSION_UID_1_1;
 }
 
 #endif