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.c | |
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.c')
-rw-r--r-- | remote.c | 8 |
1 files changed, 7 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.c 1.44 2005/08/14 10:53:55 kls Exp $ + * $Id: remote.c 1.45 2005/09/03 12:29:48 kls Exp $ */ #include "remote.h" @@ -143,6 +143,12 @@ bool cRemote::Put(const char *Code, bool Repeat, bool Release) return false; } +void cRemote::CallPlugin(const char *Plugin) +{ + plugin = Plugin; + Put(k_Plugin); +} + bool cRemote::HasKeys(void) { cMutexLock MutexLock(&mutex); |