Files
2026-06-12 23:18:12 +08:00

92 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) 'uCEFResponse.pas' rev: 37.00 (Windows)
#ifndef uCEFResponseHPP
#define uCEFResponseHPP
#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 Ucefresponse
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefResponseRef;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefResponseRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
{
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
protected:
bool __fastcall IsReadOnly();
Uceftypes::TCefErrorCode __fastcall GetError();
void __fastcall SetError(Uceftypes::TCefErrorCode error);
int __fastcall GetStatus();
void __fastcall SetStatus(int status);
Uceftypes::ustring __fastcall GetStatusText();
void __fastcall SetStatusText(const Uceftypes::ustring StatusText);
Uceftypes::ustring __fastcall GetMimeType();
void __fastcall SetMimeType(const Uceftypes::ustring mimetype);
Uceftypes::ustring __fastcall GetCharset();
void __fastcall SetCharset(const Uceftypes::ustring charset);
Uceftypes::ustring __fastcall GetHeaderByName(const Uceftypes::ustring name);
void __fastcall SetHeaderByName(const Uceftypes::ustring name, const Uceftypes::ustring value, bool overwrite);
void __fastcall GetHeaderMap(const Ucefinterfaces::_di_ICefStringMultimap headerMap);
void __fastcall SetHeaderMap(const Ucefinterfaces::_di_ICefStringMultimap headerMap);
Uceftypes::ustring __fastcall GetURL();
void __fastcall SetURL(const Uceftypes::ustring url);
public:
__classmethod Ucefinterfaces::_di_ICefResponse __fastcall UnWrap(void * data);
__classmethod Ucefinterfaces::_di_ICefResponse __fastcall New();
public:
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefResponseRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefResponseRef() { }
private:
void *__ICefResponse; // Ucefinterfaces::ICefResponse
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {E9C896E4-59A8-4B96-AB5E-6EA3A498B7F1}
operator Ucefinterfaces::_di_ICefResponse()
{
Ucefinterfaces::_di_ICefResponse intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefResponse*(void) { return (Ucefinterfaces::ICefResponse*)&__ICefResponse; }
#endif
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefresponse */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESPONSE)
using namespace Ucefresponse;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFResponseHPP