diff OrthancServer/Sources/Database/IDatabaseWrapper.h @ 5248:a7d95f951f8a db-protobuf

replaced "WithLabels" and "WithoutLabels", by "Labels" and "LabelsConstraint"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Apr 2023 22:18:37 +0200
parents d0f7c742d397
children f22c8fac764b
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/IDatabaseWrapper.h	Fri Apr 07 15:44:12 2023 +0200
+++ b/OrthancServer/Sources/Database/IDatabaseWrapper.h	Fri Apr 07 22:18:37 2023 +0200
@@ -26,6 +26,7 @@
 #include "../../../OrthancFramework/Sources/FileStorage/FileInfo.h"
 #include "../../../OrthancFramework/Sources/FileStorage/IStorageArea.h"
 #include "../ExportedResource.h"
+#include "../Search/ISqlLookupFormatter.h"
 #include "../ServerIndexChange.h"
 #include "IDatabaseListener.h"
 
@@ -200,8 +201,8 @@
                                         std::list<std::string>* instancesId, // Can be NULL if not needed
                                         const std::vector<DatabaseConstraint>& lookup,
                                         ResourceType queryLevel,
-                                        const std::set<std::string>& withLabels,
-                                        const std::set<std::string>& withoutLabels,
+                                        const std::set<std::string>& labels,
+                                        LabelsConstraint labelsConstraint,
                                         uint32_t limit) = 0;
 
       // Returns "true" iff. the instance is new and has been inserted