87 lines
2.9 KiB
C++
87 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) 'uCEFZipReader.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFZipReaderHPP
|
|
#define uCEFZipReaderHPP
|
|
|
|
#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 Ucefzipreader
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefZipReaderRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefZipReaderRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
|
|
|
protected:
|
|
bool __fastcall MoveToFirstFile();
|
|
bool __fastcall MoveToNextFile();
|
|
bool __fastcall MoveToFile(const Uceftypes::ustring fileName, bool caseSensitive);
|
|
bool __fastcall Close();
|
|
Uceftypes::ustring __fastcall GetFileName();
|
|
__int64 __fastcall GetFileSize();
|
|
Uceftypes::TCefBaseTime __fastcall GetFileLastModified();
|
|
bool __fastcall OpenFile(const Uceftypes::ustring password);
|
|
bool __fastcall CloseFile();
|
|
int __fastcall ReadFile(void * buffer, System::NativeUInt bufferSize);
|
|
__int64 __fastcall Tell();
|
|
bool __fastcall Eof();
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefZipReader __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefZipReader __fastcall New(const Ucefinterfaces::_di_ICefStreamReader stream);
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefZipReaderRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefZipReaderRef() { }
|
|
|
|
private:
|
|
void *__ICefZipReader; // Ucefinterfaces::ICefZipReader
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {3B6C591F-9877-42B3-8892-AA7B27DA34A8}
|
|
operator Ucefinterfaces::_di_ICefZipReader()
|
|
{
|
|
Ucefinterfaces::_di_ICefZipReader intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefZipReader*(void) { return (Ucefinterfaces::ICefZipReader*)&__ICefZipReader; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefzipreader */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFZIPREADER)
|
|
using namespace Ucefzipreader;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFZipReaderHPP
|