diff Framework/Plugins/IndexBackend.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 90eb271f85b2
children c8e06b41feec
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.h	Mon Mar 29 16:39:20 2021 +0200
+++ b/Framework/Plugins/IndexBackend.h	Tue Mar 30 10:40:34 2021 +0200
@@ -193,6 +193,7 @@
                                   int32_t contentType) ORTHANC_OVERRIDE;
     
     virtual bool LookupGlobalProperty(std::string& target /*out*/,
+                                      const char* serverIdentifier,
                                       int32_t property) ORTHANC_OVERRIDE;
     
     virtual void LookupIdentifier(std::list<int64_t>& target /*out*/,
@@ -225,7 +226,8 @@
     virtual bool SelectPatientToRecycle(int64_t& internalId /*out*/,
                                         int64_t patientIdToAvoid) ORTHANC_OVERRIDE;
     
-    virtual void SetGlobalProperty(int32_t property,
+    virtual void SetGlobalProperty(const char* serverIdentifier,
+                                   int32_t property,
                                    const char* value) ORTHANC_OVERRIDE;
 
     virtual void SetMainDicomTag(int64_t id,