Re: Symmetricity(sp?) of query_interface
- From: Mathieu Lacage <lacage email enst fr>
- To: Michael Meeks <mmeeks gnu org>
- Cc: gnome-components-list gnome org
- Subject: Re: Symmetricity(sp?) of query_interface
- Date: 21 Jun 2000 17:48:45 +0200
Michael Meeks <michael@helixcode.com> writes:
As a side note, the idea below was followed in OpenParts
and it was pretty ugly for not much flexiblity gained.
Why would you want to do this ?
/me is curious.
>
> > 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
>
>
> _______________________________________________
> gnome-components-list mailing list
> gnome-components-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-components-list
>
>
--
Mathieu Lacage, mathieu@gnome.org
212 rue de tolbiac, 75013 Paris, FRANCE
http://www.advogato.org/person/mathieu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]