Mercurial > hg > orthanc
diff Core/FileStorage/StorageAccessor.h @ 233:c11273198cef
rename
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 30 Nov 2012 14:30:05 +0100 |
parents | 5368bbe813cf |
children | bdd72233b105 |
line wrap: on
line diff
--- a/Core/FileStorage/StorageAccessor.h Fri Nov 30 14:22:27 2012 +0100 +++ b/Core/FileStorage/StorageAccessor.h Fri Nov 30 14:30:05 2012 +0100 @@ -47,7 +47,7 @@ protected: virtual FileInfo WriteInternal(const void* data, size_t size, - FileType type) = 0; + FileContentType type) = 0; public: virtual ~StorageAccessor() @@ -56,16 +56,16 @@ FileInfo Write(const void* data, size_t size, - FileType type) + FileContentType type) { return WriteInternal(data, size, type); } FileInfo Write(const std::vector<uint8_t>& content, - FileType type); + FileContentType type); FileInfo Write(const std::string& content, - FileType type); + FileContentType type); virtual void Read(std::string& content, const std::string& uuid) = 0;