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

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

#ifndef InremotecmdclientHPP
#define InremotecmdclientHPP

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

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

namespace Inremotecmdclient
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS EIdCanNotBindRang;
class PASCALIMPLEMENTATION EIdCanNotBindRang : public Inexception::EInException 
{
	typedef Inexception::EInException inherited;
	
public:
	#pragma option push -w-inl
	/* EInExceptionBase.Create */ inline __fastcall virtual EIdCanNotBindRang(AnsiString AMsg)/* overload */ : Inexception::EInException(AMsg) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* Exception.CreateFmt */ inline __fastcall EIdCanNotBindRang(const AnsiString Msg, System::TVarRec const * Args, const int Args_Size) : Inexception::EInException(Msg, Args, Args_Size) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateRes */ inline __fastcall EIdCanNotBindRang(int Ident)/* overload */ : Inexception::EInException(Ident) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmt */ inline __fastcall EIdCanNotBindRang(int Ident, System::TVarRec const * Args, const int Args_Size)/* overload */ : Inexception::EInException(Ident, Args, Args_Size) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateHelp */ inline __fastcall EIdCanNotBindRang(const AnsiString Msg, int AHelpContext) : Inexception::EInException(Msg, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateFmtHelp */ inline __fastcall EIdCanNotBindRang(const AnsiString Msg, System::TVarRec const * Args, const int Args_Size, int AHelpContext) : Inexception::EInException(Msg, Args, Args_Size, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResHelp */ inline __fastcall EIdCanNotBindRang(int Ident, int AHelpContext)/* overload */ : Inexception::EInException(Ident, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmtHelp */ inline __fastcall EIdCanNotBindRang(System::PResStringRec ResStringRec, System::TVarRec const * Args, const int Args_Size, int AHelpContext)/* overload */ : Inexception::EInException(ResStringRec, Args, Args_Size, AHelpContext) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~EIdCanNotBindRang(void) { }
	#pragma option pop
	
};


class DELPHICLASS TInRemoteCMDClient;
class PASCALIMPLEMENTATION TInRemoteCMDClient : public Intcpclient::TInTCPClientCustom 
{
	typedef Intcpclient::TInTCPClientCustom inherited;
	
protected:
	bool FUseReservedPorts;
	bool FUseStdError;
	AnsiString FErrorMessage;
	bool FErrorReply;
	virtual AnsiString __fastcall InternalExec(AnsiString AParam1, AnsiString AParam2, AnsiString ACommand);
	virtual void __fastcall InitComponent(void);
	
public:
	__fastcall virtual ~TInRemoteCMDClient(void);
	virtual AnsiString __fastcall Execute(AnsiString ACommand);
	__property bool ErrorReply = {read=FErrorReply, nodefault};
	__property AnsiString ErrorMessage = {read=FErrorMessage};
	
__published:
	__property bool UseStdError = {read=FUseStdError, write=FUseStdError, default=1};
public:
	#pragma option push -w-inl
	/* TInBaseComponent.Create */ inline __fastcall TInRemoteCMDClient(Classes::TComponent* AOwner)/* overload */ : Intcpclient::TInTCPClientCustom(AOwner) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
static const bool IDRemoteUseStdErr = true;
static const bool IDRemoteFixPort = true;

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

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