diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-06-04 01:11:33 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-07-09 00:35:10 +0200 |
| commit | 86aece3fc0368fdbe58b3501c0abfb4b1d4c564b (patch) | |
| tree | 7f52ae85b5ab0b36d05a0e75b8fd148ed07ba3b5 /src/lib/config.h | |
| parent | 81fea8d53c5e92be9b43d97005e88cd92fe9e85d (diff) | |
Change TMS upload feature to generic upload.
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index f65edda20..e33bfe3f3 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -155,6 +155,10 @@ public: return _only_servers_encode; } + std::vector<UploadDestination> upload_destinations() const { + return _upload_destinations; + } + boost::optional<UploadDestination> tms() const { return _tms; } @@ -697,6 +701,10 @@ public: maybe_set(_only_servers_encode, o); } + void set_upload_destinations(std::vector<UploadDestination> const& destinations) { + maybe_set(_upload_destinations, destinations); + } + void set_tms(UploadDestination tms) { _tms = tms; changed(); @@ -1319,6 +1327,7 @@ private: /** J2K encoding servers that should definitely be used */ std::vector<std::string> _servers; bool _only_servers_encode; + std::vector<UploadDestination> _upload_destinations; boost::optional<UploadDestination> _tms; /** The list of possible DCP frame rates that DCP-o-matic will use */ std::list<int> _allowed_dcp_frame_rates; |
