Re: Symmetricity(sp?) of query_interface
- From: Michael Meeks <michael helixcode com>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: gnome-components-list gnome org
- Subject: Re: Symmetricity(sp?) of query_interface
- Date: Wed, 21 Jun 2000 09:43:59 -0400 (EDT)
Hi Gergo,
On Wed, 21 Jun 2000, ERDI Gergo wrote:
> Then why doesn't query_interface return an Unknown?
Fixed, good call, no one knows. Shrouded in the mists of time. It
does now.
> And, on another note, shouldn't aggregation be supported in
> Bonobo::Unknown?
It could be, but it is unneccessary. The situation you suggest can
be achieved with the creation of a BonoboObjectClient and aggregating that
in the normal way. The situation you propose has never arisen, and we are
interested in making the common case easy, fast and simple. To do as you
suggest would involve not only adding an 'add_interface' method, but also
a 'get_interface_list' interface too, and add much complication to what is
currently quite a clean piece of code.
> that PersistStreamInstance to return me when queried for MyProgram?
> Shouldn't there be a Bonobo::Unknown::register_interface (Object iface)
> call? Otherwise, implementing inter-implementation symmetricity in
> query_interface() seems impossible to me.
Do you really want to do this ?
Regards,
Michael.
--
mmeeks@gnu.org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]