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

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

#ifndef InrshserverHPP
#define InrshserverHPP

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

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

namespace Inrshserver
{
//-- type declarations -------------------------------------------------------
typedef void __fastcall (__closure *TInRSHCommandEvent)(Incontext::TInContext* AThread, Intcpclient::TInTCPClient* AStdError, AnsiString AClientUserName, AnsiString AHostUserName, AnsiString ACommand);

class DELPHICLASS TInRSHServer;
class PASCALIMPLEMENTATION TInRSHServer : public Inremotecmdserver::TInRemoteCMDServer 
{
	typedef Inremotecmdserver::TInRemoteCMDServer inherited;
	
protected:
	TInRSHCommandEvent FOnCommand;
	virtual void __fastcall DoCMD(Incontext::TInContext* AThread, Intcpclient::TInTCPClient* AStdError, AnsiString AParam1, AnsiString AParam2, AnsiString ACommand);
	virtual void __fastcall InitComponent(void);
	
__published:
	__property TInRSHCommandEvent OnCommand = {read=FOnCommand, write=FOnCommand};
	__property DefaultPort  = {default=514};
	__property bool ForcePortsInRange = {read=FForcePortsInRange, write=FForcePortsInRange, default=1};
public:
	#pragma option push -w-inl
	/* TInTCPServer.Destroy */ inline __fastcall virtual ~TInRSHServer(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TInBaseComponent.Create */ inline __fastcall TInRSHServer(Classes::TComponent* AOwner)/* overload */ : Inremotecmdserver::TInRemoteCMDServer(AOwner) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
static const bool RSH_FORCEPORTSINRANGE = true;

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

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