Move _state_timer into VideoView.
[dcpomatic.git] / src / wx / timeline_dialog.h
index e9156b89edba0656b7b16422a46efc78f3bc1c54..62649a5f2a06f7ff1dee71900d09bcc7622857b4 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2019 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -28,19 +28,17 @@ class Playlist;
 class TimelineDialog : public wxDialog
 {
 public:
-       TimelineDialog (ContentPanel *, boost::shared_ptr<Film>);
+       TimelineDialog (ContentPanel *, boost::shared_ptr<Film>, boost::weak_ptr<FilmViewer> viewer);
 
        void set_selection (ContentList selection);
 
 private:
-       void film_changed (Film::Property);
+       void film_change (ChangeType type, Film::Property);
        void tool_clicked (wxCommandEvent& id);
        wxString bitmap_path (std::string name);
 
        boost::weak_ptr<Film> _film;
        Timeline _timeline;
        wxToolBar* _toolbar;
-       wxToolBarToolBase* _snap;
-       wxToolBarToolBase* _sequence;
        boost::signals2::scoped_connection _film_changed_connection;
 };