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

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

#ifndef IdlogfileHPP
#define IdlogfileHPP

#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 <Idlogbase.hpp>	// Pascal unit
#include <Idobjs.hpp>	// Pascal unit
#include <Idintercept.hpp>	// Pascal unit
#include <Idbasecomponent.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit

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

namespace Idlogfile
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TIdLogFile;
class PASCALIMPLEMENTATION TIdLogFile : public Idlogbase::TIdLogBase 
{
	typedef Idlogbase::TIdLogBase inherited;
	
protected:
	AnsiString FFilename;
	Classes::TStream* 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
	/* TIdLogBase.Destroy */ inline __fastcall virtual ~TIdLogFile(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TIdBaseComponent.Create */ inline __fastcall TIdLogFile(Classes::TComponent* AOwner)/* overload */ : Idlogbase::TIdLogBase(AOwner) { }
	#pragma option pop
	
};


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

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

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