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

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

#ifndef InqotdserverHPP
#define InqotdserverHPP

#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 <Incontext.hpp>	// Pascal unit
#include <Intcpserver.hpp>	// Pascal unit
#include <Incomponent.hpp>	// Pascal unit
#include <Inbasecomponent.hpp>	// Pascal unit

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

namespace Inqotdserver
{
//-- type declarations -------------------------------------------------------
typedef void __fastcall (__closure *TInQotdGetEvent)(Incontext::TInContext* AContext, AnsiString &AQuote);

class DELPHICLASS TInQotdServer;
class PASCALIMPLEMENTATION TInQotdServer : public Intcpserver::TInTCPServer 
{
	typedef Intcpserver::TInTCPServer inherited;
	
protected:
	TInQotdGetEvent FOnCommandQOTD;
	virtual bool __fastcall DoExecute(Incontext::TInContext* AContext);
	virtual void __fastcall InitComponent(void);
	
__published:
	__property TInQotdGetEvent OnCommandQOTD = {read=FOnCommandQOTD, write=FOnCommandQOTD};
	__property DefaultPort  = {default=17};
public:
	#pragma option push -w-inl
	/* TInTCPServer.Destroy */ inline __fastcall virtual ~TInQotdServer(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TInBaseComponent.Create */ inline __fastcall TInQotdServer(Classes::TComponent* AOwner)/* overload */ : Intcpserver::TInTCPServer(AOwner) { }
	#pragma option pop
	
};


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

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

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