blob: 9af28ba771cc4378d4ab4847d40a3350cb03a0d6 (
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
|
/*
* dummy_player.h: Player that does nothing (saves CPU time)
*
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
* $Id: dummy_player.h,v 1.1 2006-06-03 09:50:54 phintuka Exp $
*
*/
#ifndef __DUMMY_PLAYER_H
#define __DUMMY_PLAYER_H
#include <vdr/player.h>
class cDummyPlayer;
class cDummyPlayerControl : public cControl
{
private:
static cDummyPlayer *m_Player;
static cMutex m_Lock;
static cDummyPlayer *OpenPlayer(void);
public:
cDummyPlayerControl(void);
virtual ~cDummyPlayerControl();
virtual void Show(void) {};
virtual void Hide(void) {};
virtual eOSState ProcessKey(eKeys Key);
static void Close(void);
static bool IsOpen(void) {return m_Player != NULL;};
};
#endif //__DUMMY_PLAYER_H
|