From adc0c699c19b0389b899230a73f3ab635bcdc5c3 Mon Sep 17 00:00:00 2001 From: chriszero <zerov83@gmail.com> Date: Wed, 14 Jan 2015 21:50:20 +0100 Subject: Implemented Play, Pause, Stop --- hlsPlayerControl.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'hlsPlayerControl.h') 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); + }; -- cgit v1.2.3