SOUND_OUTPUT,
INTERFACE_COMPLEXITY,
PLAYER_DCP_DIRECTORY,
+ HISTORY,
#ifdef DCPOMATIC_VARIANT_SWAROOP
PLAYER_BACKGROUND_IMAGE,
#endif
}
#endif
+ bool allow_spl_editing () const {
+ return _allow_spl_editing;
+ }
+
/* SET (mostly) */
void set_master_encoding_threads (int n) {
}
#endif
+ void set_allow_spl_editing (bool s) {
+ maybe_set (_allow_spl_editing, s);
+ }
+
void changed (Property p = OTHER);
boost::signals2::signal<void (Property)> Changed;
/** Emitted if read() failed on an existing Config file. There is nothing
static void restore_defaults ();
static bool have_existing (std::string);
static boost::filesystem::path config_file ();
+ static boost::filesystem::path path (std::string file, bool create_directories = true);
/** If set, this overrides the standard path (in home, Library, AppData or wherever) for config.xml and cinemas.xml */
static boost::optional<boost::filesystem::path> override_path;
private:
Config ();
- static boost::filesystem::path path (std::string file, bool create_directories = true);
void read ();
void set_defaults ();
void set_kdm_email_to_default ();
int _player_watermark_duration;
std::vector<Monitor> _required_monitors;
#endif
+ bool _allow_spl_editing;
static int const _current_version;