comparison Core/FileStorage/IStorageArea.h @ 1135:67c3c1e4a6e0

index-only mode, and custom storage area with plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Sep 2014 15:55:43 +0200
parents bf67431a7383
children 2ffe07abd9d8
comparison
equal deleted inserted replaced
1134:ba9fd42284d0 1135:67c3c1e4a6e0
43 public: 43 public:
44 virtual ~IStorageArea() 44 virtual ~IStorageArea()
45 { 45 {
46 } 46 }
47 47
48 virtual std::string Create(const void* content, 48 virtual void Create(const std::string& uuid,
49 size_t size, 49 const void* content,
50 FileContentType type) = 0; 50 size_t size,
51 FileContentType type) = 0;
51 52
52 virtual void Read(std::string& content, 53 virtual void Read(std::string& content,
53 const std::string& uuid, 54 const std::string& uuid,
54 FileContentType type) const = 0; 55 FileContentType type) const = 0;
55 56