return _default_audio_delay;
}
+ bool default_interop () const {
+ return _default_interop;
+ }
+
std::string mail_server () const {
return _mail_server;
}
maybe_set (_default_audio_delay, d);
}
+ void set_default_interop (bool i) {
+ maybe_set (_default_interop, i);
+ }
+
void set_mail_server (std::string s) {
maybe_set (_mail_server, s);
}
void set_check_for_updates (bool c) {
maybe_set (_check_for_updates, c);
+ if (!c) {
+ set_check_for_test_updates (false);
+ }
}
void set_check_for_test_updates (bool c) {
void read ();
void set_defaults ();
void set_kdm_email_to_default ();
+ boost::shared_ptr<dcp::CertificateChain> create_certificate_chain ();
template <class T>
void maybe_set (T& member, T new_value) {
/** default directory to put new films in */
boost::filesystem::path _default_directory;
/** base port number to use for J2K encoding servers;
- * this port and the one above it will be used.
+ * this port and the two above it will be used.
*/
int _server_port_base;
/** true to broadcast on the `any' address to look for servers */
std::string _dcp_creator;
int _default_j2k_bandwidth;
int _default_audio_delay;
+ bool _default_interop;
std::list<boost::shared_ptr<Cinema> > _cinemas;
std::string _mail_server;
int _mail_port;