diff Sources/Plugin.cpp @ 68:054e36474998 OrthancSTL-1.2

OrthancSTL-1.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 16 Jun 2024 21:12:22 +0200
parents 5e11f5880e6d
children a5c1be2ec26a
line wrap: on
line diff
--- a/Sources/Plugin.cpp	Sat Jun 15 17:24:45 2024 +0200
+++ b/Sources/Plugin.cpp	Sun Jun 16 21:12:22 2024 +0200
@@ -75,6 +75,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 ORTHANC_STL_CREATOR_VERSION_UID_1_2 = "1.2.826.0.1.3680043.8.498.69380801008493335183088431949117714013";
 
 static const char* const GetCreatorVersionUid(const std::string& version)
 {
@@ -86,6 +87,10 @@
   {
     return ORTHANC_STL_CREATOR_VERSION_UID_1_1;
   }
+  else if (version == "1.2")
+  {
+    return ORTHANC_STL_CREATOR_VERSION_UID_1_2;
+  }
   else
   {
     throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);
@@ -96,6 +101,7 @@
 {
   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;
+  dictionary["ORTHANC_STL_CREATOR_VERSION_UID_1_2"] = ORTHANC_STL_CREATOR_VERSION_UID_1_2;
 }
 
 #endif