System.SysUtils.TOSVersion.TPlatform
Delphi
TPlatform = (pfWindows, pfMacOS, pfiOS, pfAndroid, pfWinRT, pfLinux);
C++
enum DECLSPEC_DENUM TPlatform : unsigned char { pfWindows, pfMacOS, pfiOS, pfAndroid, pfWinRT, pfLinux };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TOSVersion |
Description
Enumerates the platforms on which Delphi and C++Builder applications can run (Windows, Mac OS, and others).
Use TOSVersion.Platform to get the current platform. The supported platforms are the following:
Constant | Platform |
---|---|
pfWindows
|
Windows |
pfMacOS
|
Mac OS |
pfiOS
|
iOS |
pfAndroid
|
Android |
pfLinux
|
Linux |