X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fconfig.h;h=feaac8390842b902559ea3d90e86f7e0156f7d5e;hb=b74bc6135a6a690bf5674638a8bea56e5580fd08;hp=1ffcfdb9881831f90de4e98d5f3c7c4196c87eba;hpb=09d5906f44907aab5afb41ce2da887550c0011a8;p=dcpomatic.git diff --git a/src/lib/config.h b/src/lib/config.h index 1ffcfdb98..feaac8390 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -262,6 +262,10 @@ public: return _cinemas_file; } + bool show_hints_before_make_dcp () const { + return _show_hints_before_make_dcp; + } + /** @param n New number of local encoding threads */ void set_num_local_encoding_threads (int n) { maybe_set (_num_local_encoding_threads, n); @@ -466,6 +470,10 @@ public: void set_cinemas_file (boost::filesystem::path file); + void set_show_hints_before_make_dcp (bool s) { + maybe_set (_show_hints_before_make_dcp, s); + } + void clear_history () { _history.clear (); changed (); @@ -572,6 +580,7 @@ private: std::vector _history; std::vector _dkdms; boost::filesystem::path _cinemas_file; + bool _show_hints_before_make_dcp; /** Singleton instance, or 0 */ static Config* _instance;