Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / wx / timeline_dialog.h
index 8796f2bbfc41add263dfb0ca328d960e95527053..8134aa6dbae15c34503237eb5e16d0d1fda9c155 100644 (file)
@@ -32,13 +32,14 @@ class Playlist;
 class TimelineDialog : public wxDialog
 {
 public:
-       TimelineDialog (ContentPanel *, std::shared_ptr<Film>, std::weak_ptr<FilmViewer> viewer);
+       TimelineDialog(ContentPanel *, std::shared_ptr<Film>, FilmViewer& viewer);
 
        void set_selection (ContentList selection);
 
 private:
-       void film_change (ChangeType type, Film::Property);
+       void film_change(ChangeType type, FilmProperty);
        void tool_clicked (wxCommandEvent& id);
+       void keypress(wxKeyEvent const& event);
 
        std::weak_ptr<Film> _film;
        Timeline _timeline;