98 lines
3.7 KiB
C++
98 lines
3.7 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFv8Accessor.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFv8AccessorHPP
|
|
#define uCEFv8AccessorHPP
|
|
|
|
#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 Ucefv8accessor
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefV8AccessorOwn;
|
|
class DELPHICLASS TCefFastV8Accessor;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefV8AccessorOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
|
|
|
protected:
|
|
virtual bool __fastcall Get(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception);
|
|
virtual bool __fastcall Set_(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception);
|
|
|
|
public:
|
|
__fastcall virtual TCefV8AccessorOwn();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefV8AccessorOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefV8AccessorOwn() { }
|
|
|
|
private:
|
|
void *__ICefV8Accessor; // Ucefinterfaces::ICefV8Accessor
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {DCA6D4A2-726A-4E24-AA64-5E8C731D868A}
|
|
operator Ucefinterfaces::_di_ICefV8Accessor()
|
|
{
|
|
Ucefinterfaces::_di_ICefV8Accessor intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefV8Accessor*(void) { return (Ucefinterfaces::ICefV8Accessor*)&__ICefV8Accessor; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefFastV8Accessor : public TCefV8AccessorOwn
|
|
{
|
|
typedef TCefV8AccessorOwn inherited;
|
|
|
|
protected:
|
|
Ucefinterfaces::_di_TCefV8AccessorGetterProc FGetter;
|
|
Ucefinterfaces::_di_TCefV8AccessorSetterProc FSetter;
|
|
virtual bool __fastcall Get(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, Ucefinterfaces::_di_ICefv8Value &retval, Uceftypes::ustring &exception);
|
|
virtual bool __fastcall Set_(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefv8Value object_, const Ucefinterfaces::_di_ICefv8Value value, Uceftypes::ustring &exception);
|
|
|
|
public:
|
|
__fastcall TCefFastV8Accessor(const Ucefinterfaces::_di_TCefV8AccessorGetterProc getter, const Ucefinterfaces::_di_TCefV8AccessorSetterProc setter);
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastV8Accessor(unsigned size, bool owned) : TCefV8AccessorOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastV8Accessor() { }
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefv8accessor */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8ACCESSOR)
|
|
using namespace Ucefv8accessor;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFv8AccessorHPP
|