blob: 03e54fee2fc183423278898ea55f4ed4c6e7ee02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef RCLONE_UPLOADER_H
#define RCLONE_UPLOADER_H
#include "file_uploader.hpp"
#include <string>
class RcloneUploader : public FileUploader {
public:
~RcloneUploader();
RcloneUploader(const std::string& cdnEndpoint, const std::string& sourceName);
bool uploadFile(const std::string& filepath, const std::string& remotePath) override;
bool testConnection() override;
private:
std::string cdnEndpoint;
std::string sourceName;
};
#endif // RCLONE_UPLOADER_H
|