Mercurial > hg > orthanc
diff Core/HttpServer/FilesystemHttpSender.h @ 217:1ac3aacd10a5
simplifications
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Nov 2012 12:22:23 +0100 |
parents | de640de989b8 |
children | 7c1faef915a4 |
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpSender.h Thu Nov 29 11:57:35 2012 +0100 +++ b/Core/HttpServer/FilesystemHttpSender.h Thu Nov 29 12:22:23 2012 +0100 @@ -39,7 +39,7 @@ class FilesystemHttpSender : public HttpFileSender { private: - std::string path_; + boost::filesystem::path path_; void Setup(); @@ -51,6 +51,8 @@ public: FilesystemHttpSender(const char* path); + FilesystemHttpSender(const boost::filesystem::path& path); + FilesystemHttpSender(const FileStorage& storage, const std::string& uuid); };