[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LCLPlatformDef' (#lcl)

LCLPlatformDirNames

Array constant with the directory names for supported LCL platforms.

Declaration

Source position: lclplatformdef.pas line 44

const LCLPlatformDirNames: array [TLCLPlatform] of string = ('gtk', 'gtk2', 'gtk3', 'win32', 'wince', 'carbon', 'qt', 'qt5', 'fpgui', 'nogui', 'cocoa', 'customdrawn', 'mui');

Description

LCLPlatformDirNames is a array of Strings with directory names for the platforms supported for the LCL. The directory names are relative to the ($LazarusDir)/lcl/interfaces base path and should not include path delimiters. Values in the array are indexed by TLCLPlatform enumeration values.

For example:

// var SDir, SName: String;

// SDir contains 'win32'
SDir := LCLPlatformDirNames[lpWin32];

// SName contains 'win32/win64'
SName := LCLPlatformDisplayNames[lpWin32];

Use LCLPlatformDisplayNames to get the display name for a given TLCLPlatform enumeration value.

See also

LCLPlatformDisplayNames

  

Array constant with the display names for supported LCL platforms.

TLCLPlatform

  

Represents the supported platforms for the LCL.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.