80 lines
3.1 KiB
Plaintext
80 lines
3.1 KiB
Plaintext
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFApplication.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFApplicationHPP
|
|
#define uCEFApplicationHPP
|
|
|
|
#pragma delphiheader begin
|
|
#pragma option push
|
|
#if defined(__BORLANDC__) && !defined(__clang__)
|
|
#pragma option -w- // All warnings off
|
|
#pragma option -Vx // Zero-length empty class member
|
|
#endif
|
|
#pragma pack(push,8)
|
|
#include <System.hpp>
|
|
#include <SysInit.hpp>
|
|
#include <Winapi.Windows.hpp>
|
|
#include <Winapi.ActiveX.hpp>
|
|
#include <Vcl.Forms.hpp>
|
|
#include <System.Classes.hpp>
|
|
#include <System.UITypes.hpp>
|
|
#include <uCEFApplicationCore.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefapplication
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefApplication;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefApplication : public Ucefapplicationcore::TCefApplicationCore
|
|
{
|
|
typedef Ucefapplicationcore::TCefApplicationCore inherited;
|
|
|
|
protected:
|
|
bool FDestroyApplicationObject;
|
|
bool FDestroyAppWindows;
|
|
virtual void __fastcall BeforeInitSubProcess();
|
|
|
|
public:
|
|
__fastcall TCefApplication();
|
|
__fastcall virtual ~TCefApplication();
|
|
virtual void __fastcall UpdateDeviceScaleFactor();
|
|
__property bool DestroyApplicationObject = {read=FDestroyApplicationObject, write=FDestroyApplicationObject, nodefault};
|
|
__property bool DestroyAppWindows = {read=FDestroyAppWindows, write=FDestroyAppWindows, nodefault};
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
using Ucefapplicationcore::TCEFDirectoryDeleterThread;
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
static _DELPHI_CONST System::Byte CEF_SUPPORTED_VERSION_MAJOR = System::Byte(0x8e);
|
|
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_MINOR = System::Int8(0x0);
|
|
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_RELEASE = System::Int8(0xe);
|
|
static _DELPHI_CONST System::Int8 CEF_SUPPORTED_VERSION_BUILD = System::Int8(0x0);
|
|
static _DELPHI_CONST System::Byte CEF_CHROMEELF_VERSION_MAJOR = System::Byte(0x8e);
|
|
static _DELPHI_CONST System::Int8 CEF_CHROMEELF_VERSION_MINOR = System::Int8(0x0);
|
|
static _DELPHI_CONST System::Word CEF_CHROMEELF_VERSION_RELEASE = System::Word(0x1d14);
|
|
static _DELPHI_CONST System::Byte CEF_CHROMEELF_VERSION_BUILD = System::Byte(0xa3);
|
|
#define LIBCEF_DLL L"libcef.dll"
|
|
#define CHROMEELF_DLL L"chrome_elf.dll"
|
|
extern DELPHI_PACKAGE TCefApplication* GlobalCEFApp;
|
|
extern DELPHI_PACKAGE System::Uitypes::TCursor __fastcall CefCursorToWindowsCursor(Uceftypes::TCefCursorType aCefCursor);
|
|
extern DELPHI_PACKAGE void __fastcall DestroyGlobalCEFApp(void);
|
|
} /* namespace Ucefapplication */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFAPPLICATION)
|
|
using namespace Ucefapplication;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFApplicationHPP
|