Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerContext.h @ 4498:7b99e8bb8246
IStorageArea::HasReadRange()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Feb 2021 11:37:13 +0100 |
parents | 68f52897c119 |
children | 98b7b9d21d83 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h Mon Feb 08 18:39:22 2021 +0100 +++ b/OrthancServer/Sources/ServerContext.h Tue Feb 09 11:37:13 2021 +0100 @@ -71,6 +71,8 @@ public IDicomTranscoder, private JobsRegistry::IObserver { + friend class ServerIndex; // To access "RemoveFile()" + public: class ILookupVisitor : public boost::noncopyable { @@ -244,6 +246,10 @@ void PublishDicomCacheMetrics(); + // This method must only be called from "ServerIndex"! + void RemoveFile(const std::string& fileUuid, + FileContentType type); + // This DicomModification object is intended to be used as a // "rules engine" when de-identifying logs for C-Find, C-Get, and // C-Move queries (new in Orthanc 1.8.2) @@ -292,9 +298,6 @@ return compressionEnabled_; } - void RemoveFile(const std::string& fileUuid, - FileContentType type); - bool AddAttachment(const std::string& resourceId, FileContentType attachmentType, const void* data,