comparison OrthancServer/DatabaseWrapper.h @ 204:7f4acf490179

changes api
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Nov 2012 11:27:57 +0100
parents 1650557bd81a
children 4453a010d0db
comparison
equal deleted inserted replaced
203:9283552c25df 204:7f4acf490179
157 void LogChange(ChangeType changeType, 157 void LogChange(ChangeType changeType,
158 int64_t internalId, 158 int64_t internalId,
159 ResourceType resourceType, 159 ResourceType resourceType,
160 const boost::posix_time::ptime& date = boost::posix_time::second_clock::local_time()); 160 const boost::posix_time::ptime& date = boost::posix_time::second_clock::local_time());
161 161
162 void GetChanges(Json::Value& target,
163 int64_t since,
164 unsigned int maxResults);
165
162 void LogExportedInstance(const std::string& remoteModality, 166 void LogExportedInstance(const std::string& remoteModality,
163 DicomInstanceHasher& hasher, 167 DicomInstanceHasher& hasher,
164 const boost::posix_time::ptime& date = boost::posix_time::second_clock::local_time()); 168 const boost::posix_time::ptime& date = boost::posix_time::second_clock::local_time());
165 169
166 int64_t GetTableRecordCount(const std::string& table); 170 int64_t GetTableRecordCount(const std::string& table);