Re: bonobo and interface inheritance issue



On Wed, 20 Jun 2001, Bill Haneman wrote:

> BonoboParentClass implements IDLinterface
> BonoboChildClass implements extendedIDLinterface
> 
> where the IDL relationship is:
> 
>   interface extendedIDLinterface : IDLinterface { ... };
> 
> Now, since CORBA is just about interfaces, a CORBA object doesn't
> inherit any implementation.  But it seems in bonobo that
> implementations *are* inherited

You don't have to inherit your extendedInterface implementation from a
basicInterface implementaiton.

>, and in fact since GObject does not
> (yet??) support overriding of fps in the vtable

Of course it does, if you use virtual methods (function pointers to 
the virtual methods are stored in the class structures)

-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
If Java had true garbage collection, most programs would delete themselves upon execution.





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