113 lines
4.2 KiB
C++
113 lines
4.2 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFApp.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFAppHPP
|
|
#define uCEFAppHPP
|
|
|
|
#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 <System.Classes.hpp>
|
|
#include <System.UITypes.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
#include <uCEFBaseRefCounted.hpp>
|
|
#include <uCEFSchemeRegistrar.hpp>
|
|
#include <uCEFApplicationCore.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefapp
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefAppOwn;
|
|
class DELPHICLASS TCustomCefApp;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefAppOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
|
|
|
protected:
|
|
virtual void __fastcall OnBeforeCommandLineProcessing(const Uceftypes::ustring processType, const Ucefinterfaces::_di_ICefCommandLine commandLine) = 0 ;
|
|
virtual void __fastcall OnRegisterCustomSchemes(Ucefschemeregistrar::TCefSchemeRegistrarRef* const registrar) = 0 ;
|
|
virtual void __fastcall GetResourceBundleHandler(Ucefinterfaces::_di_ICefResourceBundleHandler &aHandler) = 0 ;
|
|
virtual void __fastcall GetBrowserProcessHandler(Ucefinterfaces::_di_ICefBrowserProcessHandler &aHandler) = 0 ;
|
|
virtual void __fastcall GetRenderProcessHandler(Ucefinterfaces::_di_ICefRenderProcessHandler &aHandler) = 0 ;
|
|
virtual void __fastcall RemoveReferences() = 0 ;
|
|
|
|
public:
|
|
__fastcall virtual TCefAppOwn();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefAppOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefAppOwn() { }
|
|
|
|
private:
|
|
void *__ICefApp; // Ucefinterfaces::ICefApp
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {970CA670-9070-4642-B188-7D8A22DAEED4}
|
|
operator Ucefinterfaces::_di_ICefApp()
|
|
{
|
|
Ucefinterfaces::_di_ICefApp intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefApp*(void) { return (Ucefinterfaces::ICefApp*)&__ICefApp; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCustomCefApp : public TCefAppOwn
|
|
{
|
|
typedef TCefAppOwn inherited;
|
|
|
|
protected:
|
|
Ucefapplicationcore::TCefApplicationCore* FCefApp;
|
|
Ucefinterfaces::_di_ICefResourceBundleHandler FResourceBundleHandler;
|
|
Ucefinterfaces::_di_ICefBrowserProcessHandler FBrowserProcessHandler;
|
|
Ucefinterfaces::_di_ICefRenderProcessHandler FRenderProcessHandler;
|
|
virtual void __fastcall OnBeforeCommandLineProcessing(const Uceftypes::ustring processType, const Ucefinterfaces::_di_ICefCommandLine commandLine);
|
|
virtual void __fastcall OnRegisterCustomSchemes(Ucefschemeregistrar::TCefSchemeRegistrarRef* const registrar);
|
|
virtual void __fastcall GetResourceBundleHandler(Ucefinterfaces::_di_ICefResourceBundleHandler &aHandler);
|
|
virtual void __fastcall GetBrowserProcessHandler(Ucefinterfaces::_di_ICefBrowserProcessHandler &aHandler);
|
|
virtual void __fastcall GetRenderProcessHandler(Ucefinterfaces::_di_ICefRenderProcessHandler &aHandler);
|
|
void __fastcall InitializeVars();
|
|
virtual void __fastcall RemoveReferences();
|
|
|
|
public:
|
|
__fastcall TCustomCefApp(Ucefapplicationcore::TCefApplicationCore* const aCefApp);
|
|
__fastcall virtual ~TCustomCefApp();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomCefApp(unsigned size, bool owned) : TCefAppOwn(size, owned) { }
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefapp */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFAPP)
|
|
using namespace Ucefapp;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFAppHPP
|