Primitive subtitle export feature.
[dcpomatic.git] / src / wx / swaroop_controls.h
index e2c4190b66520639228f58204acbaa6e81318e37..11dbcfc1013025fbec4329c65f91d702699e41ad 100644 (file)
@@ -21,6 +21,7 @@
 #include "controls.h"
 
 class DCPContent;
+class EncryptedECinemaKDM;
 
 class SwaroopControls : public Controls
 {
@@ -47,6 +48,7 @@ private:
        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 ();
@@ -57,9 +59,12 @@ private:
        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;
@@ -72,7 +77,6 @@ private:
        wxListCtrl* _spl_view;
        wxButton* _refresh_spl_view;
        wxListCtrl* _current_spl_view;
-       wxTextCtrl* _log;
 
        bool _current_disable_timeline;
        bool _current_disable_next;