summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-09-17 08:23:46 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-09-17 08:23:46 +0200
commit4716cfb5a1ebae09a8a277b8943d3a885dcf1365 (patch)
tree59394b5784b6ba8cfb83bb5b526f655401bc6253 /remote.h
parent7fbf9e6c49430ca2de4683dc7319aa32d247a0f6 (diff)
downloadvdr-4716cfb5a1ebae09a8a277b8943d3a885dcf1365.tar.gz
vdr-4716cfb5a1ebae09a8a277b8943d3a885dcf1365.tar.bz2
Implemented centralized 'wait for input'
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/remote.h b/remote.h
index 7b94ac78..9346b485 100644
--- a/remote.h
+++ b/remote.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remote.h 1.7 2000/07/15 16:32:43 kls Exp $
+ * $Id: remote.h 1.8 2000/09/16 14:01:14 kls Exp $
*/
#ifndef __REMOTE_H
@@ -12,6 +12,7 @@
#include <stdio.h>
#include <time.h>
+#include "tools.h"
class cRcIoBase {
protected:
@@ -36,6 +37,8 @@ public:
#if defined REMOTE_KBD
class cRcIoKBD : public cRcIoBase {
+private:
+ cFile f;
public:
cRcIoKBD(void);
virtual ~cRcIoKBD();
@@ -48,7 +51,7 @@ public:
class cRcIoRCU : public cRcIoBase {
private:
- int f;
+ cFile f;
unsigned char dp, code, mode;
unsigned short address;
int lastNumber;
@@ -76,7 +79,7 @@ public:
class cRcIoLIRC : public cRcIoBase {
private:
enum { LIRC_KEY_BUF = 8, LIRC_BUFFER_SIZE = 128 };
- int f;
+ cFile f;
char keyName[LIRC_KEY_BUF];
const char *ReceiveString(void);
public: