comparison 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
comparison
equal deleted inserted replaced
3074:495c5edce708 3075:ead8576a02ef
210 virtual void Upgrade(unsigned int targetVersion, 210 virtual void Upgrade(unsigned int targetVersion,
211 IStorageArea& storageArea) = 0; 211 IStorageArea& storageArea) = 0;
212 212
213 virtual bool IsDiskSizeAbove(uint64_t threshold) = 0; 213 virtual bool IsDiskSizeAbove(uint64_t threshold) = 0;
214 214
215 virtual void ApplyLookupResources(std::vector<std::string>& resourcesId, 215 virtual void ApplyLookupResources(std::list<std::string>& resourcesId,
216 std::vector<std::string>* instancesId, // Can be NULL if not needed 216 std::list<std::string>* instancesId, // Can be NULL if not needed
217 const std::vector<DatabaseConstraint>& lookup, 217 const std::vector<DatabaseConstraint>& lookup,
218 ResourceType queryLevel, 218 ResourceType queryLevel,
219 size_t limit) = 0; 219 size_t limit) = 0;
220 }; 220 };
221 } 221 }