diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-16 17:35:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-29 01:44:15 +0200 |
| commit | 04f8ba59d17e726570b4c1f361f10c7548fbe5c2 (patch) | |
| tree | 921748170f4c000d5c7bd5ce3440bbfb149e3c08 /src/lib/film.h | |
| parent | 3cbc5434edfd0eff96d4e25313d1dfcde478070c (diff) | |
Put * in the title bar when the DCP-o-matic project is modified (#1938).
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/film.h b/src/lib/film.h index 9be6c5771..d42eb5626 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -131,7 +131,7 @@ public: void use_template (std::string name); std::list<std::string> read_metadata (boost::optional<boost::filesystem::path> path = boost::optional<boost::filesystem::path> ()); - void write_metadata () const; + void write_metadata (); void write_metadata (boost::filesystem::path path) const; void write_template (boost::filesystem::path path) const; std::shared_ptr<xmlpp::Document> metadata (bool with_content_paths = true) const; @@ -481,6 +481,8 @@ public: */ mutable boost::signals2::signal<void ()> LengthChange; + boost::signals2::signal<void (bool)> DirtyChange; + /** Emitted when we have something important to tell the user */ boost::signals2::signal<void (std::string)> Message; @@ -507,7 +509,7 @@ private: void audio_analysis_finished (); void check_settings_consistency (); void maybe_set_container_and_resolution (); - void set_dirty (bool dirty) const; + void set_dirty (bool dirty); /** Log to write to */ std::shared_ptr<Log> _log; |
