diff OrthancServer/IDatabaseWrapper.h @ 3075:ead8576a02ef db-changes

IDatabaseWrapper::ApplyLookupResources now returns lists
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 02 Jan 2019 18:39:25 +0100
parents ce272138f15e
children 1a75595d8e44
line wrap: on
line diff
--- a/OrthancServer/IDatabaseWrapper.h	Wed Jan 02 15:50:44 2019 +0100
+++ b/OrthancServer/IDatabaseWrapper.h	Wed Jan 02 18:39:25 2019 +0100
@@ -212,8 +212,8 @@
 
     virtual bool IsDiskSizeAbove(uint64_t threshold) = 0;
 
-    virtual void ApplyLookupResources(std::vector<std::string>& resourcesId,
-                                      std::vector<std::string>* instancesId,   // Can be NULL if not needed
+    virtual void ApplyLookupResources(std::list<std::string>& resourcesId,
+                                      std::list<std::string>* instancesId, // Can be NULL if not needed
                                       const std::vector<DatabaseConstraint>& lookup,
                                       ResourceType queryLevel,
                                       size_t limit) = 0;