diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-12-01 10:48:08 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-12-01 10:48:08 +0100 |
commit | 816e6847aac13ad51bf7d569b90be5f7fbe5c027 (patch) | |
tree | 779f79053d895066de16044c73bff327a9209d4c /remote.h | |
parent | 125872e75f48af908bd008037226bbddb62666c1 (diff) | |
download | vdr-816e6847aac13ad51bf7d569b90be5f7fbe5c027.tar.gz vdr-816e6847aac13ad51bf7d569b90be5f7fbe5c027.tar.bz2 |
Macros in 'keymacros.conf' can now use "@plugin" to directly access the main menu function of a given plugin
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 4 |
1 files changed, 3 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.h 1.20 2002/11/09 11:07:33 kls Exp $ + * $Id: remote.h 1.21 2002/12/01 10:39:10 kls Exp $ */ #ifndef __REMOTE_H @@ -26,6 +26,7 @@ private: static char *unknownCode; static cMutex mutex; static cCondVar keyPressed; + static const char *plugin; char *name; protected: cRemote(const char *Name); @@ -41,6 +42,7 @@ public: static void Clear(void); static bool Put(eKeys Key); static bool PutMacro(eKeys Key); + static const char *GetPlugin(void) { return plugin; } static eKeys Get(int WaitMs = 1000, char **UnknownCode = NULL); }; |