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

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

#ifndef InsnppHPP
#define InsnppHPP

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

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

namespace Insnpp
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TConnectionResult { crCanPost, crNoPost, crAuthRequired, crTempUnavailable };
#pragma option pop

struct TCheckResp
{
	
public:
	short Code;
	AnsiString Resp;
} ;

class DELPHICLASS TInSNPP;
class PASCALIMPLEMENTATION TInSNPP : public Intcpclient::TInTCPClientCustom 
{
	typedef Intcpclient::TInTCPClientCustom inherited;
	
protected:
	bool __fastcall Pager(AnsiString APagerId);
	bool __fastcall SNPPMsg(AnsiString AMsg);
	virtual void __fastcall InitComponent(void);
	
public:
	virtual void __fastcall Connect(void)/* overload */;
	virtual void __fastcall DisconnectNotifyPeer(void);
	void __fastcall Reset(void);
	void __fastcall SendMessage(AnsiString APagerId, AnsiString AMsg);
	
__published:
	__property Port  = {default=7777};
	__property Host ;
public:
	#pragma option push -w-inl
	/* TInTCPConnection.Destroy */ inline __fastcall virtual ~TInSNPP(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TInBaseComponent.Create */ inline __fastcall TInSNPP(Classes::TComponent* AOwner)/* overload */ : Intcpclient::TInTCPClientCustom(AOwner) { }
	#pragma option pop
	
	
/* Hoisted overloads: */
	
public:
	inline void __fastcall  Connect(const AnsiString AHost, const int APort = 0xffffffff){ TInTCPClientCustom::Connect(AHost, APort); }
	
};


class DELPHICLASS EInSNPPException;
class PASCALIMPLEMENTATION EInSNPPException : public Inexception::EInException 
{
	typedef Inexception::EInException inherited;
	
public:
	#pragma option push -w-inl
	/* EInExceptionBase.Create */ inline __fastcall virtual EInSNPPException(AnsiString AMsg)/* overload */ : Inexception::EInException(AMsg) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* Exception.CreateFmt */ inline __fastcall EInSNPPException(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 EInSNPPException(int Ident)/* overload */ : Inexception::EInException(Ident) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmt */ inline __fastcall EInSNPPException(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 EInSNPPException(const AnsiString Msg, int AHelpContext) : Inexception::EInException(Msg, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateFmtHelp */ inline __fastcall EInSNPPException(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 EInSNPPException(int Ident, int AHelpContext)/* overload */ : Inexception::EInException(Ident, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmtHelp */ inline __fastcall EInSNPPException(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 ~EInSNPPException(void) { }
	#pragma option pop
	
};


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


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


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


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

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

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