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

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

#ifndef InlogfileHPP
#define InlogfileHPP

#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 <Classes.hpp>	// Pascal unit
#include <Inlogbase.hpp>	// Pascal unit
#include <Instreamvcl.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Inintercept.hpp>	// Pascal unit
#include <Inbasecomponent.hpp>	// Pascal unit

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

namespace Inlogfile
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TInLogFile;
class PASCALIMPLEMENTATION TInLogFile : public Inlogbase::TInLogBase 
{
	typedef Inlogbase::TInLogBase inherited;
	
protected:
	AnsiString FFilename;
	Instreamvcl::TInStreamVCL* FFileStream;
	virtual void __fastcall LogFormat(AnsiString AFormat, System::TVarRec * AArgs, const int AArgs_Size);
	virtual void __fastcall LogReceivedData(AnsiString AText, AnsiString AData);
	virtual void __fastcall LogSentData(AnsiString AText, AnsiString AData);
	virtual void __fastcall LogStatus(AnsiString AText);
	virtual void __fastcall LogWriteString(AnsiString AText);
	void __fastcall SetFilename(AnsiString AFilename);
	
public:
	virtual void __fastcall Open(void);
	virtual void __fastcall Close(void);
	
__published:
	__property AnsiString Filename = {read=FFilename, write=SetFilename};
public:
	#pragma option push -w-inl
	/* TInLogBase.Destroy */ inline __fastcall virtual ~TInLogFile(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TInBaseComponent.Create */ inline __fastcall TInLogFile(Classes::TComponent* AOwner)/* overload */ : Inlogbase::TInLogBase(AOwner) { }
	#pragma option pop
	
};


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

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

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