diff 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
line wrap: on
line diff
--- a/Core/FileStorage/StorageAccessor.h	Fri Sep 05 16:28:47 2014 +0200
+++ b/Core/FileStorage/StorageAccessor.h	Fri Sep 05 17:01:42 2014 +0200
@@ -85,8 +85,13 @@
                    FileContentType type);
 
     virtual void Read(std::string& content,
-                      const std::string& uuid) = 0;
+                      const std::string& uuid,
+                      FileContentType type) = 0;
 
-    virtual HttpFileSender* ConstructHttpFileSender(const std::string& uuid) = 0;
+    virtual void Remove(const std::string& uuid,
+                        FileContentType type) = 0;
+
+    virtual HttpFileSender* ConstructHttpFileSender(const std::string& uuid,
+                                                    FileContentType type) = 0;
   };
 }