Initial commit
This commit is contained in:
@@ -0,0 +1,147 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFTextfieldDelegate.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFTextfieldDelegateHPP
|
||||
#define uCEFTextfieldDelegateHPP
|
||||
|
||||
#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 <System.Classes.hpp>
|
||||
#include <System.SysUtils.hpp>
|
||||
#include <uCEFBaseRefCounted.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFViewDelegate.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Uceftextfielddelegate
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCefTextfieldDelegateRef;
|
||||
class DELPHICLASS TCefTextfieldDelegateOwn;
|
||||
class DELPHICLASS TCustomTextfieldDelegate;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefTextfieldDelegateRef : public Ucefviewdelegate::TCefViewDelegateRef
|
||||
{
|
||||
typedef Ucefviewdelegate::TCefViewDelegateRef inherited;
|
||||
|
||||
protected:
|
||||
void __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult);
|
||||
void __fastcall OnAfterUserAction(const Ucefinterfaces::_di_ICefTextfield textfield);
|
||||
|
||||
public:
|
||||
__classmethod Ucefinterfaces::_di_ICefTextfieldDelegate __fastcall UnWrap(void * data);
|
||||
public:
|
||||
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefTextfieldDelegateRef(void * data) : Ucefviewdelegate::TCefViewDelegateRef(data) { }
|
||||
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefTextfieldDelegateRef() { }
|
||||
|
||||
private:
|
||||
void *__ICefTextfieldDelegate; // Ucefinterfaces::ICefTextfieldDelegate
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {72612994-92BB-4DE9-BB38-6F49FB45F94B}
|
||||
operator Ucefinterfaces::_di_ICefTextfieldDelegate()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefTextfieldDelegate intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefTextfieldDelegate*(void) { return (Ucefinterfaces::ICefTextfieldDelegate*)&__ICefTextfieldDelegate; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCefTextfieldDelegateOwn : public Ucefviewdelegate::TCefViewDelegateOwn
|
||||
{
|
||||
typedef Ucefviewdelegate::TCefViewDelegateOwn inherited;
|
||||
|
||||
protected:
|
||||
virtual void __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult);
|
||||
virtual void __fastcall OnAfterUserAction(const Ucefinterfaces::_di_ICefTextfield textfield);
|
||||
virtual void __fastcall InitializeCEFMethods();
|
||||
|
||||
public:
|
||||
__fastcall virtual TCefTextfieldDelegateOwn();
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefTextfieldDelegateOwn(unsigned size, bool owned) : Ucefviewdelegate::TCefViewDelegateOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefTextfieldDelegateOwn() { }
|
||||
|
||||
private:
|
||||
void *__ICefTextfieldDelegate; // Ucefinterfaces::ICefTextfieldDelegate
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {72612994-92BB-4DE9-BB38-6F49FB45F94B}
|
||||
operator Ucefinterfaces::_di_ICefTextfieldDelegate()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefTextfieldDelegate intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefTextfieldDelegate*(void) { return (Ucefinterfaces::ICefTextfieldDelegate*)&__ICefTextfieldDelegate; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCustomTextfieldDelegate : public TCefTextfieldDelegateOwn
|
||||
{
|
||||
typedef TCefTextfieldDelegateOwn inherited;
|
||||
|
||||
protected:
|
||||
void *FEvents;
|
||||
virtual void __fastcall OnGetPreferredSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetMinimumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetMaximumSize(const Ucefinterfaces::_di_ICefView view, Uceftypes::TCefSize &aResult);
|
||||
virtual void __fastcall OnGetHeightForWidth(const Ucefinterfaces::_di_ICefView view, int width, int &aResult);
|
||||
virtual void __fastcall OnParentViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView parent);
|
||||
virtual void __fastcall OnChildViewChanged(const Ucefinterfaces::_di_ICefView view, bool added, const Ucefinterfaces::_di_ICefView child);
|
||||
virtual void __fastcall OnWindowChanged(const Ucefinterfaces::_di_ICefView view, bool added);
|
||||
virtual void __fastcall OnLayoutChanged(const Ucefinterfaces::_di_ICefView view, const Uceftypes::TCefRect &new_bounds);
|
||||
virtual void __fastcall OnFocus(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnBlur(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnThemeChanged(const Ucefinterfaces::_di_ICefView view);
|
||||
virtual void __fastcall OnKeyEvent(const Ucefinterfaces::_di_ICefTextfield textfield, const Uceftypes::TCefKeyEvent &event, bool &aResult);
|
||||
virtual void __fastcall OnAfterUserAction(const Ucefinterfaces::_di_ICefTextfield textfield);
|
||||
|
||||
public:
|
||||
__fastcall TCustomTextfieldDelegate(const Ucefinterfaces::_di_ICefTextfieldDelegateEvents events);
|
||||
public:
|
||||
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomTextfieldDelegate(unsigned size, bool owned) : TCefTextfieldDelegateOwn(size, owned) { }
|
||||
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCustomTextfieldDelegate() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Uceftextfielddelegate */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTEXTFIELDDELEGATE)
|
||||
using namespace Uceftextfielddelegate;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFTextfieldDelegateHPP
|
||||
Reference in New Issue
Block a user