-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathscanner.h
41 lines (39 loc) · 1.18 KB
/
scanner.h
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
/*******************************************************************************
* wirbelscan: A plugin for the Video Disk Recorder
* See the README file for copyright information and how to reach the author.
******************************************************************************/
#pragma once
#include <repfunc.h>
class cDevice;
class cDvbDevice;
class TChannel;
class cStateMachine;
class cScanner : public ThreadBase {
private:
bool shouldstop;
bool single;
size_t user[3];
int status;
int initialTransponders;
int newTransponders;
int thisChannel;
int type;
cDevice* dev;
TChannel* aChannel;
cStateMachine* StateMachine;
protected:
virtual void Action(void);
void AddChannels(void);
public:
cScanner(const char* Description, int Type);
virtual ~cScanner(void);
virtual void SetShouldstop(bool On);
virtual bool ActionAllowed(void);
bool Active(void);
int Status(void) { return status; };
int DvbType(void) { return type; };
int InitialTransponders(void) { return initialTransponders; };
int ThisChannel(void) { return thisChannel; };
void Progress(void);
cDvbDevice* DvbDevice(void);
};