diff options
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index f32b17106..db32c58a0 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -363,6 +363,15 @@ public: return _last_kdm_write_type; } + enum DKDMWriteType { + DKDM_WRITE_INTERNAL, + DKDM_WRITE_FILE + }; + + boost::optional<DKDMWriteType> last_dkdm_write_type () const { + return _last_dkdm_write_type; + } + int frames_in_memory_multiplier () const { return _frames_in_memory_multiplier; } @@ -609,6 +618,10 @@ public: maybe_set (_last_kdm_write_type, t); } + void set_last_dkdm_write_type (DKDMWriteType t) { + maybe_set (_last_dkdm_write_type, t); + } + void unset_sound_output () { if (!_sound_output) { return; @@ -817,6 +830,7 @@ private: std::string _cover_sheet; boost::optional<boost::filesystem::path> _last_player_load_directory; boost::optional<KDMWriteType> _last_kdm_write_type; + boost::optional<DKDMWriteType> _last_dkdm_write_type; int _frames_in_memory_multiplier; /** Singleton instance, or 0 */ |
