summaryrefslogtreecommitdiff
path: root/lirc.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-09-29 13:40:45 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-09-29 13:40:45 +0200
commitfc668608474ed16f015f71e57366f6bd2c5d8c8d (patch)
treecc94791b1001e240ded1dc7afdae8ed0e0c1a3b7 /lirc.h
parentf3af8e065a6022ca7234bd6c60e061d2064a6dff (diff)
downloadvdr-fc668608474ed16f015f71e57366f6bd2c5d8c8d.tar.gz
vdr-fc668608474ed16f015f71e57366f6bd2c5d8c8d.tar.bz2
Made remote controls plugin aware
Diffstat (limited to 'lirc.h')
-rw-r--r--lirc.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/lirc.h b/lirc.h
new file mode 100644
index 00000000..ff58f315
--- /dev/null
+++ b/lirc.h
@@ -0,0 +1,26 @@
+/*
+ * lirc.h: LIRC remote control
+ *
+ * See the main source file 'vdr.c' for copyright information and
+ * how to reach the author.
+ *
+ * $Id: lirc.h 1.1 2002/09/28 14:11:04 kls Exp $
+ */
+
+#ifndef __LIRC_H
+#define __LIRC_H
+
+#include "remote.h"
+#include "thread.h"
+
+class cLircRemote : public cRemote, private cThread {
+private:
+ enum { LIRC_KEY_BUF = 30, LIRC_BUFFER_SIZE = 128 };
+ int f;
+ virtual void Action(void);
+public:
+ cLircRemote(char *DeviceName);
+ virtual ~cLircRemote();
+ };
+
+#endif //__LIRC_H