[lazarus] Question about component structure

Peter Vreman pfvreman at wins.uva.nl
Fri Jul 30 16:35:18 EDT 1999


At 21:22 30-7-99 , you wrote:
>That is a good idea. We may want to consider creating a directory structure
>similar to the RTL and FCL, where we have a directory for each platform (or in
>our case, each different type of api). So we would have a lcl/gtk, lcl/qt, and
>lcl/win32 directories that contain the gtkint code for each of those 
>api's. This
>will help us keep things organized as to what code is platform independent and
>what code isn't. All the code in the lcl directory would be platform
>independent. Then when we want to port to another platform, we just have 
>to port
>the code from either the gtk, qt, or win32 directory, whichever is closest to
>the new platform. What do you all think?
Having the independent code also in a directory looks more cleaner, in the 
base lcl dir you can place then some readme and a main Makefile. Look at 
the fcl which also has the independent part in a inc/ directory. And when 
needed you can even then make a i386/ alpha/ etc. dir like in the RTL ;)











More information about the Lazarus mailing list