It seems like if someone wants to implement a plugin system for RB this might be a good place to start looking to see would need to be done.
sri ----- Forwarded message from Rodrigo Moya <[EMAIL PROTECTED]> ----- Delivered-To: [EMAIL PROTECTED] X-Original-To: [email protected] Delivered-To: [email protected] From: Rodrigo Moya <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] In-Reply-To: <[EMAIL PROTECTED]> Date: Mon, 16 Jan 2006 23:50:47 +0100 Cc: aigiskos <[EMAIL PROTECTED]>, [email protected] Subject: Re: Trying to reach consensus for the proposed modules On Sun, 2006-01-15 at 23:58 +0100, Chipzz wrote: > > Gnome application is coming up with its own plug-in > > framework-- thus needlessly duplicating work. > > That's another thing - but weither that is possible... ? > it is perfectly possible. There is a try in the gnome-office module in CVS, which defines a simple plugin class with the common methods (load, unload, get_list_of_interfaces), and then, that plugin implements a list of interfaces (PluginInterface interface). There is a set of minimum defined interfaces (document loader, with open() method, for instance), etc Applications can then just define their own interfaces for specific needs, but if all GNOME applications used a common plugin system, I'm sure there would be enough common plugins to share between different, unrelated applications. If we could have something like this in a widely used library, like GLib, it would help a lot. -- Rodrigo Moya <[EMAIL PROTECTED]> _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list ----- End forwarded message ----- -- _______________________________________________ rhythmbox-devel mailing list [email protected] http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
