openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
rcdbox.h
Go to the documentation of this file.
1 #ifndef DISABLE_DBOX_RC
2 
3 #ifndef __rcdbox_h
4 #define __rcdbox_h
5 
6 #include <lib/driver/rc.h>
7 
9 {
10  int last, ccode;
11  eTimer timeout, repeattimer;
12 private:
13  void timeOut();
14  void repeat();
15 public:
16  void handleCode(int code);
18  const char *getDescription() const;
19  const char *getKeyDescription(const eRCKey &key) const;
20  int getKeyCompatibleCode(const eRCKey &key) const;
21 };
22 
24 {
25  int last, ccode;
26  eTimer timeout, repeattimer;
27 private:
28  void timeOut();
29  void repeat();
30 public:
31  void handleCode(int code);
33  const char *getDescription() const;
34  const char *getKeyDescription(const eRCKey &key) const;
35  int getKeyCompatibleCode(const eRCKey &key) const;
36 };
37 
39 {
40  int last;
41  eTimer repeattimer;
42 private:
43  void repeat();
44 public:
45  void handleCode(int code);
47  const char *getDescription() const;
48 
49  const char *getKeyDescription(const eRCKey &key) const;
50  int getKeyCompatibleCode(const eRCKey &key) const;
51 };
52 
54 {
55 public:
57 };
58 
59 #endif
60 
61 #endif // DISABLE_DBOX_RC
Definition: rcdbox.h:54
Definition: rcdbox.h:39
int getKeyCompatibleCode(const eRCKey &key) const
const char * getKeyDescription(const eRCKey &key) const
eRCDeviceDBoxButton(eRCDriver *driver)
void handleCode(int code)
const char * getDescription() const
Get user readable description.
Definition: rcdbox.h:24
eRCDeviceDBoxNew(eRCDriver *driver)
void handleCode(int code)
int getKeyCompatibleCode(const eRCKey &key) const
const char * getKeyDescription(const eRCKey &key) const
const char * getDescription() const
Get user readable description.
Definition: rcdbox.h:9
const char * getDescription() const
Get user readable description.
int getKeyCompatibleCode(const eRCKey &key) const
eRCDeviceDBoxOld(eRCDriver *driver)
const char * getKeyDescription(const eRCKey &key) const
void handleCode(int code)
A remote control.
Definition: rc.h:27
eRCDriver * driver
Definition: rc.h:30
Definition: rc.h:73
Definition: rc.h:139
Definition: rc.h:109
Gives a callback after a specified timeout.
Definition: ebase.h:277