X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fconfig.h;h=9727bac1a16f0fc03398fa54c3643e0f3f255d57;hp=f53b8986e0ff890ebb36379ad52a9e4fca46c17f;hb=f706bbb9afd10472e81a051cd5db601d6404377c;hpb=704bc0f8be05ddca94a3853a6e112f22f8f2df70 diff --git a/src/lib/config.h b/src/lib/config.h index f53b8986e..9727bac1a 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -586,6 +586,10 @@ public: return _auto_crop_threshold; } + boost::optional last_release_notes_version () const { + return _last_release_notes_version; + } + /* SET (mostly) */ void set_master_encoding_threads (int n) { @@ -1122,6 +1126,10 @@ public: maybe_set (_auto_crop_threshold, threshold, AUTO_CROP_THRESHOLD); } + void set_last_release_notes_version (std::string version) { + maybe_set (_last_release_notes_version, version); + } + ExportConfig& export_config() { return _export; } @@ -1349,6 +1357,7 @@ private: dcp::Formulation _default_kdm_type; RoughDuration _default_kdm_duration; double _auto_crop_threshold; + boost::optional _last_release_notes_version; ExportConfig _export;