diff OrthancServer/Sources/Database/Compatibility/ISetResourcesContent.h @ 4623:95ffe3b6ef7c db-changes

handling of revisions for metadata
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Apr 2021 17:13:03 +0200
parents d9473bd5ed43
children f0038043fb97 7053502fbf97
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/Compatibility/ISetResourcesContent.h	Fri Apr 16 10:48:57 2021 +0200
+++ b/OrthancServer/Sources/Database/Compatibility/ISetResourcesContent.h	Fri Apr 16 17:13:03 2021 +0200
@@ -56,7 +56,8 @@
 
       virtual void SetMetadata(int64_t id,
                                MetadataType type,
-                               const std::string& value) = 0;
+                               const std::string& value,
+                               int64_t revision) = 0;
 
       static void Apply(ISetResourcesContent& that,
                         const ResourcesContent& content)