Don't expand all cinemas on opening KDM dialogs (#779).
[dcpomatic.git] / src / wx / film_viewer.h
index eb9d256d3782857b2c83e4d5d06a964a2c105ce7..6abd3387f6e0ecc3742abe142a9a2f33774b57c1 100644 (file)
@@ -44,6 +44,9 @@ public:
                return _position;
        }
 
+       void set_position (DCPTime p);
+       void set_coalesce_player_changes (bool c);
+
        void refresh ();
 
        boost::signals2::signal<void (boost::weak_ptr<PlayerVideo>)> ImageChanged;
@@ -56,7 +59,7 @@ private:
        void timer ();
        void calculate_sizes ();
        void check_play_state ();
-       void active_jobs_changed (bool);
+       void active_jobs_changed (boost::optional<std::string>);
        void back_clicked ();
        void forward_clicked ();
        void player_changed (bool);
@@ -80,6 +83,8 @@ private:
        wxStaticText* _timecode;
        wxToggleButton* _play_button;
        wxTimer _timer;
+       bool _coalesce_player_changes;
+       bool _pending_player_change;
 
        boost::shared_ptr<const Image> _frame;
        DCPTime _position;