84 lines
2.9 KiB
C++
84 lines
2.9 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFCustomStreamReader.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFCustomStreamReaderHPP
|
|
#define uCEFCustomStreamReaderHPP
|
|
|
|
#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 Ucefcustomstreamreader
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefCustomStreamReader;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefCustomStreamReader : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
|
|
|
protected:
|
|
System::Classes::TStream* FStream;
|
|
bool FOwned;
|
|
virtual System::NativeUInt __fastcall Read(void * ptr, System::NativeUInt size, System::NativeUInt n);
|
|
virtual int __fastcall Seek(__int64 offset, int whence);
|
|
virtual __int64 __fastcall Tell();
|
|
virtual bool __fastcall Eof();
|
|
virtual bool __fastcall MayBlock();
|
|
|
|
public:
|
|
__fastcall virtual TCefCustomStreamReader(System::Classes::TStream* Stream, bool Owned)/* overload */;
|
|
__fastcall virtual TCefCustomStreamReader(const System::UnicodeString filename)/* overload */;
|
|
__fastcall virtual ~TCefCustomStreamReader();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomStreamReader(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
|
|
|
private:
|
|
void *__ICefCustomStreamReader; // Ucefinterfaces::ICefCustomStreamReader
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {BBCFF23A-6FE7-4C28-B13E-6D2ACA5C83B7}
|
|
operator Ucefinterfaces::_di_ICefCustomStreamReader()
|
|
{
|
|
Ucefinterfaces::_di_ICefCustomStreamReader intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefCustomStreamReader*(void) { return (Ucefinterfaces::ICefCustomStreamReader*)&__ICefCustomStreamReader; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefcustomstreamreader */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCUSTOMSTREAMREADER)
|
|
using namespace Ucefcustomstreamreader;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFCustomStreamReaderHPP
|