[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: API problems (Was: future versions)
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2004-02-09 21:05:53
Message-ID: 200402092206.03980.Marc.Mutz () uni-bielefeld ! de
[Download RAW message or body]

On Sunday 08 February 2004 11:35, Simon Hausmann wrote:
> On Saturday 07 February 2004 02:54, Marc Mutz wrote:
> > The accumulated mess in kdelibs/interfaces. Yes, I'm all for
> > interfaces but requiring a text editor to implement - say - a dozen
> > "interfaces" is quite heavy, esp. since they each require virtual
> > inheritance, which is surprisingly memory intensive.
>
> Out of curiousity, why do they require virtual inheritance? Kate for
> once manages to implement them without.
<snip>

The virtual inheritance needs to be on the level of the interface class, 
of course. E.g.:

kdelibs/interfaces/ktexteditor/*dcopinterface.h

FooDCOPInterface : virtual public DCOPObject { ... }

Marc

-- 
Mutig warf sich die kleine Überwachungskamera zwischen Täter und Opfer!
                                        --Rena Tangens / FoeBuD e.V.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic