Mercurial > hg > orthanc
comparison Core/FileStorage/StorageAccessor.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 | 01d8611c4a60 |
children | 6e7e5ed91c2d |
comparison
equal
deleted
inserted
replaced
1125:20ddab7e9ae8 | 1126:bf67431a7383 |
---|---|
83 | 83 |
84 FileInfo Write(const std::string& content, | 84 FileInfo Write(const std::string& content, |
85 FileContentType type); | 85 FileContentType type); |
86 | 86 |
87 virtual void Read(std::string& content, | 87 virtual void Read(std::string& content, |
88 const std::string& uuid) = 0; | 88 const std::string& uuid, |
89 FileContentType type) = 0; | |
89 | 90 |
90 virtual HttpFileSender* ConstructHttpFileSender(const std::string& uuid) = 0; | 91 virtual void Remove(const std::string& uuid, |
92 FileContentType type) = 0; | |
93 | |
94 virtual HttpFileSender* ConstructHttpFileSender(const std::string& uuid, | |
95 FileContentType type) = 0; | |
91 }; | 96 }; |
92 } | 97 } |