add ability to select in scan what is todo with existing services (Clear before 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 public:
16         void handleCode(int code);
17         eRCDeviceDreambox2(eRCDriver *driver);
18         const char *getDescription() const;
19         const char *getKeyDescription(const eRCKey &key) const;
20         int getKeyCompatibleCode(const eRCKey &key) const;
21 };
22
23 class eRCDreamboxDriver2: public eRCShortDriver
24 {
25 public:
26         eRCDreamboxDriver2();
27 };
28
29 class eRCDeviceDreamboxButton: public eRCDevice
30 {
31         int last;
32         eTimer repeattimer;
33 private:
34         void repeat();
35 public:
36         void handleCode(int code);
37         eRCDeviceDreamboxButton(eRCDriver *driver);
38         const char *getDescription() const;
39
40         const char *getKeyDescription(const eRCKey &key) const;
41         int getKeyCompatibleCode(const eRCKey &key) const;
42 };
43
44 class eRCDreamboxButtonDriver: public eRCShortDriver
45 {
46 public:
47         eRCDreamboxButtonDriver();
48 };
49 #endif
50
51 #endif // DISABLE_DREAMBOX_RC