summaryrefslogtreecommitdiff
path: root/hlsPlayerControl.h
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-01-14 21:50:20 +0100
committerchriszero <zerov83@gmail.com>2015-01-14 21:50:20 +0100
commitadc0c699c19b0389b899230a73f3ab635bcdc5c3 (patch)
treeb57b71b338cea70dfc4b2e7b92ddb73be06184b7 /hlsPlayerControl.h
parentacbfb7d0bb54a591332dc9030ae377dcfac19fac (diff)
downloadvdr-plugin-plex-adc0c699c19b0389b899230a73f3ab635bcdc5c3.tar.gz
vdr-plugin-plex-adc0c699c19b0389b899230a73f3ab635bcdc5c3.tar.bz2
Implemented Play, Pause, Stop
Diffstat (limited to 'hlsPlayerControl.h')
-rw-r--r--hlsPlayerControl.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/hlsPlayerControl.h b/hlsPlayerControl.h
index 934feff..36c23ee 100644
--- a/hlsPlayerControl.h
+++ b/hlsPlayerControl.h
@@ -9,8 +9,13 @@
class cHlsPlayerControl : public cControl
{
private:
- cHlsPlayer* m_pPlayer;
+ cHlsPlayer* player;
std::string m_title;
+
+ bool visible;
+
+protected:
+ //void ShowMode();
public:
cHlsPlayerControl(cHlsPlayer* Player, std::string title);
@@ -20,7 +25,14 @@ public:
virtual void Hide(void);
virtual cString GetHeader(void);
- //virtual eOSState ProcessKey(eKeys Key);
+ virtual eOSState ProcessKey(eKeys Key);
+
+ bool Active(void);
+
+ void Pause(void);
+ void Play(void);
+ void Stop(void);
+
};