Ubuntu 20.04 packaging.
[dcpomatic.git] / src / wx / film_editor.h
index 576cd5ba1b251bab083dec3cab431049bda02ca4..b8d862f8112ea03ebddf64d8976e22a0f9240850 100644 (file)
@@ -38,7 +38,7 @@ class FilmViewer;
 class FilmEditor : public wxPanel
 {
 public:
-       FilmEditor (wxWindow *, FilmViewer* viewer);
+       FilmEditor (wxWindow *, boost::weak_ptr<FilmViewer> viewer);
 
        void set_film (boost::shared_ptr<Film>);
 
@@ -56,8 +56,8 @@ public:
        }
 
        /* Handle changes to the model */
-       void film_changed (Film::Property);
-       void film_content_changed (int);
+       void film_change (ChangeType, Film::Property);
+       void film_content_change (ChangeType type, int);
 
        void set_general_sensitivity (bool);
        void active_jobs_changed (boost::optional<std::string>);