summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-12-01 10:48:08 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-12-01 10:48:08 +0100
commit816e6847aac13ad51bf7d569b90be5f7fbe5c027 (patch)
tree779f79053d895066de16044c73bff327a9209d4c /remote.h
parent125872e75f48af908bd008037226bbddb62666c1 (diff)
downloadvdr-816e6847aac13ad51bf7d569b90be5f7fbe5c027.tar.gz
vdr-816e6847aac13ad51bf7d569b90be5f7fbe5c027.tar.bz2
Macros in 'keymacros.conf' can now use "@plugin" to directly access the main menu function of a given plugin
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/remote.h b/remote.h
index b23b9335..2aeec78c 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.20 2002/11/09 11:07:33 kls Exp $
+ * $Id: remote.h 1.21 2002/12/01 10:39:10 kls Exp $
*/
#ifndef __REMOTE_H
@@ -26,6 +26,7 @@ private:
static char *unknownCode;
static cMutex mutex;
static cCondVar keyPressed;
+ static const char *plugin;
char *name;
protected:
cRemote(const char *Name);
@@ -41,6 +42,7 @@ public:
static void Clear(void);
static bool Put(eKeys Key);
static bool PutMacro(eKeys Key);
+ static const char *GetPlugin(void) { return plugin; }
static eKeys Get(int WaitMs = 1000, char **UnknownCode = NULL);
};