// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFButton.pas' rev: 37.00 (Windows) #ifndef uCEFButtonHPP #define uCEFButtonHPP #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 #include #include #include //-- user supplied ----------------------------------------------------------- namespace Ucefbutton { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefButtonRef; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefButtonRef : public Ucefview::TCefViewRef { typedef Ucefview::TCefViewRef inherited; protected: Ucefinterfaces::_di_ICefLabelButton __fastcall AsLabelButton(); void __fastcall SetState(Uceftypes::TCefButtonState state_); Uceftypes::TCefButtonState __fastcall GetState(); void __fastcall SetInkDropEnabled(bool enabled_); void __fastcall SetTooltipText(const Uceftypes::ustring tooltip_text); void __fastcall SetAccessibleName(const Uceftypes::ustring name); public: __classmethod Ucefinterfaces::_di_ICefButton __fastcall UnWrap(void * data); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefButtonRef(void * data) : Ucefview::TCefViewRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefButtonRef() { } private: void *__ICefButton; // Ucefinterfaces::ICefButton public: #if defined(MANAGED_INTERFACE_OPERATORS) // {D3D2E8A0-9F9C-4BD8-B495-655976534281} operator Ucefinterfaces::_di_ICefButton() { Ucefinterfaces::_di_ICefButton intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefButton*(void) { return (Ucefinterfaces::ICefButton*)&__ICefButton; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefbutton */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBUTTON) using namespace Ucefbutton; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFButtonHPP