vdr
2.0.4
Main Page
Namespaces
Classes
Files
File List
File Members
sourceparams.h
Go to the documentation of this file.
1
/*
2
* sourceparams.h: Source parameter handling
3
*
4
* See the main source file 'vdr.c' for copyright information and
5
* how to reach the author.
6
*
7
* $Id: sourceparams.h 1.1 2010/02/28 11:58:03 kls Exp $
8
*/
9
10
#ifndef __SOURCEPARAMS_H
11
#define __SOURCEPARAMS_H
12
13
#include "
channels.h
"
14
#include "
osdbase.h
"
15
#include "
tools.h
"
16
17
class
cSourceParam
:
public
cListObject
{
18
private
:
19
char
source
;
20
public
:
21
cSourceParam
(
char
Source
,
const
char
*Description);
31
char
Source
(
void
)
const
{
return
source
; }
32
virtual
void
SetData
(
cChannel
*Channel) = 0;
35
virtual
void
GetData
(
cChannel
*Channel) = 0;
37
virtual
cOsdItem
*
GetOsdItem
(
void
) = 0;
44
};
45
46
class
cSourceParams
:
public
cList
<cSourceParam> {
47
public
:
48
cSourceParam
*
Get
(
char
Source)
const
;
49
};
50
51
extern
cSourceParams
SourceParams
;
52
53
#endif //__SOURCEPARAMS_H
54
Generated by
1.8.3.1