aboutsummaryrefslogtreecommitdiff
path: root/include/curl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/curl.hpp')
-rw-r--r--include/curl.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/curl.hpp b/include/curl.hpp
new file mode 100644
index 0000000..49dfe12
--- /dev/null
+++ b/include/curl.hpp
@@ -0,0 +1,15 @@
+#ifndef SIBS_CURL_HPP
+#define SIBS_CURL_HPP
+
+#include "Result.hpp"
+
+namespace sibs
+{
+ class curl
+ {
+ public:
+ static Result<bool> downloadFile(const char *url, const char *filepath);
+ };
+}
+
+#endif //SIBS_CURL_HPP