aboutsummaryrefslogtreecommitdiffstats
path: root/include/file_uploader.hpp
diff options
context:
space:
mode:
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