Re: OT: writing gobject-based plugins

2010-01-18 Thread Bastien Nocera
On Sat, 2010-01-16 at 15:03 +, 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 ar

Re: OT: writing gobject-based plugins

2010-01-16 Thread Daniel P. Berrange
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 d

OT: writing gobject-based plugins

2010-01-16 Thread Christoph Höger
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. I can enumerate those plugins with g_type_children(), but only after they have been instantiated. Is there a way