115 lines
3.6 KiB
C++
115 lines
3.6 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFStringVisitor.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFStringVisitorHPP
|
|
#define uCEFStringVisitorHPP
|
|
|
|
#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 Ucefstringvisitor
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefStringVisitorOwn;
|
|
class DELPHICLASS TCefFastStringVisitor;
|
|
class DELPHICLASS TCustomCefStringVisitor;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefStringVisitorOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
|
|
|
protected:
|
|
virtual void __fastcall Visit(const Uceftypes::ustring str);
|
|
|
|
public:
|
|
__fastcall virtual TCefStringVisitorOwn();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefStringVisitorOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefStringVisitorOwn() { }
|
|
|
|
private:
|
|
void *__ICefStringVisitor; // Ucefinterfaces::ICefStringVisitor
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {63ED4D6C-2FC8-4537-964B-B84C008F6158}
|
|
operator Ucefinterfaces::_di_ICefStringVisitor()
|
|
{
|
|
Ucefinterfaces::_di_ICefStringVisitor intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefStringVisitor*(void) { return (Ucefinterfaces::ICefStringVisitor*)&__ICefStringVisitor; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefFastStringVisitor : public TCefStringVisitorOwn
|
|
{
|
|
typedef TCefStringVisitorOwn inherited;
|
|
|
|
protected:
|
|
Ucefinterfaces::_di_TCefStringVisitorProc FVisit;
|
|
virtual void __fastcall Visit(const Uceftypes::ustring str);
|
|
|
|
public:
|
|
__fastcall TCefFastStringVisitor(const Ucefinterfaces::_di_TCefStringVisitorProc callback);
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastStringVisitor(unsigned size, bool owned) : TCefStringVisitorOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastStringVisitor() { }
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCustomCefStringVisitor : public TCefStringVisitorOwn
|
|
{
|
|
typedef TCefStringVisitorOwn inherited;
|
|
|
|
protected:
|
|
void *FEvents;
|
|
virtual void __fastcall Visit(const Uceftypes::ustring str);
|
|
|
|
public:
|
|
__fastcall TCustomCefStringVisitor(const Ucefinterfaces::_di_IChromiumEvents aEvents);
|
|
__fastcall virtual ~TCustomCefStringVisitor();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomCefStringVisitor(unsigned size, bool owned) : TCefStringVisitorOwn(size, owned) { }
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefstringvisitor */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSTRINGVISITOR)
|
|
using namespace Ucefstringvisitor;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFStringVisitorHPP
|