On Mon, 15 Apr 2013 12:07:19 +0100 Graeme Geldenhuys <gra...@geldenhuys.co.uk> wrote:
> On 14/04/13 08:59, Mattias Gaertner wrote: >[...] > tiThread.pas > FMX.tiThread.pas > > Now the developer could simply use tiThread in the uses clause of > FireMonkey code, because his FireMonkey apps define the FMX namespace, > so the compiler and IDE knew which tiThread unit to use. No IFDEF's > required! >[...] > That way we don't need $IFDEFs, just "FMX" in the project unit scope > names list. In fact, I don't recall seeing a compiler directive to > distinguish FMX and VCL. > Units are often given the prefix. Eg. Vcl.Forms and FMX.Forms. How is the namespace passed to the compiler? > PS: > I'm not sure if Free Pascal already supports such namespace / unit scope > yet. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus