Mercurial > hg > orthanc
diff OrthancServer/DatabaseWrapper.h @ 189:ccbc2cf64a0d
record main dicom tags and changes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 12 Nov 2012 18:03:48 +0100 |
parents | 090cefdab1d1 |
children | b6cef9d45cc3 |
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h Mon Nov 12 17:43:12 2012 +0100 +++ b/OrthancServer/DatabaseWrapper.h Mon Nov 12 18:03:48 2012 +0100 @@ -130,13 +130,13 @@ int64_t id); void LogChange(ChangeType changeType, - const std::string& publicId, + int64_t internalId, ResourceType resourceType, - const boost::posix_time::ptime& date); + const boost::posix_time::ptime& date = boost::posix_time::second_clock::local_time()); void LogExportedInstance(const std::string& remoteModality, DicomInstanceHasher& hasher, - const boost::posix_time::ptime& date); + const boost::posix_time::ptime& date = boost::posix_time::second_clock::local_time()); int64_t GetTableRecordCount(const std::string& table);