// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'AMNRegSvr.pas' rev: 3.00

#ifndef AMNRegSvrHPP
#define AMNRegSvrHPP
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Options.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Amnregsvr
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAMNRegSvr;
class PASCALIMPLEMENTATION TAMNRegSvr : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
private:
	Classes::TNotifyEvent FOnDone;
	Classes::TNotifyEvent FOnFail;
	Classes::TNotifyEvent FOnError;
	System::AnsiString fFileName;
	System::AnsiString __fastcall GetVersion(void);
	void __fastcall SetVersion(const System::AnsiString Val);
	
public:
	void __fastcall XRegister(void);
	void __fastcall XUnregister(void);
	
__published:
	__property Classes::TNotifyEvent OnFail = {read=FOnFail, write=FOnFail};
	__property Classes::TNotifyEvent OnDone = {read=FOnDone, write=FOnDone};
	__property Classes::TNotifyEvent OnError = {read=FOnError, write=FOnError};
	__property System::AnsiString OCX_Name = {read=fFileName, write=fFileName};
	__property System::AnsiString Version = {read=GetVersion, write=SetVersion};
public:
	/* TComponent.Create */ __fastcall virtual TAMNRegSvr(Classes::TComponent* AOwner) : Classes::TComponent(
		AOwner) { }
	/* TComponent.Destroy */ __fastcall virtual ~TAMNRegSvr(void) { }
	
};

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE HRESULT __fastcall (*DllRegisterServer)(void);
extern PACKAGE HRESULT __fastcall (*DllUnregisterServer)(void);
extern PACKAGE Byte I;

}	/* namespace Amnregsvr */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Amnregsvr;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// AMNRegSvr
