diff OrthancServer/ServerContext.cpp @ 1145:0479d02c6778

Plugins can retrieve the path to Orthanc and to its configuration file
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Sep 2014 13:06:16 +0200
parents ba9fd42284d0
children 200fcac0deb4
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp	Thu Sep 11 10:26:32 2014 +0200
+++ b/OrthancServer/ServerContext.cpp	Thu Sep 11 13:06:16 2014 +0200
@@ -512,4 +512,12 @@
       return true;
     }
   }
+
+
+  bool ServerContext::DeleteResource(Json::Value& target,
+                                     const std::string& uuid,
+                                     ResourceType expectedType)
+  {
+    return index_.DeleteResource(target, uuid, expectedType);
+  }
 }