Mercurial > hg > orthanc
diff OrthancServer/DatabaseWrapper.h @ 1246:54bf0f0245f4
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 08 Dec 2014 12:56:30 +0100 |
parents | a0e420c5f2b8 |
children | 32fcc5dc7562 |
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h Mon Dec 08 12:42:50 2014 +0100 +++ b/OrthancServer/DatabaseWrapper.h Mon Dec 08 12:56:30 2014 +0100 @@ -142,28 +142,21 @@ void LogChange(int64_t internalId, const ServerIndexChange& change); - void GetChanges(std::list<ServerIndexChange>& target /* out */, - bool& done /* out */, + void GetChanges(std::list<ServerIndexChange>& target /*out*/, + bool& done /*out*/, int64_t since, unsigned int maxResults); - void GetLastChange(std::list<ServerIndexChange>& target /* out */); + void GetLastChange(std::list<ServerIndexChange>& target /*out*/); - void LogExportedResource(ResourceType resourceType, - const std::string& publicId, - const std::string& remoteModality, - const std::string& patientId, - const std::string& studyInstanceUid, - const std::string& seriesInstanceUid, - const std::string& sopInstanceUid, - const boost::posix_time::ptime& date); + void LogExportedResource(const ExportedResource& resource); - void GetExportedResources(std::list<ExportedResource>& target /* out */, - bool& done /* out */, + void GetExportedResources(std::list<ExportedResource>& target /*out*/, + bool& done /*out*/, int64_t since, unsigned int maxResults); - void GetLastExportedResource(std::list<ExportedResource>& target /* out */); + void GetLastExportedResource(std::list<ExportedResource>& target /*out*/); uint64_t GetTotalCompressedSize();