summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-04-30 12:53:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-04-30 12:53:35 +0200
commit6e93ac95258aeb37b6b642484ccaa37e091b84ab (patch)
tree2f967a2c89c9b9910ab5896f8d538f73e7a6613d /remote.h
parentd8264ee1b2c6331bbf5979e6e8dff1e2c00d95bf (diff)
downloadvdr-6e93ac95258aeb37b6b642484ccaa37e091b84ab.tar.gz
vdr-6e93ac95258aeb37b6b642484ccaa37e091b84ab.tar.bz2
Implemented the SVDRP command REMO
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/remote.h b/remote.h
index fb326897..a38d6616 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.39 2007/02/24 15:53:00 kls Exp $
+ * $Id: remote.h 1.40 2007/04/30 12:37:37 kls Exp $
*/
#ifndef __REMOTE_H
@@ -31,6 +31,7 @@ private:
static time_t lastActivity;
static const char *keyMacroPlugin;
static const char *callPlugin;
+ static bool enabled;
char *name;
protected:
cRemote(const char *Name);
@@ -45,6 +46,8 @@ public:
const char *Name(void) { return name; }
static void SetLearning(cRemote *Learning) { learning = Learning; }
static bool IsLearning() { return learning != NULL; }
+ static bool Enabled(void) { return enabled; }
+ static void SetEnabled(bool Enabled) { enabled = Enabled; }
static void Clear(void);
static bool Put(eKeys Key, bool AtFront = false);
static bool PutMacro(eKeys Key);