// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'AHMTLogFile.pas' rev: 5.00

#ifndef AHMTLogFileHPP
#define AHMTLogFileHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <AHMSystemClass.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtlogfile
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMLogFile;
class PASCALIMPLEMENTATION TAHMLogFile : public Ahmsystemclass::TAHMSystemsComponent 
{
	typedef Ahmsystemclass::TAHMSystemsComponent inherited;
	
private:
	AnsiString FLogFile;
	Classes::TNotifyEvent FOnClear;
	bool FLogHeader;
	bool FLogTime;
	bool FLogDate;
	bool FLogSpecial;
	AnsiString FSpecial;
	AnsiString FHeader;
	int FCurrentCount;
	
public:
	__fastcall virtual TAHMLogFile(Classes::TComponent* AOwner);
	void __fastcall Log(AnsiString Logstr);
	void __fastcall ClearLog(void);
	
__published:
	__property AnsiString LogFile = {read=FLogFile, write=FLogFile};
	__property AnsiString Header = {read=FHeader, write=FHeader};
	__property bool LogTime = {read=FLogTime, write=FLogTime, default=0};
	__property bool LogDate = {read=FLogDate, write=FLogDate, default=0};
	__property bool LogSpecial = {read=FLogSpecial, write=FLogSpecial, default=0};
	__property bool LogHeader = {read=FLogHeader, write=FLogHeader, default=0};
	__property AnsiString Special = {read=FSpecial, write=FSpecial};
	__property Classes::TNotifyEvent OnClear = {read=FOnClear, write=FOnClear};
public:
	#pragma option push -w-inl
	/* TComponent.Destroy */ inline __fastcall virtual ~TAHMLogFile(void) { }
	#pragma option pop
	
};


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

}	/* namespace Ahmtlogfile */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtlogfile;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

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