The main menu function of a plugin can now be called programmatically

This commit is contained in:
Klaus Schmidinger
2005-09-03 12:36:51 +02:00
parent 32733e430a
commit 590d56bf59
4 changed files with 17 additions and 3 deletions

View File

@@ -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);