aboutsummaryrefslogtreecommitdiffstats
path: root/include/file_uploader.hpp
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-10-30 23:28:55 -0700
committerPinapelz <yukais@pinapelz.com>2025-10-30 23:28:55 -0700
commit1eff707e1c23f9922c038fb9fab6264b1b8b791e (patch)
tree14582ad8491dbfb55a7e0c5a340682ceb63de8df /include/file_uploader.hpp
parent71f1c1bb296a506374944b9997c41b9c1fce22d9 (diff)
change uploadFile func to return string
represents link where the file should be accessible
Diffstat (limited to 'include/file_uploader.hpp')
-rw-r--r--include/file_uploader.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/file_uploader.hpp b/include/file_uploader.hpp
index 6e46a8a..e8b0540 100644
--- a/include/file_uploader.hpp
+++ b/include/file_uploader.hpp
@@ -7,7 +7,7 @@
class FileUploader {
public:
virtual ~FileUploader() = default;
- virtual bool uploadFile(const std::string& filepath, const std::string& remotePath) = 0;
+ virtual std::string uploadFile(const std::string& filepath, const std::string& remotePath) = 0; // expects public url
virtual bool testConnection() = 0;
};
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage