// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFMenuModelDelegate.pas' rev: 37.00 (Windows) #ifndef uCEFMenuModelDelegateHPP #define uCEFMenuModelDelegateHPP #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 #include #include #include #include //-- user supplied ----------------------------------------------------------- namespace Ucefmenumodeldelegate { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefMenuModelDelegateOwn; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefMenuModelDelegateOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn { typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; protected: virtual void __fastcall ExecuteCommand(const Ucefinterfaces::_di_ICefMenuModel menuModel, int commandId, Uceftypes::TCefEventFlags eventFlags); virtual void __fastcall MouseOutsideMenu(const Ucefinterfaces::_di_ICefMenuModel menuModel, const Uceftypes::PCefPoint screenPoint); virtual void __fastcall UnhandledOpenSubmenu(const Ucefinterfaces::_di_ICefMenuModel menuModel, bool isRTL); virtual void __fastcall UnhandledCloseSubmenu(const Ucefinterfaces::_di_ICefMenuModel menuModel, bool isRTL); virtual void __fastcall MenuWillShow(const Ucefinterfaces::_di_ICefMenuModel menuModel); virtual void __fastcall MenuClosed(const Ucefinterfaces::_di_ICefMenuModel menuModel); virtual bool __fastcall FormatLabel(const Ucefinterfaces::_di_ICefMenuModel menuModel, Uceftypes::ustring &label_); public: __fastcall virtual TCefMenuModelDelegateOwn(); public: /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefMenuModelDelegateOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefMenuModelDelegateOwn() { } private: void *__ICefMenuModelDelegate; // Ucefinterfaces::ICefMenuModelDelegate public: #if defined(MANAGED_INTERFACE_OPERATORS) // {1430D202-2795-433E-9A35-C79A0996F316} operator Ucefinterfaces::_di_ICefMenuModelDelegate() { Ucefinterfaces::_di_ICefMenuModelDelegate intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefMenuModelDelegate*(void) { return (Ucefinterfaces::ICefMenuModelDelegate*)&__ICefMenuModelDelegate; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefmenumodeldelegate */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMENUMODELDELEGATE) using namespace Ucefmenumodeldelegate; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFMenuModelDelegateHPP