Re: interface question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

OK, I tracked the issue down a bit to glibmm. When wrapping a type
glibmm searches all it parents type and takes the first it finds.
Anyway, interfaces are not implemented using inheritance in C and that
leads to the result that glibmm does not find out the AnjutaApp does
implement AnjutaShell because it only sees AnjutaApp -> GnomeApp -> ...
- -> GObject

Seems that I need some other solution!

Regards,
Johannes

Murray Cumming wrote:
> On Sat, 2006-09-23 at 13:07 +0200, Johannes Schmid wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>>
>> Hi!
>>
>>> And does that definitely register the AnjutaApp and AnjutaShell types?
>> Well, it does not register AnjutaApp because this is not part of
>> Libanjuta. AnjutaApp is anjuta's implementation of AnjutaShell.
> 
> OK. Still, it should be able to figure out that it has a wrapper for the
> base class instead. But maybe that doesn't work so well for interfaces.
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFFXas7Dsf+G5b/WsRAuMfAKDFdTTQBOnz95TfQZmOowm4tsvlPwCfRf83
2PZZFIaZO9DMgJZBBfoJTwU=
=uZDD
-----END PGP SIGNATURE-----



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