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) 'uCEFPanelComponent.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFPanelComponentHPP
|
|
#define uCEFPanelComponentHPP
|
|
|
|
#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 <Winapi.Windows.hpp>
|
|
#include <System.Classes.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
#include <uCEFConstants.hpp>
|
|
#include <uCEFViewsFrameworkEvents.hpp>
|
|
#include <uCEFViewComponent.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefpanelcomponent
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCEFPanelComponent;
|
|
//-- type declarations -------------------------------------------------------
|
|
class PASCALIMPLEMENTATION TCEFPanelComponent : public Ucefviewcomponent::TCEFViewComponent
|
|
{
|
|
typedef Ucefviewcomponent::TCEFViewComponent inherited;
|
|
|
|
protected:
|
|
Ucefinterfaces::_di_ICefPanel FPanel;
|
|
virtual void __fastcall DestroyView();
|
|
virtual void __fastcall Initialize();
|
|
virtual bool __fastcall GetInitialized();
|
|
virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView();
|
|
virtual Ucefinterfaces::_di_ICefPanel __fastcall GetAsPanel();
|
|
virtual Ucefinterfaces::_di_ICefWindow __fastcall GetAsWindow();
|
|
System::NativeUInt __fastcall GetChildViewCount();
|
|
virtual void __fastcall doCreateCustomView();
|
|
|
|
public:
|
|
void __fastcall CreatePanel();
|
|
Ucefinterfaces::_di_ICefFillLayout __fastcall SetToFillLayout();
|
|
Ucefinterfaces::_di_ICefBoxLayout __fastcall SetToBoxLayout(const Uceftypes::TCefBoxLayoutSettings &settings);
|
|
Ucefinterfaces::_di_ICefLayout __fastcall GetLayout();
|
|
void __fastcall Layout();
|
|
void __fastcall AddChildView(const Ucefinterfaces::_di_ICefView view);
|
|
void __fastcall AddChildViewAt(const Ucefinterfaces::_di_ICefView view, int index);
|
|
void __fastcall ReorderChildView(const Ucefinterfaces::_di_ICefView view, int index);
|
|
void __fastcall RemoveChildView(const Ucefinterfaces::_di_ICefView view);
|
|
void __fastcall RemoveAllChildViews();
|
|
Ucefinterfaces::_di_ICefView __fastcall GetChildViewAt(int index);
|
|
__property Ucefinterfaces::_di_ICefWindow AsWindow = {read=GetAsWindow};
|
|
__property System::NativeUInt ChildViewCount = {read=GetChildViewCount, nodefault};
|
|
public:
|
|
/* TCEFViewComponent.Create */ inline __fastcall virtual TCEFPanelComponent(System::Classes::TComponent* AOwner) : Ucefviewcomponent::TCEFViewComponent(AOwner) { }
|
|
|
|
public:
|
|
/* TComponent.Destroy */ inline __fastcall virtual ~TCEFPanelComponent() { }
|
|
|
|
private:
|
|
void *__ICefPanelDelegateEvents; // Ucefinterfaces::ICefPanelDelegateEvents
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {F1F2963F-82C3-48F0-9B9C-7C213BACB96B}
|
|
operator Ucefinterfaces::_di_ICefPanelDelegateEvents()
|
|
{
|
|
Ucefinterfaces::_di_ICefPanelDelegateEvents intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefPanelDelegateEvents*(void) { return (Ucefinterfaces::ICefPanelDelegateEvents*)&__ICefPanelDelegateEvents; }
|
|
#endif
|
|
|
|
};
|
|
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefpanelcomponent */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPANELCOMPONENT)
|
|
using namespace Ucefpanelcomponent;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFPanelComponentHPP
|