diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-17 10:02:18 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-17 10:02:18 +0200 |
commit | 8433190d5a461248552d3e41c5863ca608f12cda (patch) | |
tree | 87d5496d7903b38f6f5cf02e4385043b48ac562f /plugin.h | |
parent | acf716f1ef5e4cdbc2b38fecdf4d46b2ad75b747 (diff) | |
download | vdr-8433190d5a461248552d3e41c5863ca608f12cda.tar.gz vdr-8433190d5a461248552d3e41c5863ca608f12cda.tar.bz2 |
The new function cPlugin::MainThreadHook() can be used by plugins to perform actions in the context of the main program thread
Diffstat (limited to 'plugin.h')
-rw-r--r-- | plugin.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: plugin.h 1.12 2006/04/15 10:30:33 kls Exp $ + * $Id: plugin.h 1.13 2006/04/17 09:18:16 kls Exp $ */ #ifndef __PLUGIN_H @@ -39,6 +39,7 @@ public: virtual bool Start(void); virtual void Stop(void); virtual void Housekeeping(void); + virtual void MainThreadHook(void); virtual cString Active(void); virtual const char *MainMenuEntry(void); @@ -90,6 +91,7 @@ public: bool InitializePlugins(void); bool StartPlugins(void); void Housekeeping(void); + void MainThreadHook(void); static bool Active(const char *Prompt = NULL); static bool HasPlugins(void); static cPlugin *GetPlugin(int Index); |