longer sdt timeout (needed for "dish network" scan)
[enigma2.git] / lib / driver / rcdreambox2.h
1 #ifndef DISABLE_DREAMBOX_RC
2
3 #ifndef __rcdreambox2_h
4 #define __rcdreambox2_h
5
6 #include <lib/driver/rc.h>
7
8 class eRCDeviceDreambox2: public eRCDevice
9 {
10         int last, ccode;
11         eTimer timeout, repeattimer;
12 private:
13         void timeOut();
14         void repeat();
15         int getRepeatDelay();
16         int getRepeatRate();
17         int getKeyCode(int key);
18 public:
19         void handleCode(int code);
20         eRCDeviceDreambox2(eRCDriver *driver);
21         const char *getDescription() const;
22 };
23
24 class eRCDeviceDreamboxButton: public eRCDevice
25 {
26         int last;
27         eTimer repeattimer;
28 private:
29         void repeat();
30         int getRepeatDelay();
31         int getRepeatRate();
32         int getKeyCode(int button);
33 public:
34         void handleCode(int code);
35         eRCDeviceDreamboxButton(eRCDriver *driver);
36         const char *getDescription() const;
37 };
38
39 #endif
40
41 #endif // DISABLE_DREAMBOX_RC