trunk 20080912
[gitenigma.git] / src / elirc.h
blobc2d043aa61ecf7543050a21e8c9b6a061b7eb99a
1 #ifndef DISABLE_LIRC
3 #ifndef __elirc_h
4 #define __elirc_h
6 #include <lib/gui/listbox.h>
7 #include <lib/gui/ewindow.h>
8 #include <lib/socket/socket.h>
10 class ELirc: public Object
12 eTimer timeout;
13 eSocket *sd;
14 int fd;
15 eString device;
17 void sendcommand(eString cmd);
18 void sendcommandlist(eString filename);
20 ELirc();
21 ~ELirc();
22 public:
23 static ELirc *getNew() { return new ELirc(); }
24 void sendstart();
25 void sendstop();
28 #endif
30 #endif // DISABLE_LIRC