131 lines
4.6 KiB
C++
131 lines
4.6 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFPostDataElement.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFPostDataElementHPP
|
|
#define uCEFPostDataElementHPP
|
|
|
|
#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 Ucefpostdataelement
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefPostDataElementRef;
|
|
class DELPHICLASS TCefPostDataElementOwn;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefPostDataElementRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
|
|
|
protected:
|
|
bool __fastcall IsReadOnly();
|
|
void __fastcall SetToEmpty();
|
|
void __fastcall SetToFile(const Uceftypes::ustring fileName);
|
|
void __fastcall SetToBytes(System::NativeUInt size, const void * bytes);
|
|
Uceftypes::TCefPostDataElementType __fastcall GetType();
|
|
Uceftypes::ustring __fastcall GetFile();
|
|
System::NativeUInt __fastcall GetBytesCount();
|
|
System::NativeUInt __fastcall GetBytes(System::NativeUInt size, void * bytes);
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefPostDataElement __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefPostDataElement __fastcall New();
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefPostDataElementRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefPostDataElementRef() { }
|
|
|
|
private:
|
|
void *__ICefPostDataElement; // Ucefinterfaces::ICefPostDataElement
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {3353D1B8-0300-4ADC-8D74-4FF31C77D13C}
|
|
operator Ucefinterfaces::_di_ICefPostDataElement()
|
|
{
|
|
Ucefinterfaces::_di_ICefPostDataElement intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefPostDataElement*(void) { return (Ucefinterfaces::ICefPostDataElement*)&__ICefPostDataElement; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefPostDataElementOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
|
|
|
protected:
|
|
Uceftypes::TCefPostDataElementType FDataType;
|
|
void *FValueByte;
|
|
Uceftypes::TCefString FValueStr;
|
|
System::NativeUInt FSize;
|
|
bool FReadOnly;
|
|
void __fastcall Clear();
|
|
virtual bool __fastcall IsReadOnly();
|
|
virtual void __fastcall SetToEmpty();
|
|
virtual void __fastcall SetToFile(const Uceftypes::ustring fileName);
|
|
virtual void __fastcall SetToBytes(System::NativeUInt size, const void * bytes);
|
|
virtual Uceftypes::TCefPostDataElementType __fastcall GetType();
|
|
virtual Uceftypes::ustring __fastcall GetFile();
|
|
virtual System::NativeUInt __fastcall GetBytesCount();
|
|
virtual System::NativeUInt __fastcall GetBytes(System::NativeUInt size, void * bytes);
|
|
|
|
public:
|
|
__fastcall virtual TCefPostDataElementOwn(bool readonly);
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefPostDataElementOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefPostDataElementOwn() { }
|
|
|
|
private:
|
|
void *__ICefPostDataElement; // Ucefinterfaces::ICefPostDataElement
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {3353D1B8-0300-4ADC-8D74-4FF31C77D13C}
|
|
operator Ucefinterfaces::_di_ICefPostDataElement()
|
|
{
|
|
Ucefinterfaces::_di_ICefPostDataElement intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefPostDataElement*(void) { return (Ucefinterfaces::ICefPostDataElement*)&__ICefPostDataElement; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefpostdataelement */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPOSTDATAELEMENT)
|
|
using namespace Ucefpostdataelement;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFPostDataElementHPP
|