comparison OrthancServer/DatabaseWrapper.h @ 1177:5b2d8c280ac2 db-changes

Plugins can monitor changes through callbacks
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Sep 2014 17:37:44 +0200
parents 1ea4094d077c
children 1169528a9a5f
comparison
equal deleted inserted replaced
1176:f24e04838054 1177:5b2d8c280ac2
155 int64_t id); 155 int64_t id);
156 156
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 std::string& publicId);
161 161
162 void GetChanges(Json::Value& target, 162 void GetChanges(Json::Value& target,
163 int64_t since, 163 int64_t since,
164 unsigned int maxResults); 164 unsigned int maxResults);
165 165