summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-12-15 15:58:59 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-12-15 15:58:59 +0100
commit831d7b85242f2c6b91f68b448c3601e8f99e4698 (patch)
treea59e8c6063f3837575f08461d23808aa64274a05 /remote.h
parentc7849b14a7502f626f9cf806e998a711b28fb21b (diff)
downloadvdr-831d7b85242f2c6b91f68b448c3601e8f99e4698.tar.gz
vdr-831d7b85242f2c6b91f68b448c3601e8f99e4698.tar.bz2
Enhacements to cKbdRemote
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/remote.h b/remote.h
index 0b8c7a30..7908b1db 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.23 2002/12/15 09:58:32 kls Exp $
+ * $Id: remote.h 1.24 2002/12/15 15:49:06 kls Exp $
*/
#ifndef __REMOTE_H
@@ -80,6 +80,7 @@ enum eKbdFunc {
class cKbdRemote : public cRemote, private cThread {
private:
bool active;
+ static bool kbdAvailable;
static bool rawMode;
struct termios savedTm;
virtual void Action(void);
@@ -87,7 +88,8 @@ private:
public:
cKbdRemote(void);
virtual ~cKbdRemote();
- uint64 MapFuncToCode(int Func);
+ static bool KbdAvailable(void) { return kbdAvailable; }
+ static uint64 MapFuncToCode(int Func);
static void SetRawMode(bool RawMode);
};