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

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

#ifndef InsyslogHPP
#define InsyslogHPP

#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 <Inassignednumbers.hpp>	// Pascal unit
#include <Insockethandle.hpp>	// Pascal unit
#include <Insyslogmessage.hpp>	// Pascal unit
#include <Inudpbase.hpp>	// Pascal unit
#include <Inudpclient.hpp>	// Pascal unit
#include <Incomponent.hpp>	// Pascal unit
#include <Inbasecomponent.hpp>	// Pascal unit

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

namespace Insyslog
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TInSysLog;
class PASCALIMPLEMENTATION TInSysLog : public Inudpclient::TInUDPClient 
{
	typedef Inudpclient::TInUDPClient inherited;
	
protected:
	virtual Insockethandle::TInSocketHandle* __fastcall GetBinding(void);
	virtual void __fastcall InitComponent(void);
	
public:
	void __fastcall SendLogMessage(const Insyslogmessage::TInSysLogMessage* AMsg, const bool AAutoTimeStamp = true)/* overload */;
	void __fastcall SendLogMessage(const AnsiString AMsg, const Insyslogmessage::TInSysLogFacility AFacility, const Insyslogmessage::TInSysLogSeverity ASeverity)/* overload */;
	void __fastcall SendLogMessage(const AnsiString AProcess, const AnsiString AText, const Insyslogmessage::TInSysLogFacility AFacility, const Insyslogmessage::TInSysLogSeverity ASeverity, const bool AUsePID = false, const int APID = 0xffffffff)/* overload */;
	
__published:
	__property Port  = {default=514};
public:
	#pragma option push -w-inl
	/* TInUDPBase.Destroy */ inline __fastcall virtual ~TInSysLog(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TInBaseComponent.Create */ inline __fastcall TInSysLog(Classes::TComponent* AOwner)/* overload */ : Inudpclient::TInUDPClient(AOwner) { }
	#pragma option pop
	
};


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

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

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