Type fix for OS X.
[dcpomatic.git] / src / wx / swaroop_controls.h
index 077b16fbea83a8ea3edddcda25c3a802f8f7a4bd..1f740d2283825c7164212e1d954adce40ff71f33 100644 (file)
@@ -20,6 +20,9 @@
 
 #include "controls.h"
 
+class DCPContent;
+class EncryptedECinemaKDM;
+
 class SwaroopControls : public Controls
 {
 public:
@@ -45,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 ();
@@ -56,6 +60,10 @@ private:
        bool can_do_previous ();
        bool can_do_next ();
 
+       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;
        wxButton* _stop_button;