// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Instreamrandomaccess.pas' rev: 10.00

#ifndef InstreamrandomaccessHPP
#define InstreamrandomaccessHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Instream.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Instreamrandomaccess
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TInStreamRandomAccess;
class PASCALIMPLEMENTATION TInStreamRandomAccess : public Instream::TInStream 
{
	typedef Instream::TInStream inherited;
	
protected:
	virtual int __fastcall GetPosition(void) = 0 ;
	virtual int __fastcall GetSize(void) = 0 ;
	virtual void __fastcall SetPosition(const int AValue) = 0 ;
	
public:
	virtual bool __fastcall BOF(void);
	virtual bool __fastcall EOF(void);
	virtual void __fastcall Skip(int ASize) = 0 ;
	__property int Position = {read=GetPosition, write=SetPosition, nodefault};
	__property int Size = {read=GetSize, nodefault};
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TInStreamRandomAccess(void) : Instream::TInStream() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TInStreamRandomAccess(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Instreamrandomaccess */
using namespace Instreamrandomaccess;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Instreamrandomaccess
