Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.cpp @ 273:d384af918264
more detailed signal about deleted file
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 08 Dec 2012 22:34:56 +0100 |
parents | 337c506461d2 |
children | 771f12042be9 |
comparison
equal
deleted
inserted
replaced
272:337c506461d2 | 273:d384af918264 |
---|---|
106 remainingType_ = parentType; | 106 remainingType_ = parentType; |
107 remainingPublicId_ = publicId; | 107 remainingPublicId_ = publicId; |
108 } | 108 } |
109 } | 109 } |
110 | 110 |
111 virtual void SignalFileDeleted(const std::string& fileUuid) | 111 virtual void SignalFileDeleted(const FileInfo& info) |
112 { | 112 { |
113 assert(Toolbox::IsUuid(fileUuid)); | 113 assert(Toolbox::IsUuid(info.GetUuid())); |
114 pendingFilesToRemove_.push_back(fileUuid); | 114 pendingFilesToRemove_.push_back(info.GetUuid()); |
115 } | 115 } |
116 | 116 |
117 bool HasRemainingLevel() const | 117 bool HasRemainingLevel() const |
118 { | 118 { |
119 return hasRemainingLevel_; | 119 return hasRemainingLevel_; |