Mercurial > hg > orthanc
diff Core/FileStorage/FilesystemStorage.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 | 67c3c1e4a6e0 |
line wrap: on
line diff
--- a/Core/FileStorage/FilesystemStorage.h Fri Sep 05 16:28:47 2014 +0200 +++ b/Core/FileStorage/FilesystemStorage.h Fri Sep 05 17:01:42 2014 +0200 @@ -53,12 +53,16 @@ public: FilesystemStorage(std::string root); - virtual std::string Create(const void* content, size_t size); + virtual std::string Create(const void* content, + size_t size, + FileContentType type); virtual void Read(std::string& content, - const std::string& uuid) const; + const std::string& uuid, + FileContentType type) const; - virtual void Remove(const std::string& uuid); + virtual void Remove(const std::string& uuid, + FileContentType type); void ListAllFiles(std::set<std::string>& result) const;