API problems (Was: future versions)
Marc Mutz
Marc.Mutz at uni-bielefeld.de
Mon Feb 9 21:05:53 GMT 2004
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.
More information about the kde-core-devel
mailing list