85 lines
3.3 KiB
C++
85 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) 'uCEFPreferenceManager.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFPreferenceManagerHPP
|
|
#define uCEFPreferenceManagerHPP
|
|
|
|
#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>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefpreferencemanager
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefPreferenceManagerRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefPreferenceManagerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
|
|
|
protected:
|
|
bool __fastcall HasPreference(const Uceftypes::ustring name);
|
|
Ucefinterfaces::_di_ICefValue __fastcall GetPreference(const Uceftypes::ustring name);
|
|
Ucefinterfaces::_di_ICefDictionaryValue __fastcall GetAllPreferences(bool includeDefaults);
|
|
bool __fastcall CanSetPreference(const Uceftypes::ustring name);
|
|
bool __fastcall SetPreference(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefValue value, /* out */ Uceftypes::ustring &error);
|
|
Ucefinterfaces::_di_ICefRegistration __fastcall AddPreferenceObserver(const Uceftypes::ustring name, const Ucefinterfaces::_di_ICefPreferenceObserver observer);
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefPreferenceManager __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefPreferenceManager __fastcall Global();
|
|
__classmethod void __fastcall GetChromeVariationsAsSwitches(System::Classes::TStrings* const switches);
|
|
__classmethod void __fastcall GetChromeVariationsAsStrings(System::Classes::TStrings* const strings);
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPreferenceManagerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPreferenceManagerRef() { }
|
|
|
|
private:
|
|
void *__ICefPreferenceManager; // Ucefinterfaces::ICefPreferenceManager
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {E8231D35-D028-4E64-BFDB-7E4596027DEC}
|
|
operator Ucefinterfaces::_di_ICefPreferenceManager()
|
|
{
|
|
Ucefinterfaces::_di_ICefPreferenceManager intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefPreferenceManager*(void) { return (Ucefinterfaces::ICefPreferenceManager*)&__ICefPreferenceManager; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefpreferencemanager */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPREFERENCEMANAGER)
|
|
using namespace Ucefpreferencemanager;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFPreferenceManagerHPP
|