99 lines
3.7 KiB
C++
99 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) 'uCEFKeyboardHandler.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFKeyboardHandlerHPP
|
|
#define uCEFKeyboardHandlerHPP
|
|
|
|
#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 Ucefkeyboardhandler
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefKeyboardHandlerOwn;
|
|
class DELPHICLASS TCustomKeyboardHandler;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefKeyboardHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
|
|
|
protected:
|
|
virtual bool __fastcall OnPreKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent, /* out */ bool &isKeyboardShortcut);
|
|
virtual bool __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent);
|
|
virtual void __fastcall RemoveReferences();
|
|
|
|
public:
|
|
__fastcall virtual TCefKeyboardHandlerOwn();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefKeyboardHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefKeyboardHandlerOwn() { }
|
|
|
|
private:
|
|
void *__ICefKeyboardHandler; // Ucefinterfaces::ICefKeyboardHandler
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {0512F4EC-ED88-44C9-90D3-5C6D03D3B146}
|
|
operator Ucefinterfaces::_di_ICefKeyboardHandler()
|
|
{
|
|
Ucefinterfaces::_di_ICefKeyboardHandler intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefKeyboardHandler*(void) { return (Ucefinterfaces::ICefKeyboardHandler*)&__ICefKeyboardHandler; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCustomKeyboardHandler : public TCefKeyboardHandlerOwn
|
|
{
|
|
typedef TCefKeyboardHandlerOwn inherited;
|
|
|
|
protected:
|
|
void *FEvents;
|
|
virtual bool __fastcall OnPreKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent, /* out */ bool &isKeyboardShortcut);
|
|
virtual bool __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefBrowser browser, const Uceftypes::PCefKeyEvent event, Uceftypes::TCefEventHandle osEvent);
|
|
virtual void __fastcall RemoveReferences();
|
|
|
|
public:
|
|
__fastcall virtual TCustomKeyboardHandler(const Ucefinterfaces::_di_IChromiumEvents events);
|
|
__fastcall virtual ~TCustomKeyboardHandler();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomKeyboardHandler(unsigned size, bool owned) : TCefKeyboardHandlerOwn(size, owned) { }
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefkeyboardhandler */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFKEYBOARDHANDLER)
|
|
using namespace Ucefkeyboardhandler;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFKeyboardHandlerHPP
|