aboutsummaryrefslogtreecommitdiffstats
path: root/include/file_uploader.hpp
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-10-30 23:27:18 -0700
committerPinapelz <yukais@pinapelz.com>2025-10-30 23:27:18 -0700
commit71f1c1bb296a506374944b9997c41b9c1fce22d9 (patch)
tree86d4d4862ca9b70fd5137ab82f70449e4f4d21bb /include/file_uploader.hpp
parent022de93b3b270e0f8294d7c0912ebb3d2c05b9e7 (diff)
add rclone file uploader
Diffstat (limited to 'include/file_uploader.hpp')
-rw-r--r--include/file_uploader.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/file_uploader.hpp b/include/file_uploader.hpp
new file mode 100644
index 0000000..6e46a8a
--- /dev/null
+++ b/include/file_uploader.hpp
@@ -0,0 +1,14 @@
+#pragma once
+#ifndef FILE_UPLOADER_H
+#define FILE_UPLOADER_H
+
+#include <string>
+
+class FileUploader {
+public:
+ virtual ~FileUploader() = default;
+ virtual bool uploadFile(const std::string& filepath, const std::string& remotePath) = 0;
+ virtual bool testConnection() = 0;
+};
+
+#endif // FILE_UPLOADER_H
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage