using std::cout;
using std::exception;
using std::sort;
-using boost::shared_ptr;
-using boost::dynamic_pointer_cast;
+using std::shared_ptr;
+using std::dynamic_pointer_cast;
using boost::optional;
using namespace dcpomatic;
, _stop_button (new Button(this, _("Stop")))
, _next_button (new Button(this, "Next"))
, _previous_button (new Button(this, "Previous"))
- , _timer (this)
{
_button_sizer->Add (_previous_button, 0, wxEXPAND);
_button_sizer->Add (_play_button, 0, wxEXPAND);
_pause_button->Enable (false);
}
}
+
+void
+PlaylistControls::play ()
+{
+ play_clicked ();
+}
+
+void
+PlaylistControls::stop ()
+{
+ stop_clicked ();
+}