summaryrefslogtreecommitdiff
path: root/src/wx/closed_captions_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/closed_captions_dialog.h')
-rw-r--r--src/wx/closed_captions_dialog.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/wx/closed_captions_dialog.h b/src/wx/closed_captions_dialog.h
index e3f13f62f..3da7f6522 100644
--- a/src/wx/closed_captions_dialog.h
+++ b/src/wx/closed_captions_dialog.h
@@ -22,7 +22,7 @@
#include "lib/player.h"
#include <wx/wx.h>
-class Player;
+class Butler;
class ClosedCaptionsDialog : public wxDialog
{
@@ -31,11 +31,13 @@ public:
void update (DCPTime);
void clear ();
- void set_player (boost::weak_ptr<Player>);
+ void set_butler (boost::weak_ptr<Butler>);
private:
void paint ();
+ boost::optional<std::pair<PlayerText, DCPTimePeriod> > _current;
+ bool _current_in_lines;
std::vector<wxString> _lines;
- boost::weak_ptr<Player> _player;
+ boost::weak_ptr<Butler> _butler;
};