97 lines
3.3 KiB
C++
97 lines
3.3 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFSettingObserver.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFSettingObserverHPP
|
|
#define uCEFSettingObserverHPP
|
|
|
|
#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 <uCEFBaseRefCounted.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefsettingobserver
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefSettingObserverOwn;
|
|
class DELPHICLASS TCustomSettingObserver;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefSettingObserverOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
|
|
|
protected:
|
|
virtual void __fastcall OnSettingChanged(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type);
|
|
virtual void __fastcall RemoveReferences();
|
|
|
|
public:
|
|
__fastcall virtual TCefSettingObserverOwn();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefSettingObserverOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefSettingObserverOwn() { }
|
|
|
|
private:
|
|
void *__ICefSettingObserver; // Ucefinterfaces::ICefSettingObserver
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {84E0FD25-F337-451F-9661-3D2E5844882C}
|
|
operator Ucefinterfaces::_di_ICefSettingObserver()
|
|
{
|
|
Ucefinterfaces::_di_ICefSettingObserver intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefSettingObserver*(void) { return (Ucefinterfaces::ICefSettingObserver*)&__ICefSettingObserver; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCustomSettingObserver : public TCefSettingObserverOwn
|
|
{
|
|
typedef TCefSettingObserverOwn inherited;
|
|
|
|
protected:
|
|
void *FEvents;
|
|
virtual void __fastcall OnSettingChanged(const Uceftypes::ustring requesting_url, const Uceftypes::ustring top_level_url, Uceftypes::TCefContentSettingTypes content_type);
|
|
virtual void __fastcall RemoveReferences();
|
|
|
|
public:
|
|
__fastcall virtual TCustomSettingObserver(const Ucefinterfaces::_di_IChromiumEvents events);
|
|
__fastcall virtual ~TCustomSettingObserver();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomSettingObserver(unsigned size, bool owned) : TCefSettingObserverOwn(size, owned) { }
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefsettingobserver */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSETTINGOBSERVER)
|
|
using namespace Ucefsettingobserver;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFSettingObserverHPP
|