Mercurial > hg > orthanc-databases
diff Framework/Plugins/IndexBackend.h @ 396:7b3acfa95bd8 db-protobuf
implementation of list/add/remove labels in postgresql
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Apr 2023 19:00:29 +0200 |
parents | d14e6ff04a5c |
children | a8774581adfc |
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.h Wed Apr 05 14:53:57 2023 +0200 +++ b/Framework/Plugins/IndexBackend.h Thu Apr 06 19:00:29 2023 +0200 @@ -381,13 +381,16 @@ int32_t property, int value); - virtual void AddLabel(int64_t resource, + virtual void AddLabel(DatabaseManager& manager, + int64_t resource, const std::string& label) ORTHANC_OVERRIDE; - virtual void RemoveLabel(int64_t resource, + virtual void RemoveLabel(DatabaseManager& manager, + int64_t resource, const std::string& label) ORTHANC_OVERRIDE; - virtual void ListLabels(std::set<std::string>& target, + virtual void ListLabels(std::list<std::string>& target, + DatabaseManager& manager, int64_t resource) ORTHANC_OVERRIDE; /**