diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-07 15:21:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-20 10:38:17 +0200 |
| commit | f706bbb9afd10472e81a051cd5db601d6404377c (patch) | |
| tree | e55e0c1c72d71c1eec008f3527757293c942c9b7 /src/lib/config.h | |
| parent | 704bc0f8be05ddca94a3853a6e112f22f8f2df70 (diff) | |
Basic release notes support (#2282).
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
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<std::string> 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<std::string> _last_release_notes_version; ExportConfig _export; |
