openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
rcdreambox2.h
Go to the documentation of this file.
1 #ifndef DISABLE_DREAMBOX_RC
2 
3 #ifndef __rcdreambox2_h
4 #define __rcdreambox2_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  int getRepeatDelay();
16  int getRepeatRate();
17  int getKeyCode(int key);
18 public:
19  void handleCode(int code);
21  const char *getDescription() const;
22 };
23 
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);
36  const char *getDescription() const;
37 };
38 
39 #endif
40 
41 #endif // DISABLE_DREAMBOX_RC
Definition: rcdreambox2.h:9
const char * getDescription() const
Get user readable description.
Definition: rcdreambox2.cpp:129
eRCDeviceDreambox2(eRCDriver *driver)
Definition: rcdreambox2.cpp:121
void handleCode(int code)
Definition: rcdreambox2.cpp:61
Definition: rcdreambox2.h:25
const char * getDescription() const
Get user readable description.
Definition: rcdreambox2.cpp:202
void handleCode(int code)
Definition: rcdreambox2.cpp:145
eRCDeviceDreamboxButton(eRCDriver *driver)
Definition: rcdreambox2.cpp:195
A remote control.
Definition: rc.h:27
eRCDriver * driver
Definition: rc.h:30
Definition: rc.h:73
Gives a callback after a specified timeout.
Definition: ebase.h:277