Re: A sample patch that illustrates how to do virtual methods



On Mon, 2006-11-06 at 20:08 +0100, Philip Van Hoof wrote:
> On Mon, 2006-11-06 at 15:49 +0100, Philip Van Hoof wrote:
> 
> > For example making most methods virtual (which isn't easy in GObject,
> > but I can teach you --it's not as easy as putting "virtual" in front of
> > the method name, no. You need to store the function pointer
> > somewhere--).
> 
> This patch illustrates how to transform normal methods into virtual
> ones.
> 
> I would be very very interested in patches like this coming from people
> on this mailing list ;-).
> 
> As far as I'm concerned, all implementation-methods of the tinymail
> framework can be virtual ones (that's a lot, indeed).

ps. If you are planning to do a few: get in touch with me on Jabber or
IRC. Else we will be overlapping each others work sooner or later.


-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]