summaryrefslogtreecommitdiff
path: root/hlsPlayerControl.h
blob: 36c23ee3092fe5ca807d83a59ee6b160a0f4ac47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef HLSPLAYERCONTROL_H
#define HLSPLAYERCONTROL_H

#include <vdr/player.h>
#include <vdr/tools.h>

#include "hlsPlayer.h"

class cHlsPlayerControl : public cControl
{
private:
	cHlsPlayer* player;
	std::string m_title;
	
	bool visible;

protected:
	//void ShowMode();

public:
	cHlsPlayerControl(cHlsPlayer* Player, std::string title);
	virtual ~cHlsPlayerControl();

	virtual void Show(void);
	virtual void Hide(void);

	virtual cString GetHeader(void);
	virtual eOSState ProcessKey(eKeys Key);

	bool Active(void);

	void Pause(void);
	void Play(void);
	void Stop(void);


};

#endif // HLSPLAYERCONTROL_H