diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-09-18 00:48:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-09-18 00:48:13 +0100 |
| commit | 853f658e8a95ece236438eb8e91860360e0624af (patch) | |
| tree | e513c3d778f8a1da3eab214b716751323ee3ea6f /src/lib/config.h | |
| parent | 272868a09ab7b7bd4bd9c0c531aab306feaa8b07 (diff) | |
Try to make Windows console appearance a preference.
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 3cc7c49c4..55a172d78 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -223,6 +223,12 @@ public: return _log_types; } +#ifdef DCPOMATIC_WINDOWS + bool win32_console () const { + return _win32_console; + } +#endif + std::vector<boost::filesystem::path> history () const { return _history; } @@ -420,6 +426,13 @@ public: changed (); } +#ifdef DCPOMATIC_WINDOWS + void set_win32_console (bool c) { + _win32_console = c; + changed (); + } +#endif + void clear_history () { _history.clear (); changed (); @@ -494,6 +507,9 @@ private: /** maximum allowed J2K bandwidth in bits per second */ int _maximum_j2k_bandwidth; int _log_types; +#ifdef DCPOMATIC_WINDOWS + bool _win32_console; +#endif std::vector<boost::filesystem::path> _history; /** Singleton instance, or 0 */ |
