diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-04-28 22:46:12 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-04-28 22:46:12 +0200 |
| commit | f4e1b8558e1c3b7356a7d49bfab3a686601b00f4 (patch) | |
| tree | f2c7ceb1fdf6f8f3dd18143d812e2a32ab2e9102 /src/lib/uploader.h | |
| parent | fb1c15c5403abbf4ec967874daa518c71aa5477c (diff) | |
Whitespace: {curl_,scp_,}uploader.{cc,h}
Diffstat (limited to 'src/lib/uploader.h')
| -rw-r--r-- | src/lib/uploader.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/uploader.h b/src/lib/uploader.h index a68be8dd0..440746344 100644 --- a/src/lib/uploader.h +++ b/src/lib/uploader.h @@ -32,15 +32,15 @@ class Job; class Uploader { public: - Uploader (std::function<void (std::string)> set_status, std::function<void (float)> set_progress); - virtual ~Uploader () {} + Uploader(std::function<void (std::string)> set_status, std::function<void (float)> set_progress); + virtual ~Uploader() {} - void upload (boost::filesystem::path directory); + void upload(boost::filesystem::path directory); protected: - virtual void create_directory (boost::filesystem::path directory) = 0; - virtual void upload_file (boost::filesystem::path from, boost::filesystem::path to, boost::uintmax_t& transferred, boost::uintmax_t total_size) = 0; + virtual void create_directory(boost::filesystem::path directory) = 0; + virtual void upload_file(boost::filesystem::path from, boost::filesystem::path to, boost::uintmax_t& transferred, boost::uintmax_t total_size) = 0; std::function<void (float)> _set_progress; |
