X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fconfig.h;fp=src%2Flib%2Fconfig.h;h=9e84a120b822755bf667e32b024ba16374bc9537;hp=1a11b4a411635e1b550cdb5e78d32e36121843db;hb=0d7d4fb3472a30f7706baab0703114ec32d5a2af;hpb=98a8b5835aca46d8abb6f59513a56648f2c234ba diff --git a/src/lib/config.h b/src/lib/config.h index 1a11b4a41..9e84a120b 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -130,6 +130,10 @@ public: return _tms_protocol; } + bool tms_passive() const { + return _tms_passive; + } + /** @return The IP address of a TMS that we can copy DCPs to */ std::string tms_ip () const { return _tms_ip; @@ -629,6 +633,10 @@ public: maybe_set (_tms_protocol, p); } + void set_tms_passive(bool passive) { + maybe_set(_tms_passive, passive); + } + /** @param i IP address of a TMS that we can copy DCPs to */ void set_tms_ip (std::string i) { maybe_set (_tms_ip, i); @@ -1256,6 +1264,7 @@ private: std::vector _servers; bool _only_servers_encode; FileTransferProtocol _tms_protocol; + bool _tms_passive; /** The IP address of a TMS that we can copy DCPs to */ std::string _tms_ip; /** The path on a TMS that we should write DCPs to */