Re: BonoboGenericFactory for GNOME 2



Martin Baulig wrote:

> Dietmar Maurer <dietmar ximian com> writes:
>
> > Martin Baulig wrote:
> >
> > > ii) if we want to make BonoboGenericFactory a BonoboObject to make it
> > >     more easy to derive from it and to make it more consistent with the
> > >     rest of Bonobo, then I actually see a way to do this with a little
> > >     change in OAF and a little change in BonoboObject.
> > >
> > > So, let's assume we want to do it because of (ii).
> > >
> > > Here's how I think it can be done:
> > >
> > > 1.) First of all, we need to ask Maciej to either rename or remove the
> > >     `ref' and `unref' methods in GNOME::ObjectFactory (from a `grep -r'
> > >     in oaf, they don't seem to be used at all).
> > >
> > > 2.) After that, we create a Bonobo::GenericFactory which derives from
> > >     both GNOME::ObjectFactory and Bonobo::Unknown
> > >
> > > 3.) Then, we need to add a way to override the vepv to BonoboObject.
> >
> > Why should we use multiple inheritance? Why not simply derive the
> > ObjectFactory from Unknown?
>
> Well, that'd mean moving Bonobo::Unknown into OAF.
>

Sure ;-)





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