Fix length of player output so it can be either the film's length or playlist's lengt...
[dcpomatic.git] / src / wx / swaroop_controls.h
index 11dbcfc1013025fbec4329c65f91d702699e41ad..f773bf901f74fd6d4046142ae1772ead46d2c667 100644 (file)
@@ -19,6 +19,7 @@
 */
 
 #include "controls.h"
+#include "lib/swaroop_spl.h"
 
 class DCPContent;
 class EncryptedECinemaKDM;
@@ -54,7 +55,7 @@ private:
        void setup_sensitivity ();
        void config_changed (int);
        void viewer_finished ();
-       void viewer_position_changed ();
+       void write_position ();
        void reset_film ();
        void update_current_content ();
        bool can_do_previous ();
@@ -84,4 +85,6 @@ private:
        std::vector<SPL> _playlists;
        boost::optional<int> _selected_playlist;
        int _selected_playlist_position;
+
+       wxTimer _timer;
 };