mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
The main menu function of a plugin can now be called programmatically
This commit is contained in:
8
remote.c
8
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);
|
||||
|
Reference in New Issue
Block a user