X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fconfig.h;h=45a9e282b7aed6ea638c540d264defd3df26b21a;hb=5c93e50af883f02eadcf9a7bfe9cbfabbb3be844;hp=3cc7c49c463950f8300fac0085266ae9b6df8fad;hpb=f4030653da8f5a0b3daebe640f485b3daf9ef091;p=dcpomatic.git diff --git a/src/lib/config.h b/src/lib/config.h index 3cc7c49c4..45a9e282b 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -24,16 +24,16 @@ #ifndef DCPOMATIC_CONFIG_H #define DCPOMATIC_CONFIG_H -#include -#include -#include -#include -#include -#include -#include #include "isdcf_metadata.h" #include "colour_conversion.h" #include "video_content.h" +#include +#include +#include +#include +#include +#include +#include class ServerDescription; class Scaler; @@ -135,10 +135,6 @@ public: return _default_still_length; } - VideoContentScale default_scale () const { - return _default_scale; - } - Ratio const * default_container () const { return _default_container; } @@ -223,6 +219,12 @@ public: return _log_types; } +#ifdef DCPOMATIC_WINDOWS + bool win32_console () const { + return _win32_console; + } +#endif + std::vector history () const { return _history; } @@ -308,11 +310,6 @@ public: changed (); } - void set_default_scale (VideoContentScale s) { - _default_scale = s; - changed (); - } - void set_default_container (Ratio const * c) { _default_container = c; changed (); @@ -420,6 +417,13 @@ public: changed (); } +#ifdef DCPOMATIC_WINDOWS + void set_win32_console (bool c) { + _win32_console = c; + changed (); + } +#endif + void clear_history () { _history.clear (); changed (); @@ -469,7 +473,6 @@ private: ISDCFMetadata _default_isdcf_metadata; boost::optional _language; int _default_still_length; - VideoContentScale _default_scale; Ratio const * _default_container; DCPContentType const * _default_dcp_content_type; std::string _dcp_issuer; @@ -494,6 +497,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 _history; /** Singleton instance, or 0 */