Similar pending/done for Film::Change.
[dcpomatic.git] / src / wx / film_viewer.h
index 266509a4466ad1161234f919e09f07a8e362461e..0e7da10b1a948d527c3cb339e560df153d65d12a 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "lib/film.h"
 #include "lib/config.h"
-#include "lib/player_caption.h"
+#include "lib/player_text.h"
 #include <RtAudio.h>
 #include <wx/wx.h>
 
@@ -97,7 +97,7 @@ private:
        void rewind_clicked (wxMouseEvent &);
        void back_clicked (wxKeyboardState& s);
        void forward_clicked (wxKeyboardState &);
-       void player_changed (int, bool);
+       void player_change (ChangeType type, int, bool);
        void update_position_label ();
        void update_position_slider ();
        void get ();
@@ -105,7 +105,7 @@ private:
        void seek (DCPTime t, bool accurate);
        void refresh_panel ();
        void setup_sensitivity ();
-       void film_changed (Film::Property);
+       void film_change (ChangeType, Film::Property);
        DCPTime nudge_amount (wxKeyboardState &);
        void timecode_clicked ();
        void frame_number_clicked ();
@@ -114,6 +114,7 @@ private:
        void recreate_butler ();
        void config_changed (Config::Property);
        DCPTime time () const;
+       DCPTime uncorrected_time () const;
        Frame average_latency () const;
        DCPTime one_video_frame () const;