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

List:       kde-devel
Subject:    Re: KOM Aggregation question
From:       Simon Hausmann <tronical () gmx ! net>
Date:       1999-08-11 15:29:29
[Download RAW message or body]

On Wed, 11 Aug 1999, Bavo De Ridder wrote:

> Hello,
> 
> If I have the following interface:
> 
> interface MyInterface : KOM::Component, MyBaseInterface
> {
> }
> 
> If I call MyInterface's GetInterface( "MyBaseInterface" ) will 
> this return an object pointer to the MyInterface object itself ?
> 
> Or will KOM complain about not finding the interface (assuming I
> haven't added the MyBaseInterface to the aggregation containers).

You have to tell KOM about this builtin aggregate.

Use ADD_INTERFACE( "foo" ) in  the constructor.

Bye,
 Simon

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

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