Files
common/CEF4Delphi/win32/hpps/uCEFPanel.hpp
T
2026-06-12 23:18:12 +08:00

90 lines
3.1 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFPanel.pas' rev: 37.00 (Windows)
#ifndef uCEFPanelHPP
#define uCEFPanelHPP
#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 <uCEFView.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefpanel
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefPanelRef;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefPanelRef : public Ucefview::TCefViewRef
{
typedef Ucefview::TCefViewRef inherited;
protected:
Ucefinterfaces::_di_ICefWindow __fastcall GetAsWindow();
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();
System::NativeUInt __fastcall GetChildViewCount();
Ucefinterfaces::_di_ICefView __fastcall GetChildViewAt(int index);
public:
__classmethod Ucefinterfaces::_di_ICefPanel __fastcall UnWrap(void * data);
__classmethod Ucefinterfaces::_di_ICefPanel __fastcall CreatePanel(const Ucefinterfaces::_di_ICefPanelDelegate delegate);
public:
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPanelRef(void * data) : Ucefview::TCefViewRef(data) { }
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPanelRef() { }
private:
void *__ICefPanel; // Ucefinterfaces::ICefPanel
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {6F2F680A-3637-4438-81B8-79AD6C02252D}
operator Ucefinterfaces::_di_ICefPanel()
{
Ucefinterfaces::_di_ICefPanel intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefPanel*(void) { return (Ucefinterfaces::ICefPanel*)&__ICefPanel; }
#endif
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefpanel */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPANEL)
using namespace Ucefpanel;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFPanelHPP