summaryrefslogtreecommitdiff
path: root/remote.c
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.c
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.c')
-rw-r--r--remote.c8
1 files changed, 7 insertions, 1 deletions
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);