97 lines
3.3 KiB
C++
97 lines
3.3 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFFindHandler.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFFindHandlerHPP
|
|
#define uCEFFindHandlerHPP
|
|
|
|
#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 <uCEFTypes.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Uceffindhandler
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefFindHandlerOwn;
|
|
class DELPHICLASS TCustomFindHandler;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefFindHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
|
|
|
protected:
|
|
virtual void __fastcall OnFindResult(const Ucefinterfaces::_di_ICefBrowser browser, int identifier, int count, const Uceftypes::PCefRect selectionRect, int activeMatchOrdinal, bool finalUpdate) = 0 ;
|
|
virtual void __fastcall RemoveReferences();
|
|
|
|
public:
|
|
__fastcall virtual TCefFindHandlerOwn();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFindHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFindHandlerOwn() { }
|
|
|
|
private:
|
|
void *__ICefFindHandler; // Ucefinterfaces::ICefFindHandler
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {F20DF234-BD43-42B3-A80B-D354A9E5B787}
|
|
operator Ucefinterfaces::_di_ICefFindHandler()
|
|
{
|
|
Ucefinterfaces::_di_ICefFindHandler intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefFindHandler*(void) { return (Ucefinterfaces::ICefFindHandler*)&__ICefFindHandler; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCustomFindHandler : public TCefFindHandlerOwn
|
|
{
|
|
typedef TCefFindHandlerOwn inherited;
|
|
|
|
protected:
|
|
void *FEvents;
|
|
virtual void __fastcall OnFindResult(const Ucefinterfaces::_di_ICefBrowser browser, int identifier, int count, const Uceftypes::PCefRect selectionRect, int activeMatchOrdinal, bool finalUpdate);
|
|
virtual void __fastcall RemoveReferences();
|
|
|
|
public:
|
|
__fastcall virtual TCustomFindHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
|
__fastcall virtual ~TCustomFindHandler();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomFindHandler(unsigned size, bool owned) : TCefFindHandlerOwn(size, owned) { }
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Uceffindhandler */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFFINDHANDLER)
|
|
using namespace Uceffindhandler;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFFindHandlerHPP
|