From 590d56bf594cbb23ba891c573bf85165baa84538 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 3 Sep 2005 12:36:51 +0200 Subject: The main menu function of a plugin can now be called programmatically --- remote.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'remote.c') diff --git a/remote.c b/remote.c index 325c3a21..a5f8ff94 100644 --- a/remote.c +++ b/remote.c @@ -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); -- cgit v1.2.3