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 /vdr.c | |
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 'vdr.c')
-rw-r--r-- | vdr.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |