summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-10-03 10:49:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-10-03 10:49:58 +0200
commit6fd3dbc3f1cbfef1252db7587ca68f3d0d1e9e1f (patch)
tree9082e44329839a29f12bc406e7ec414f5eb65a5e /remote.h
parent6c23dbf25fb2ba612a08dbb000af9c23756161f3 (diff)
downloadvdr-6fd3dbc3f1cbfef1252db7587ca68f3d0d1e9e1f.tar.gz
vdr-6fd3dbc3f1cbfef1252db7587ca68f3d0d1e9e1f.tar.bz2
More modifications to the LIRC interface
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/remote.h b/remote.h
index 03f91555..75dc4ac1 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.9 2000/09/19 17:39:36 kls Exp $
+ * $Id: remote.h 1.10 2000/10/03 10:45:35 kls Exp $
*/
#ifndef __REMOTE_H
@@ -29,7 +29,7 @@ public:
virtual void SetPoints(unsigned char Dp, bool On) {}
virtual bool String(char *s) { return true; }
virtual bool DetectCode(unsigned char *Code, unsigned short *Address) { return true; }
- virtual void Flush(int WaitMs = 0) {}
+ virtual void Flush(int WaitMs = 0) = 0;
virtual bool InputAvailable(bool Wait = false) = 0;
virtual bool GetCommand(unsigned int *Command, unsigned short *Address = NULL) = 0;
};
@@ -81,6 +81,7 @@ private:
enum { LIRC_KEY_BUF = 8, LIRC_BUFFER_SIZE = 128 };
cFile f;
char keyName[LIRC_KEY_BUF];
+ int repeat;
const char *ReceiveString(void);
public:
cRcIoLIRC(char *DeviceName);