Mercurial > hg > orthanc
diff OrthancServer/Sources/Database/IDatabaseWrapper.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 | f75c63aa9de0 |
children | f7d5372b59b3 |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/IDatabaseWrapper.h Fri Apr 16 10:48:57 2021 +0200 +++ b/OrthancServer/Sources/Database/IDatabaseWrapper.h Fri Apr 16 17:13:03 2021 +0200 @@ -36,8 +36,6 @@ #include "../../../OrthancFramework/Sources/DicomFormat/DicomMap.h" #include "../../../OrthancFramework/Sources/FileStorage/FileInfo.h" #include "../../../OrthancFramework/Sources/FileStorage/IStorageArea.h" -#include "../../../OrthancFramework/Sources/SQLite/ITransaction.h" - #include "../ExportedResource.h" #include "../ServerIndexChange.h" #include "IDatabaseListener.h" @@ -166,6 +164,7 @@ bool shared) = 0; virtual bool LookupMetadata(std::string& target, + int64_t& revision, int64_t id, MetadataType type) = 0; @@ -189,7 +188,8 @@ virtual void SetMetadata(int64_t id, MetadataType type, - const std::string& value) = 0; + const std::string& value, + int64_t revision) = 0; virtual void SetProtectedPatient(int64_t internalId, bool isProtected) = 0;