diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-03 12:36:51 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-03 12:36:51 +0200 |
commit | 590d56bf594cbb23ba891c573bf85165baa84538 (patch) | |
tree | f9eb6f2e0747ab2763cdd8e2a4bc328bb114e634 /remote.h | |
parent | 32733e430a3e91ea359333e2859a05d31fbbcfbe (diff) | |
download | vdr-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.h | 6 |
1 files changed, 5 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.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); |