97 lines
3.8 KiB
C++
97 lines
3.8 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFRequest.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFRequestHPP
|
|
#define uCEFRequestHPP
|
|
|
|
#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 Ucefrequest
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefRequestRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefRequestRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
|
|
|
protected:
|
|
bool __fastcall IsReadOnly();
|
|
Uceftypes::ustring __fastcall GetUrl();
|
|
Uceftypes::ustring __fastcall GetMethod();
|
|
Ucefinterfaces::_di_ICefPostData __fastcall GetPostData();
|
|
void __fastcall GetHeaderMap(const Ucefinterfaces::_di_ICefStringMultimap HeaderMap);
|
|
void __fastcall SetUrl(const Uceftypes::ustring value);
|
|
void __fastcall SetMethod(const Uceftypes::ustring value);
|
|
void __fastcall SetReferrer(const Uceftypes::ustring referrerUrl, Uceftypes::TCefReferrerPolicy policy);
|
|
Uceftypes::ustring __fastcall GetReferrerUrl();
|
|
Uceftypes::TCefReferrerPolicy __fastcall GetReferrerPolicy();
|
|
void __fastcall SetPostData(const Ucefinterfaces::_di_ICefPostData value);
|
|
void __fastcall SetHeaderMap(const Ucefinterfaces::_di_ICefStringMultimap HeaderMap);
|
|
Uceftypes::ustring __fastcall GetHeaderByName(const Uceftypes::ustring name);
|
|
void __fastcall SetHeaderByName(const Uceftypes::ustring name, const Uceftypes::ustring value, bool overwrite);
|
|
Uceftypes::TCefUrlRequestFlags __fastcall GetFlags();
|
|
void __fastcall SetFlags(Uceftypes::TCefUrlRequestFlags flags);
|
|
Uceftypes::ustring __fastcall GetFirstPartyForCookies();
|
|
void __fastcall SetFirstPartyForCookies(const Uceftypes::ustring url);
|
|
void __fastcall Assign(const Uceftypes::ustring url, const Uceftypes::ustring method, const Ucefinterfaces::_di_ICefPostData postData, const Ucefinterfaces::_di_ICefStringMultimap headerMap);
|
|
Uceftypes::TCefResourceType __fastcall GetResourceType();
|
|
Uceftypes::TCefTransitionType __fastcall GetTransitionType();
|
|
unsigned __int64 __fastcall GetIdentifier();
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefRequest __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefRequest __fastcall New();
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefRequestRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefRequestRef() { }
|
|
|
|
private:
|
|
void *__ICefRequest; // Ucefinterfaces::ICefRequest
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {FB4718D3-7D13-4979-9F4C-D7F6C0EC592A}
|
|
operator Ucefinterfaces::_di_ICefRequest()
|
|
{
|
|
Ucefinterfaces::_di_ICefRequest intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefRequest*(void) { return (Ucefinterfaces::ICefRequest*)&__ICefRequest; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefrequest */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFREQUEST)
|
|
using namespace Ucefrequest;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFRequestHPP
|