diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-03-31 14:24:58 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-03-31 14:24:58 +0200 |
commit | daa904724785d52c6ca73416068d90f35721cc97 (patch) | |
tree | 207c85306fc991608996ca8cd23c7815eaaeeda3 /remote.h | |
parent | 8c55ada0af204e7212d2359d221c4f5c632454d8 (diff) | |
download | vdr-daa904724785d52c6ca73416068d90f35721cc97.tar.gz vdr-daa904724785d52c6ca73416068d90f35721cc97.tar.bz2 |
Fixed learning keys when VDR is already running
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 3 |
1 files changed, 2 insertions, 1 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.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); |