summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-17 10:02:18 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-17 10:02:18 +0200
commit8433190d5a461248552d3e41c5863ca608f12cda (patch)
tree87d5496d7903b38f6f5cf02e4385043b48ac562f /vdr.c
parentacf716f1ef5e4cdbc2b38fecdf4d46b2ad75b747 (diff)
downloadvdr-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 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index ea1d0580..2b8b484d 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.260 2006/04/15 13:51:52 kls Exp $
+ * $Id: vdr.c 1.261 2006/04/17 09:23:23 kls Exp $
*/
#include <getopt.h>
@@ -830,6 +830,8 @@ int main(int argc, char *argv[])
// Queued messages:
if (!Skins.IsOpen())
Skins.ProcessQueuedMessages();
+ // Main thread hooks of plugins:
+ PluginManager.MainThreadHook();
// User Input:
cOsdObject *Interact = Menu ? Menu : cControl::Control();
eKeys key = Interface->GetKey((!Interact || !Interact->NeedsFastResponse()) && time(NULL) - LastCamMenu > LASTCAMMENUTIMEOUT);