diff options
author | dec05eba <dec05eba@protonmail.com> | 2017-12-30 05:33:25 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2017-12-30 05:33:25 +0100 |
commit | 7c215c39d530f01235043a131d64d4c7f766e9ab (patch) | |
tree | d72effe043a46566e34276525081637cad1bb7a0 /include/curl.hpp | |
parent | abab2184ade33097f3441f8cdd95dd27c5653930 (diff) | |
parent | 98ad7dd049a366e21d60a34548736a3c8ef72877 (diff) |
Merge release_0.1.0 to master
Add support for windows
Diffstat (limited to 'include/curl.hpp')
-rw-r--r-- | include/curl.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl.hpp b/include/curl.hpp index 7c0ddbe..16b3e52 100644 --- a/include/curl.hpp +++ b/include/curl.hpp @@ -2,6 +2,7 @@ #define SIBS_CURL_HPP #include "Result.hpp" +#include "FileUtil.hpp" #include <string> namespace sibs @@ -17,7 +18,7 @@ namespace sibs class curl { public: - static sibs::Result<bool> downloadFile(const char *url, const char *filepath); + static sibs::Result<bool> downloadFile(const char *url, const _tinydir_char_t *filepath); static HttpResult get(const char *url); }; } |