System.Classes.ComponentPlatformsAttribute
Delphi
ComponentPlatformsAttribute = class(TCustomAttribute)
C++
class PASCALIMPLEMENTATION ComponentPlatformsAttribute : public System::TCustomAttribute
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
Description
ComponentPlatformsAttribute provides platform-specific run-time information.
The constructor of this class receives as a parameter a set of platform identifiers, defined as below:
| Platform Identifier | Supported Platform |
|---|---|
|
pidWin32 |
32-bit Windows |
|
pidWin64 |
64-bit Windows |
|
pidOSX32 |
OS X (32-bit) |
|
pidiOSSimulator |
iOS Simulator (runs on the Mac) |
|
pidiOSDevice32 |
32-bit iOS Device (iPad, iPhone, iPod Touch) |
|
pidiOSDevice64 |
64-bit iOS Device (iPad, iPhone, iPod Touch) |
|
pidAndroid |
Android device |
|
pidLinux64 |
64-bit Linux |
ComponentPlatformsAttribute gives component builders more specific control over the exposed components.