[lazarus] RFC : Type separation
Michal Bukovjan
mbukovjan at praguesoft.cz
Fri Aug 6 09:56:52 EDT 1999
Hello,
I wanted to put into comments the idea that simple type used in
controls.pp could be separated into a separate unit, say
controltypes.pp.
The same could apply to stdccontrols.pp and on. Note that these would be
units, not include files.
By simple types I mean type definitons that are not related to classes,
mainly enumerated types and sets, and perhaps some constants, too.
This would allow to reference these types in units like lmessages.pp,
gtkint.pp and gtkobject types, without referencing the whole classes, so
that they can be used in messages without the need to typecast
everything.
What do you think?
Michal Bukovjan
More information about the Lazarus
mailing list