[vlc-devel] Getting callbacks from a module within another module
remi at remlab.net
Mon Jan 11 09:02:14 CET 2010
On Mon, 11 Jan 2010 02:09:08 +0100, Francois Cartegnie <fcvlcdev at free.fr>
> I'm looking for a way to get callbacks for a module class/capability
> (let's say audio) received by another kind of module (let's say UI).
Either you create a new module class and implement it as a submodule in the
UI. That's what the window providers do (but it may cause performance
problem if the main module UI is slow to load, such as Qt4).
Or you need to register a variable with a callback on some known reference
object - that's what the dialog providers do.
More information about the vlc-devel