summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-03-31 14:24:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-03-31 14:24:58 +0200
commitdaa904724785d52c6ca73416068d90f35721cc97 (patch)
tree207c85306fc991608996ca8cd23c7815eaaeeda3 /remote.h
parent8c55ada0af204e7212d2359d221c4f5c632454d8 (diff)
downloadvdr-daa904724785d52c6ca73416068d90f35721cc97.tar.gz
vdr-daa904724785d52c6ca73416068d90f35721cc97.tar.bz2
Fixed learning keys when VDR is already running
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/remote.h b/remote.h
index 0213b0cf..ce6055ff 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.33 2006/01/29 12:27:08 kls Exp $
+ * $Id: remote.h 1.34 2006/03/31 14:18:44 kls Exp $
*/
#ifndef __REMOTE_H
@@ -42,6 +42,7 @@ public:
virtual bool Initialize(void);
const char *Name(void) { return name; }
static void SetLearning(cRemote *Learning) { learning = Learning; }
+ static bool IsLearning() { return learning != NULL; }
static void Clear(void);
static bool Put(eKeys Key, bool AtFront = false);
static bool PutMacro(eKeys Key);