Files
common/CEF4Delphi/win32/hpps/uCEFv8Interceptor.hpp
T
2026-06-12 23:18:12 +08:00

104 lines
4.8 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFv8Interceptor.pas' rev: 37.00 (Windows)
#ifndef uCEFv8InterceptorHPP
#define uCEFv8InterceptorHPP
#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 <uCEFBaseRefCounted.hpp>
#include <uCEFInterfaces.hpp>
#include <uCEFTypes.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefv8interceptor
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefV8InterceptorOwn;
class DELPHICLASS TCefFastV8Interceptor;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefV8InterceptorOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
{
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
protected:
virtual bool __fastcall GetByName(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception);
virtual bool __fastcall GetByIndex(int index, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception);
virtual bool __fastcall SetByName(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception);
virtual bool __fastcall SetByIndex(int index, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception);
public:
__fastcall virtual TCefV8InterceptorOwn();
public:
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefV8InterceptorOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefV8InterceptorOwn() { }
private:
void *__ICefV8Interceptor; // Ucefinterfaces::ICefV8Interceptor
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {B3B8FD7C-A916-4B25-93A2-2892AC324F21}
operator Ucefinterfaces::_di_ICefV8Interceptor()
{
Ucefinterfaces::_di_ICefV8Interceptor intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefV8Interceptor*(void) { return (Ucefinterfaces::ICefV8Interceptor*)&__ICefV8Interceptor; }
#endif
};
#pragma pack(pop)
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefFastV8Interceptor : public TCefV8InterceptorOwn
{
typedef TCefV8InterceptorOwn inherited;
protected:
Ucefinterfaces::_di_TCefV8InterceptorGetterByNameProc FGetterByName;
Ucefinterfaces::_di_TCefV8InterceptorSetterByNameProc FSetterByName;
Ucefinterfaces::_di_TCefV8InterceptorGetterByIndexProc FGetterByIndex;
Ucefinterfaces::_di_TCefV8InterceptorSetterByIndexProc FSetterByIndex;
virtual bool __fastcall GetByName(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception);
virtual bool __fastcall GetByIndex(int index, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception);
virtual bool __fastcall SetByName(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception);
virtual bool __fastcall SetByIndex(int index, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception);
public:
__fastcall TCefFastV8Interceptor(const Ucefinterfaces::_di_TCefV8InterceptorGetterByNameProc getterbyname, const Ucefinterfaces::_di_TCefV8InterceptorSetterByNameProc setterbyname, const Ucefinterfaces::_di_TCefV8InterceptorGetterByIndexProc getterbyindex, const Ucefinterfaces::_di_TCefV8InterceptorSetterByIndexProc setterbyindex);
public:
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastV8Interceptor(unsigned size, bool owned) : TCefV8InterceptorOwn(size, owned) { }
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastV8Interceptor() { }
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefv8interceptor */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8INTERCEPTOR)
using namespace Ucefv8interceptor;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFv8InterceptorHPP