Mercurial > hg > orthanc-databases
diff Framework/Plugins/IDatabaseBackend.h @ 221:73cc85f3d9c1
implementation of the "serverIdentifier" information for global properties
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Mar 2021 10:40:34 +0200 |
parents | 13a3863df7fa |
children | 61c309e06797 |
line wrap: on
line diff
--- a/Framework/Plugins/IDatabaseBackend.h Mon Mar 29 16:39:20 2021 +0200 +++ b/Framework/Plugins/IDatabaseBackend.h Tue Mar 30 10:40:34 2021 +0200 @@ -141,6 +141,7 @@ int32_t contentType) = 0; virtual bool LookupGlobalProperty(std::string& target /*out*/, + const char* serverIdentifier, int32_t property) = 0; virtual void LookupIdentifier(std::list<int64_t>& target /*out*/, @@ -173,7 +174,8 @@ virtual bool SelectPatientToRecycle(int64_t& internalId /*out*/, int64_t patientIdToAvoid) = 0; - virtual void SetGlobalProperty(int32_t property, + virtual void SetGlobalProperty(const char* serverIdentifier, + int32_t property, const char* value) = 0; virtual void SetMainDicomTag(int64_t id,