diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-01 10:53:07 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-01 10:53:07 +0100 |
commit | c1a5a7d50c4a45b3d3d65717c788e1925463a61e (patch) | |
tree | 9ba01bdc6f892e17da20ce08932a2b0fd74c7814 /remote.h | |
parent | fd3e819ba808e98d68737cf45583d70fa0588e51 (diff) | |
download | vdr-c1a5a7d50c4a45b3d3d65717c788e1925463a61e.tar.gz vdr-c1a5a7d50c4a45b3d3d65717c788e1925463a61e.tar.bz2 |
Only accepting key presses from the current remote control when learning
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remote.h 1.18 2002/10/27 15:16:50 kls Exp $ + * $Id: remote.h 1.19 2002/11/01 10:48:11 kls Exp $ */ #ifndef __REMOTE_H @@ -24,7 +24,7 @@ private: static eKeys keys[MaxKeys]; static int in; static int out; - static bool learning; + static cRemote *learning; static char *unknownCode; static cMutex mutex; static cCondVar keyPressed; @@ -39,7 +39,7 @@ public: virtual ~cRemote(); virtual bool Initialize(void) { return true; } const char *Name(void) { return name; } - static void SetLearning(bool On) { learning = On; } + static void SetLearning(cRemote *Learning) { learning = Learning; } static void Clear(void); static bool Put(eKeys Key); static bool PutMacro(eKeys Key); |