diff OrthancServer/ServerIndex.h @ 2188:7cfc2e0383b3

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Nov 2016 15:39:46 +0100
parents b1291df2f780
children e3fd5bc429a2
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Tue Nov 29 12:28:09 2016 +0100
+++ b/OrthancServer/ServerIndex.h	Tue Nov 29 15:39:46 2016 +0100
@@ -115,6 +115,11 @@
     int64_t CreateResource(const std::string& publicId,
                            ResourceType type);
 
+    void SetInstanceMetadata(std::map<MetadataType, std::string>& instanceMetadata,
+                             int64_t instance,
+                             MetadataType metadata,
+                             const std::string& value);
+
   public:
     ServerIndex(ServerContext& context,
                 IDatabaseWrapper& database);