-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delphi 10.3 Rio support (package and C++ files)
- Loading branch information
1 parent
cbfa1e2
commit 2b94abd
Showing
10 changed files
with
1,152 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
// CodeGear C++Builder | ||
// Copyright (c) 1995, 2017 by Embarcadero Technologies, Inc. | ||
// All rights reserved | ||
|
||
// (DO NOT EDIT: machine generated header) 'DeviceAndPlatformInfo.pas' rev: 33.00 (Windows) | ||
|
||
#ifndef DeviceandplatforminfoHPP | ||
#define DeviceandplatforminfoHPP | ||
|
||
#pragma delphiheader begin | ||
#pragma option push | ||
#pragma option -w- // All warnings off | ||
#pragma option -Vx // Zero-length empty class member | ||
#pragma pack(push,8) | ||
#include <System.hpp> | ||
#include <SysInit.hpp> | ||
#include <System.Classes.hpp> | ||
#include <System.SysUtils.hpp> | ||
#include <System.Types.hpp> | ||
#include <System.Devices.hpp> | ||
#include <FMX.Types.hpp> | ||
#include <FMX.Objects.hpp> | ||
#include <FMX.Forms.hpp> | ||
#include <FMX.Controls.hpp> | ||
#include <FMX.Platform.hpp> | ||
#include <FMX.BehaviorManager.hpp> | ||
|
||
//-- user supplied ----------------------------------------------------------- | ||
|
||
namespace Deviceandplatforminfo | ||
{ | ||
//-- forward type declarations ----------------------------------------------- | ||
struct TDeviceAndPlatformInfo; | ||
//-- type declarations ------------------------------------------------------- | ||
struct DECLSPEC_DRECORD TDeviceAndPlatformInfo | ||
{ | ||
public: | ||
Fmx::Types::TOSPlatform Platform; | ||
Fmx::Types::TDeviceDisplayMetrics DisplayMetrics; | ||
System::Devices::TDeviceInfo::TDeviceClass DeviceClass; | ||
System::UnicodeString DeviceName; | ||
System::UnicodeString __fastcall ToString(); | ||
bool __fastcall IsPhone(); | ||
bool __fastcall IsTablet(); | ||
bool __fastcall IsDesktop(); | ||
bool __fastcall IsAndroid(); | ||
bool __fastcall IsWindows(); | ||
bool __fastcall IsiOS(); | ||
bool __fastcall IsOSX(); | ||
static TDeviceAndPlatformInfo __fastcall Retrieve(Fmx::Forms::TForm* const AForm = (Fmx::Forms::TForm*)(0x0)); | ||
}; | ||
|
||
|
||
//-- var, const, procedure --------------------------------------------------- | ||
} /* namespace Deviceandplatforminfo */ | ||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_DEVICEANDPLATFORMINFO) | ||
using namespace Deviceandplatforminfo; | ||
#endif | ||
#pragma pack(pop) | ||
#pragma option pop | ||
|
||
#pragma delphiheader end. | ||
//-- end unit ---------------------------------------------------------------- | ||
#endif // DeviceandplatforminfoHPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.