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

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

#ifndef AHMTLogFileHPP
#define AHMTLogFileHPP
#include <AHMSystemClass.hpp>
#include <Classes.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysUtils.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Ahmtlogfile
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMLogFile;
class PASCALIMPLEMENTATION TAHMLogFile : public Ahmsystemclass::TAHMSystemsComponent 
{
	typedef Ahmsystemclass::TAHMSystemsComponent inherited;
	
private:
	System::AnsiString FLogFile;
	Classes::TNotifyEvent FOnClear;
	bool FLogHeader;
	bool FLogTime;
	bool FLogDate;
	bool FLogSpecial;
	System::AnsiString FSpecial;
	System::AnsiString FHeader;
	int FCurrentCount;
	
public:
	__fastcall virtual TAHMLogFile(Classes::TComponent* AOwner);
	void __fastcall Log(System::AnsiString Logstr);
	void __fastcall ClearLog(void);
	
__published:
	__property System::AnsiString LogFile = {read=FLogFile, write=FLogFile};
	__property System::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 System::AnsiString Special = {read=FSpecial, write=FSpecial};
	__property Classes::TNotifyEvent OnClear = {read=FOnClear, write=FOnClear};
public:
	/* TComponent.Destroy */ __fastcall virtual ~TAHMLogFile(void) { }
	
};

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

}	/* namespace Ahmtlogfile */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtlogfile;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// AHMTLogFile
