81 lines
2.8 KiB
C++
81 lines
2.8 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFStreamWriter.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFStreamWriterHPP
|
|
#define uCEFStreamWriterHPP
|
|
|
|
#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 Ucefstreamwriter
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefStreamWriterRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefStreamWriterRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
|
|
|
protected:
|
|
System::NativeUInt __fastcall write(const void * ptr, System::NativeUInt size, System::NativeUInt n);
|
|
int __fastcall Seek(__int64 offset, int whence);
|
|
__int64 __fastcall Tell();
|
|
int __fastcall Flush();
|
|
bool __fastcall MayBlock();
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefStreamWriter __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefStreamWriter __fastcall CreateForFile(const Uceftypes::ustring fileName);
|
|
__classmethod Ucefinterfaces::_di_ICefStreamWriter __fastcall CreateForHandler(const Ucefinterfaces::_di_ICefWriteHandler handler);
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefStreamWriterRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefStreamWriterRef() { }
|
|
|
|
private:
|
|
void *__ICefStreamWriter; // Ucefinterfaces::ICefStreamWriter
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {4AA6C477-7D8A-4D5A-A704-67F900A827E7}
|
|
operator Ucefinterfaces::_di_ICefStreamWriter()
|
|
{
|
|
Ucefinterfaces::_di_ICefStreamWriter intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefStreamWriter*(void) { return (Ucefinterfaces::ICefStreamWriter*)&__ICefStreamWriter; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefstreamwriter */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSTREAMWRITER)
|
|
using namespace Ucefstreamwriter;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFStreamWriterHPP
|