vdr
1.7.31
Main Page
Namespaces
Classes
Files
File List
File Members
eitscan.h
Go to the documentation of this file.
1
/*
2
* eitscan.h: EIT scanner
3
*
4
* See the main source file 'vdr.c' for copyright information and
5
* how to reach the author.
6
*
7
* $Id: eitscan.h 2.1 2012/03/07 13:54:16 kls Exp $
8
*/
9
10
#ifndef __EITSCAN_H
11
#define __EITSCAN_H
12
13
#include <time.h>
14
#include "
channels.h
"
15
#include "
config.h
"
16
#include "
device.h
"
17
18
class
cScanList
;
19
class
cTransponderList
;
20
21
class
cEITScanner
{
22
private
:
23
enum
{
ActivityTimeout
= 60,
24
ScanTimeout
= 20
25
};
26
time_t
lastScan
,
lastActivity
;
27
int
currentChannel
;
28
cScanList
*
scanList
;
29
cTransponderList
*
transponderList
;
30
public
:
31
cEITScanner
(
void
);
32
~cEITScanner
();
33
bool
Active
(
void
) {
return
currentChannel
||
lastActivity
== 0; }
34
void
AddTransponder
(
cChannel
*Channel);
35
void
ForceScan
(
void
);
36
void
Activity
(
void
);
37
void
Process
(
void
);
38
};
39
40
extern
cEITScanner
EITScanner
;
41
42
#endif //__EITSCAN_H
Generated by
1.8.1.2