summaryrefslogtreecommitdiff
path: root/src/wx/swaroop_controls.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-21 23:57:09 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-21 23:57:09 +0000
commit12b1a3f10ee0e14691e68784bfccc7359d44b0a4 (patch)
tree314f5414d4cfdf97417842a8d625bfd324eee897 /src/wx/swaroop_controls.h
parentf37b8122a04c6a7f8a86c77de44ac995b9555d1a (diff)
swaroop: check for KDMs when selecting playlist.
Diffstat (limited to 'src/wx/swaroop_controls.h')
-rw-r--r--src/wx/swaroop_controls.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/swaroop_controls.h b/src/wx/swaroop_controls.h
index 077b16fbe..e2c4190b6 100644
--- a/src/wx/swaroop_controls.h
+++ b/src/wx/swaroop_controls.h
@@ -20,6 +20,8 @@
#include "controls.h"
+class DCPContent;
+
class SwaroopControls : public Controls
{
public:
@@ -56,6 +58,9 @@ 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);
+
wxButton* _play_button;
wxButton* _pause_button;
wxButton* _stop_button;