On Sat, 2010-01-16 at 15:03 +0000, Daniel P. Berrange wrote: > On Sat, Jan 16, 2010 at 03:22:32PM +0100, Christoph H?ger wrote: > > Hi, > > > > I am currently playing with gobject to learn some of this boilerplate > > stuff. For my small application I'd like to be able to write plugins > > that are derived from an abstract class. > > Not answering you main question, but depending on exactly what you envision > for 'plugins', you might be interested in the Ethos library > > http://git.dronelabs.com/ethos/about/ > http://docs.dronelabs.com/ethos/ > > I wrote my own plugin code for a gtk app, only to discover this library > did 99% of what I wanted :-) There's also libpeas (based on the code from gedit), for which I already ported parts of Totem. This is more likely to be the "de facto" solution for creating plugins, as gedit will depend on it, thus be in the based GNOME Desktop. libpeas repo (don't worry about the name): http://code.istique.net/gitweb/?p=libgpe.git;a=summary GEdit ported to libgpe: http://git.gnome.org/browse/gedit/log/?h=libgpe The same thing for Totem: https://bugzilla.gnome.org/show_bug.cgi?id=604830 Cheers -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel