I'm trying to use custom functions for loaderLoadPlugin and loaderUnloadPlugin to register/unregister plugin paths in the dbus plugin as needed but I need to get access to a CompDisplay or DbusDisplay in order to do so. Is there any way to get access to this? -- Travis Watkins http://www.realistanew.com
Travis Watkins wrote:> I'm trying to use custom functions for loaderLoadPlugin and > loaderUnloadPlugin to register/unregister plugin paths in the dbus > plugin as needed but I need to get access to a CompDisplay or > DbusDisplay in order to do so. Is there any way to get access to this? >Could you wrap initPluginForDisplay/Screen instead? This will give you the correct structures plus it will enable the right number of screen option objects at the right time
On 3/3/07, Mike Dransfield <mike@blueroot.co.uk> wrote:> Could you wrap initPluginForDisplay/Screen instead? > > This will give you the correct structures plus it will enable > the right number of screen option objects at the right time >Awesome, that looks perfect. -- Travis Watkins http://www.realistanew.com
On Fri, 2007-03-02 at 23:43 -0600, Travis Watkins wrote:> I'm trying to use custom functions for loaderLoadPlugin and > loaderUnloadPlugin to register/unregister plugin paths in the dbus > plugin as needed but I need to get access to a CompDisplay or > DbusDisplay in order to do so. Is there any way to get access to this?Wrap setDisplayOption and track changes to the active_plugins option. That will let you know when a plugin gets loaded or unloaded. - David