comparison 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
comparison
equal deleted inserted replaced
220:492aa3edf572 221:73cc85f3d9c1
139 virtual bool LookupAttachment(IDatabaseBackendOutput& output, 139 virtual bool LookupAttachment(IDatabaseBackendOutput& output,
140 int64_t id, 140 int64_t id,
141 int32_t contentType) = 0; 141 int32_t contentType) = 0;
142 142
143 virtual bool LookupGlobalProperty(std::string& target /*out*/, 143 virtual bool LookupGlobalProperty(std::string& target /*out*/,
144 const char* serverIdentifier,
144 int32_t property) = 0; 145 int32_t property) = 0;
145 146
146 virtual void LookupIdentifier(std::list<int64_t>& target /*out*/, 147 virtual void LookupIdentifier(std::list<int64_t>& target /*out*/,
147 OrthancPluginResourceType resourceType, 148 OrthancPluginResourceType resourceType,
148 uint16_t group, 149 uint16_t group,
171 virtual bool SelectPatientToRecycle(int64_t& internalId /*out*/) = 0; 172 virtual bool SelectPatientToRecycle(int64_t& internalId /*out*/) = 0;
172 173
173 virtual bool SelectPatientToRecycle(int64_t& internalId /*out*/, 174 virtual bool SelectPatientToRecycle(int64_t& internalId /*out*/,
174 int64_t patientIdToAvoid) = 0; 175 int64_t patientIdToAvoid) = 0;
175 176
176 virtual void SetGlobalProperty(int32_t property, 177 virtual void SetGlobalProperty(const char* serverIdentifier,
178 int32_t property,
177 const char* value) = 0; 179 const char* value) = 0;
178 180
179 virtual void SetMainDicomTag(int64_t id, 181 virtual void SetMainDicomTag(int64_t id,
180 uint16_t group, 182 uint16_t group,
181 uint16_t element, 183 uint16_t element,