return _last_player_load_directory;
}
+ enum KDMWriteType {
+ KDM_WRITE_FLAT,
+ KDM_WRITE_FOLDER,
+ KDM_WRITE_ZIP
+ };
+
+ boost::optional<KDMWriteType> last_kdm_write_type () const {
+ return _last_kdm_write_type;
+ }
+
int frames_in_memory_multiplier () const {
return _frames_in_memory_multiplier;
}
maybe_set (_last_player_load_directory, d);
}
+ void set_last_kdm_write_type (KDMWriteType t) {
+ maybe_set (_last_kdm_write_type, t);
+ }
+
void unset_sound_output () {
if (!_sound_output) {
return;
static bool have_existing (std::string);
static boost::filesystem::path config_file ();
+ static boost::optional<boost::filesystem::path> test_path;
+
private:
Config ();
static boost::filesystem::path path (std::string file, bool create_directories = true);
boost::optional<std::string> _sound_output;
std::string _cover_sheet;
boost::optional<boost::filesystem::path> _last_player_load_directory;
+ boost::optional<KDMWriteType> _last_kdm_write_type;
int _frames_in_memory_multiplier;
/** Singleton instance, or 0 */