summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-09-03 12:36:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-09-03 12:36:51 +0200
commit590d56bf594cbb23ba891c573bf85165baa84538 (patch)
treef9eb6f2e0747ab2763cdd8e2a4bc328bb114e634 /remote.h
parent32733e430a3e91ea359333e2859a05d31fbbcfbe (diff)
downloadvdr-590d56bf594cbb23ba891c573bf85165baa84538.tar.gz
vdr-590d56bf594cbb23ba891c573bf85165baa84538.tar.bz2
The main menu function of a plugin can now be called programmatically
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/remote.h b/remote.h
index 995aa6cd..f7917baa 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.30 2005/08/13 11:28:10 kls Exp $
+ * $Id: remote.h 1.31 2005/09/03 12:28:42 kls Exp $
*/
#ifndef __REMOTE_H
@@ -44,6 +44,10 @@ public:
static void Clear(void);
static bool Put(eKeys Key, bool AtFront = false);
static bool PutMacro(eKeys Key);
+ static void CallPlugin(const char *Plugin);
+ ///< Initiates calling the given plugin's main menu function.
+ ///< The Plugin parameter is the name of the plugin, and must be
+ ///< a static string.
static const char *GetPlugin(void) { return plugin; }
static bool HasKeys(void);
static eKeys Get(int WaitMs = 1000, char **UnknownCode = NULL);