diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-04-29 00:47:47 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-06-03 22:46:26 +0200 |
| commit | fb5b8ae43e373c37b78202217528be73efa162cc (patch) | |
| tree | 9dfb23d6188ba86485795eb13876ebc01f560874 /src/lib/uploader.cc | |
| parent | eb2452d1d76e7b87a61e88773b29206ff5833e34 (diff) | |
Allow multiple upload destinations instead of just the TMS.
Diffstat (limited to 'src/lib/uploader.cc')
| -rw-r--r-- | src/lib/uploader.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/uploader.cc b/src/lib/uploader.cc index f2a47f50e..507adad7b 100644 --- a/src/lib/uploader.cc +++ b/src/lib/uploader.cc @@ -31,8 +31,9 @@ using std::shared_ptr; using std::function; -Uploader::Uploader (function<void (string)> set_status, function<void (float)> set_progress) +Uploader::Uploader(UploadDestination destination, function<void (string)> set_status, function<void (float)> set_progress) : _set_progress (set_progress) + , _destination(std::move(destination)) , _set_status (set_status) { _set_status (_("connecting")); |
