comparison Core/FileStorage/FileStorageAccessor.h @ 1122:1d60316c3618

simplifications in FileStorage
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Sep 2014 15:48:43 +0200
parents 2d0a347e8cfc
children 6c5a77637b23
comparison
equal deleted inserted replaced
1121:82567bac5e25 1122:1d60316c3618
54 } 54 }
55 55
56 virtual void Read(std::string& content, 56 virtual void Read(std::string& content,
57 const std::string& uuid) 57 const std::string& uuid)
58 { 58 {
59 storage_.ReadFile(content, uuid); 59 storage_.Read(content, uuid);
60 } 60 }
61 61
62 virtual HttpFileSender* ConstructHttpFileSender(const std::string& uuid) 62 virtual HttpFileSender* ConstructHttpFileSender(const std::string& uuid)
63 { 63 {
64 return new FilesystemHttpSender(storage_.GetPath(uuid)); 64 return new FilesystemHttpSender(storage_.GetPath(uuid));