85 lines
3.0 KiB
C++
85 lines
3.0 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFv8Context.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFv8ContextHPP
|
|
#define uCEFv8ContextHPP
|
|
|
|
#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 Ucefv8context
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefv8ContextRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefv8ContextRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
|
|
|
protected:
|
|
Ucefinterfaces::_di_ICefTaskRunner __fastcall GetTaskRunner();
|
|
bool __fastcall IsValid();
|
|
Ucefinterfaces::_di_ICefBrowser __fastcall GetBrowser();
|
|
Ucefinterfaces::_di_ICefFrame __fastcall GetFrame();
|
|
Ucefinterfaces::_di_ICefv8Value __fastcall GetGlobal();
|
|
bool __fastcall Enter();
|
|
bool __fastcall Exit();
|
|
bool __fastcall IsSame(const Ucefinterfaces::_di_ICefv8Context that);
|
|
bool __fastcall Eval(const Uceftypes::ustring code, const Uceftypes::ustring script_url, int start_line, Ucefinterfaces::_di_ICefv8Value &retval, Ucefinterfaces::_di_ICefV8Exception &exception);
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefv8Context __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefv8Context __fastcall Current();
|
|
__classmethod Ucefinterfaces::_di_ICefv8Context __fastcall Entered();
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefv8ContextRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefv8ContextRef() { }
|
|
|
|
private:
|
|
void *__ICefv8Context; // Ucefinterfaces::ICefv8Context
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {2295A11A-8773-41F2-AD42-308C215062D9}
|
|
operator Ucefinterfaces::_di_ICefv8Context()
|
|
{
|
|
Ucefinterfaces::_di_ICefv8Context intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefv8Context*(void) { return (Ucefinterfaces::ICefv8Context*)&__ICefv8Context; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefv8context */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFV8CONTEXT)
|
|
using namespace Ucefv8context;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFv8ContextHPP
|