*/
#include "controls.h"
+#include "lib/swaroop_spl.h"
class DCPContent;
+class EncryptedECinemaKDM;
class SwaroopControls : public Controls
{
void update_content_directory ();
void update_playlist_directory ();
void spl_selection_changed ();
+ void select_playlist (int selected, int position);
void started ();
void stopped ();
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 ();
bool can_do_next ();
+ void decrement_allowed_shows ();
+ void deselect_playlist ();
boost::optional<dcp::EncryptedKDM> get_kdm_from_url (boost::shared_ptr<DCPContent> dcp);
boost::optional<dcp::EncryptedKDM> get_kdm_from_directory (boost::shared_ptr<DCPContent> dcp);
+ boost::optional<EncryptedECinemaKDM> get_kdm_from_directory (boost::shared_ptr<FFmpegContent> ffmpeg);
wxButton* _play_button;
wxButton* _pause_button;
wxListCtrl* _spl_view;
wxButton* _refresh_spl_view;
wxListCtrl* _current_spl_view;
- wxTextCtrl* _log;
bool _current_disable_timeline;
bool _current_disable_next;
std::vector<SPL> _playlists;
boost::optional<int> _selected_playlist;
int _selected_playlist_position;
+
+ wxTimer _timer;
};