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

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

#ifndef SockappregHPP
#define SockappregHPP

#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 <Registry.hpp>	// Pascal unit
#include <Inifiles.hpp>	// Pascal unit
#include <Contnrs.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit

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

namespace Sockappreg
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TWebAppRegInfo;
class PASCALIMPLEMENTATION TWebAppRegInfo : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	AnsiString FFileName;
	AnsiString FProgID;
	
public:
	__property AnsiString FileName = {read=FFileName};
	__property AnsiString ProgID = {read=FProgID};
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TWebAppRegInfo(void) : System::TObject() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TWebAppRegInfo(void) { }
	#pragma option pop
	
};


class DELPHICLASS TWebAppRegList;
class PASCALIMPLEMENTATION TWebAppRegList : public Contnrs::TObjectList 
{
	typedef Contnrs::TObjectList inherited;
	
public:
	TWebAppRegInfo* operator[](int I) { return Items[I]; }
	
private:
	HIDESBASE TWebAppRegInfo* __fastcall GetItem(int I);
	
public:
	__property TWebAppRegInfo* Items[int I] = {read=GetItem/*, default*/};
public:
	#pragma option push -w-inl
	/* TObjectList.Create */ inline __fastcall TWebAppRegList(void)/* overload */ : Contnrs::TObjectList() { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TList.Destroy */ inline __fastcall virtual ~TWebAppRegList(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
#define sUDPPort "UDPPort"
extern PACKAGE Inifiles::TCustomIniFile* __fastcall CreateRegistry(bool InitializeNewFile = false);
extern PACKAGE void __fastcall GetRegisteredWebApps(TWebAppRegList* AList);
extern PACKAGE AnsiString __fastcall FindRegisteredWebApp(const AnsiString AProgID);
extern PACKAGE void __fastcall RegisterWebApp(const AnsiString AFileName, const AnsiString AProgID);
extern PACKAGE void __fastcall UnregisterWebApp(const AnsiString AProgID);

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

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