[lazarus] compile error on New Sources from cvs - FIXED
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Nov 27 17:35:37 EST 2003
On Thu, 27 Nov 2003 23:40:38 +0100 Marc Weustink <marc at dommelstein.net>
wrote:
> At 23:24 27-11-2003, Mattias Gaertner wrote:
> >On Thu, 27 Nov 2003 23:10:24 +0100 Marc Weustink <marc at dommelstein.net>
> >wrote:
>
> [snip]
>
> > > I don't think this is the way to go. Now, if the interface gets
> > > extended with mode direct calls, we can add a TBase... for every
> > > TComponent/TControl etc we need.
> > >
> > > OK, what happened.
> > >
> > > The LCL needs the baseinterface..
> > > The baseinterface needs the LCL..
> > >
> > > That means problems. Sure you can introduce all kinds of base classes,
> > > but
> > >
> > > how would you do this with a TBaseControl and a TBaseWinControl ?
> > > If we are going to introduce dedicated interface classes, it starts to
> > > look like a discussion we had a few years ago.
> > >
> > > Seen the latest problems and implications, I wonder if we should
> > > continue the last changes we made. IMO, we should undo it and try
> > > another route.
> >
> >What about replacing TBaseMenuItem with TComponent?
>
> Hmm...
>
> That would require a lot of typecasting, but is better.
> The new situation would be
>
> The LCL needs the baseInterface and FCL
> The baseInterface needs FCL
> The XXXInterface needs LCL and baseInterface and FCL
>
> I don't see a problem here.
No wonder. It is the old situation. :)
I will change it ...
Mattias
More information about the Lazarus
mailing list