vdr
2.0.4
Main Page
Namespaces
Classes
Files
File List
File Members
nit.h
Go to the documentation of this file.
1
/*
2
* nit.h: NIT section filter
3
*
4
* See the main source file 'vdr.c' for copyright information and
5
* how to reach the author.
6
*
7
* $Id: nit.h 2.0 2007/06/10 08:50:21 kls Exp $
8
*/
9
10
#ifndef __NIT_H
11
#define __NIT_H
12
13
#include "
filter.h
"
14
15
#define MAXNITS 16
16
#define MAXNETWORKNAME Utf8BufSize(256)
17
18
class
cNitFilter
:
public
cFilter
{
19
private
:
20
21
class
cNit
{
22
public
:
23
u_short
networkId
;
24
char
name
[
MAXNETWORKNAME
];
25
bool
hasTransponder
;
26
};
27
28
cSectionSyncer
sectionSyncer
;
29
cNit
nits
[
MAXNITS
];
30
u_short
networkId
;
31
int
numNits
;
32
protected
:
33
virtual
void
Process
(u_short Pid,
u_char
Tid,
const
u_char
*Data,
int
Length);
34
public
:
35
cNitFilter
(
void
);
36
virtual
void
SetStatus
(
bool
On);
37
};
38
39
#endif //__NIT_H
40
Generated by
1.8.3.1