Split up Config::read().
[dcpomatic.git] / src / lib / config.h
index 9727bac1a16f0fc03398fa54c3643e0f3f255d57..96016d75b8870ead42d58e9ad96a35a532f21b9e 100644 (file)
@@ -1130,6 +1130,10 @@ public:
                maybe_set (_last_release_notes_version, version);
        }
 
+       void unset_last_release_notes_version() {
+               maybe_set(_last_release_notes_version, boost::optional<std::string>());
+       }
+
        ExportConfig& export_config() {
                return _export;
        }
@@ -1200,6 +1204,9 @@ public:
 private:
        Config ();
        void read () override;
+       void read_config();
+       void read_cinemas();
+       void read_dkdm_recipients();
        void set_defaults ();
        void set_kdm_email_to_default ();
        void set_notification_email_to_default ();