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

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

#ifndef IdrshHPP
#define IdrshHPP

#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 <Idassignednumbers.hpp>	// Pascal unit
#include <Idglobal.hpp>	// Pascal unit
#include <Idremotecmdclient.hpp>	// Pascal unit
#include <Idtcpclient.hpp>	// Pascal unit
#include <Idtcpconnection.hpp>	// Pascal unit
#include <Idcomponent.hpp>	// Pascal unit
#include <Idbasecomponent.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit

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

namespace Idrsh
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TIdRSH;
class PASCALIMPLEMENTATION TIdRSH : public Idremotecmdclient::TIdRemoteCMDClient 
{
	typedef Idremotecmdclient::TIdRemoteCMDClient inherited;
	
protected:
	AnsiString FClientUserName;
	AnsiString FHostUserName;
	virtual void __fastcall InitComponent(void);
	
public:
	virtual AnsiString __fastcall Execute(AnsiString ACommand);
	
__published:
	__property AnsiString ClientUserName = {read=FClientUserName, write=FClientUserName};
	__property AnsiString HostUserName = {read=FHostUserName, write=FHostUserName};
	__property Port  = {default=514};
	__property bool UseReservedPorts = {read=FUseReservedPorts, write=FUseReservedPorts, default=1};
public:
	#pragma option push -w-inl
	/* TIdRemoteCMDClient.Destroy */ inline __fastcall virtual ~TIdRSH(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TIdBaseComponent.Create */ inline __fastcall TIdRSH(Classes::TComponent* AOwner)/* overload */ : Idremotecmdclient::TIdRemoteCMDClient(AOwner) { }
	#pragma option pop
	
};


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

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

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