Mercurial > hg > orthanc
diff OrthancServer/ServerContext.h @ 1126:bf67431a7383
handling of file content type in IStorageArea
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Sep 2014 17:01:42 +0200 |
parents | 790ff7a5b3bf |
children | 8dabdc0d3007 |
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h Fri Sep 05 16:28:47 2014 +0200 +++ b/OrthancServer/ServerContext.h Fri Sep 05 17:01:42 2014 +0200 @@ -77,7 +77,6 @@ const Json::Value& simplifiedDicom, const Json::Value& metadata); - IStorageArea& storage_; ServerIndex index_; CompressedFileStorageAccessor accessor_; bool compressionEnabled_; @@ -149,7 +148,8 @@ return compressionEnabled_; } - void RemoveFile(const std::string& fileUuid); + void RemoveFile(const std::string& fileUuid, + FileContentType type); bool AddAttachment(const std::string& resourceId, FileContentType attachmentType,