calling MainMenuAction() from an other plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Klaus Schmidinger wrote:
> The ability to "catch the main thread" will be implemented by the
> second attached patch (vdr-1.3.46-mainthreadhook.diff), so that no
> "dirty tricks" should be necessary.
> 
> --- plugin.h	2005/08/27 16:13:17	1.10
> +++ plugin.h	2006/04/17 09:18:16
> @@ -39,6 +39,7 @@
>    virtual bool Start(void);
>    virtual void Stop(void);
>    virtual void Housekeeping(void);
> +  virtual void MainThreadHook(void);
>  

Nice thing to have, but while we're at it, what about a way to open the 
OSD from there? That way we could get rid of the CallPlugin / 
MainMenuAction hacks altogether. Just allow cOsdObject* as return type.

Of course this wont solve the races between plugins. Only one can be 
shown in one pass, the rest must be destroyed.

Cheers,

Udo



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux