blob: 4745c37751985d07880c3adbfe533cedb376aa50 (
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
40
41
42
43
44
45
46
47
48
|
/*
* dvbhddevice.c: A plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
* $Id: dvbhddevice.c 1.13 2011/04/24 09:31:21 kls Exp $
*/
#include <vdr/plugin.h>
#include "dvbhdffdevice.h"
#include "setup.h"
static const char *VERSION = "0.0.4";
static const char *DESCRIPTION = "HD Full Featured DVB device";
class cPluginDvbhddevice : public cPlugin {
private:
cDvbHdFfDeviceProbe *probe;
public:
cPluginDvbhddevice(void);
virtual ~cPluginDvbhddevice();
virtual const char *Version(void) { return VERSION; }
virtual const char *Description(void) { return DESCRIPTION; }
virtual cMenuSetupPage *SetupMenu(void);
virtual bool SetupParse(const char *Name, const char *Value);
};
cPluginDvbhddevice::cPluginDvbhddevice(void)
{
probe = new cDvbHdFfDeviceProbe;
}
cPluginDvbhddevice::~cPluginDvbhddevice()
{
delete probe;
}
cMenuSetupPage *cPluginDvbhddevice::SetupMenu(void)
{
return new cHdffSetupPage(cDvbHdFfDevice::GetHdffCmdHandler());
}
bool cPluginDvbhddevice::SetupParse(const char *Name, const char *Value)
{
return gHdffSetup.SetupParse(Name, Value);
}
VDRPLUGINCREATOR(cPluginDvbhddevice); // Don't touch this!
|