diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-10-30 23:28:55 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-10-30 23:28:55 -0700 |
| commit | 1eff707e1c23f9922c038fb9fab6264b1b8b791e (patch) | |
| tree | 14582ad8491dbfb55a7e0c5a340682ceb63de8df /include/file_uploader.hpp | |
| parent | 71f1c1bb296a506374944b9997c41b9c1fce22d9 (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.hpp | 2 |
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; }; |
