Re: Are CORBA interfaces immutable?????
- From: Ron Jones <ronjones xnet com>
- To: "Diego Sevilla Ruiz (dsevilla um es)" <dsevilla ditec um es>
- Cc: gnome-devel-list gnome org
- Subject: Re: Are CORBA interfaces immutable?????
- Date: Thu, 31 Aug 2000 20:40:42 -0500
On Thu, Aug 31, 2000 at 12:24:52PM +0200, Diego Sevilla Ruiz (dsevilla@um.es) wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi, Ron and all:
>
> Ron Jones wrote:
>
> > On Tue, Aug 29, 2000 at 10:31:43PM -0700, Maciej Stachowiak wrote:
> > >
> > > Nontheless, I think we really need to figure out some kind of solution
> > > for interface versioning. I think it's pretty clear a lot of
> > > interfaces being written now will have to change in the future.
> > >
> > > - Maciej
> >
> > I think that the COM way is actually pretty reasonable. Interfaces do not
> > change, period (implementations do, of coarse). If you need to change your
> > interface, then you rename it, perhaps deriving from the previous interface
> > if you are just adding methods, e.g.
> >
> > interface IClassFactory2 : IClassFactory
> >
>
> Why renaming and not using the IDL versioning? This is the COM way. But IDL
> defines a version number using #pragma directives within the IDL file, isn't
> it?
>
> #pragma version 1.1
>
> and so on. IR identifiers are something like
>
> IDL:Package/SubPagkage/Interface:version
>
How does this translate into the C binding? Can you use both interfaces
in the same program?
Ron
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]