2011-09-29 06:11:28 -05:00
|
|
|
Welcome to the Visual Class Libraries (vcl) code
|
|
|
|
|
|
|
|
source/
|
|
|
|
+ the main cross-platform chunk of source
|
|
|
|
inc/
|
|
|
|
+ cross-platform abstraction headers / definition
|
|
|
|
vcl/
|
|
|
|
+ external headers
|
|
|
|
generic/
|
|
|
|
+ shared helper code for backends,
|
|
|
|
actually built into vcl
|
2011-09-29 10:14:34 -05:00
|
|
|
headless/
|
|
|
|
+ a backend renderer that draws to bitmaps
|
2011-09-29 06:11:28 -05:00
|
|
|
aqua/
|
|
|
|
+ OS/X backend
|
|
|
|
ios/
|
|
|
|
+ skeleton Android backend
|
|
|
|
win/
|
|
|
|
+ windows backend
|
|
|
|
unx/
|
|
|
|
+ unix specific platform backend code and its' sub-platforms
|
2012-01-17 12:03:12 -06:00
|
|
|
plugadapt/
|
|
|
|
+ pluggable framework to select correct unx backend
|
2011-09-29 06:11:28 -05:00
|
|
|
gtk/
|
2012-01-17 12:03:12 -06:00
|
|
|
+ gtk2 support
|
2011-09-29 06:11:28 -05:00
|
|
|
gtk3/
|
2012-01-17 12:03:12 -06:00
|
|
|
+ gtk3.2+ support
|
2011-09-29 06:11:28 -05:00
|
|
|
kde/
|
2012-01-17 12:03:12 -06:00
|
|
|
+ kde3 support
|
|
|
|
kde4/
|
|
|
|
+ kde4 support
|
|
|
|
generic/
|
|
|
|
+ raw X support
|
2011-09-29 06:11:28 -05:00
|
|
|
|
|
|
|
|
2012-01-17 12:03:12 -06:00
|
|
|
How the platform abstraction works
|
2011-09-29 06:11:28 -05:00
|
|
|
|
2012-01-17 12:03:12 -06:00
|
|
|
+ InitVCL calls 'CreateSalInstance'
|
|
|
|
+ ths is implemented by the compiled-in platform backend
|
|
|
|
+ it stores various bits of global state in the
|
|
|
|
'SalData' (inc/saldatabasic.hxx) structure but:
|
|
|
|
+ the SalInstance vtable is the primary outward facing gateway
|
|
|
|
API for platform backends
|
|
|
|
+ It is a factory for:
|
|
|
|
SalFrames, SalVirtualDevices, SalPrinters,
|
|
|
|
Timers, the SolarMutexe, Drag&Drop and other
|
|
|
|
objects, as well as the primary event loop wrapper.
|