Mercurial > hg > orthanc
diff OrthancServer/DatabaseWrapper.h @ 237:16a4ac70bd8a
last change and export
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 30 Nov 2012 15:45:15 +0100 |
parents | c11273198cef |
children | e4148b0ab1d0 |
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h Fri Nov 30 15:09:16 2012 +0100 +++ b/OrthancServer/DatabaseWrapper.h Fri Nov 30 15:45:15 2012 +0100 @@ -62,6 +62,16 @@ void Open(); + void GetChangesInternal(Json::Value& target, + SQLite::Statement& s, + int64_t since, + unsigned int maxResults); + + void GetExportedResources(Json::Value& target, + SQLite::Statement& s, + int64_t since, + unsigned int maxResults); + public: void SetGlobalProperty(GlobalProperty property, const std::string& value); @@ -139,6 +149,8 @@ int64_t since, unsigned int maxResults); + void GetLastChange(Json::Value& target); + void LogExportedResource(ResourceType resourceType, const std::string& publicId, const std::string& remoteModality, @@ -153,6 +165,8 @@ int64_t since, unsigned int maxResults); + void GetLastExportedResource(Json::Value& target); + int64_t GetTableRecordCount(const std::string& table); uint64_t GetTotalCompressedSize();