diff OrthancServer/ServerContext.cpp @ 3660:f159b731c47d storage-commitment

IStorageCommitmentFactory
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Feb 2020 17:39:53 +0100
parents 94f4a18a79cc
children d8371b4302ff
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp	Mon Feb 10 16:56:28 2020 +0100
+++ b/OrthancServer/ServerContext.cpp	Mon Feb 10 17:39:53 2020 +0100
@@ -1052,4 +1052,22 @@
     }
 #endif
   }
+
+
+  IStorageCommitmentFactory::ILookupHandler*
+  ServerContext::CreateStorageCommitment(const std::string& jobId,
+                                         const std::string& transactionUid,
+                                         const std::vector<std::string>& sopClassUids,
+                                         const std::vector<std::string>& sopInstanceUids)
+  {
+#if ORTHANC_ENABLE_PLUGINS == 1
+    if (HasPlugins())
+    {
+      // TODO
+      return NULL;
+    }
+#endif
+
+    return NULL;
+  }
 }