Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.cpp @ 1297:501432928727
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 06 Feb 2015 14:35:56 +0100 |
parents | 910478b2d4e4 |
children | 4ce47e8ed0d2 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp Fri Feb 06 14:23:14 2015 +0100 +++ b/OrthancServer/ServerIndex.cpp Fri Feb 06 14:35:56 2015 +0100 @@ -441,6 +441,15 @@ } + void ServerIndex::LogChange(int64_t internalId, + ChangeType changeType, + ResourceType resourceType, + const std::string& publicId) + { + ServerIndexChange change(changeType, resourceType, publicId); + db_.LogChange(internalId, change); + } + uint64_t ServerIndex::IncrementGlobalSequenceInternal(GlobalProperty property) {