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

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

#ifndef SibfibeaHPP
#define SibfibeaHPP

#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 <Sibeabase.hpp>	// Pascal unit
#include <Sibapi.hpp>	// Pascal unit
#include <Fibdatabase.hpp>	// Pascal unit

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

namespace Sibfibea
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSIBfibEventAlerter;
class PASCALIMPLEMENTATION TSIBfibEventAlerter : public Sibeabase::TSIBEventAlerter 
{
	typedef Sibeabase::TSIBEventAlerter inherited;
	
private:
	Fibdatabase::TFIBDatabase* FDatabase;
	bool FAutoRegister;
	void __fastcall SetDatabase(const Fibdatabase::TFIBDatabase* Value);
	void __fastcall SetAutoRegister(const bool Value);
	bool __fastcall CanRegisterEvents(void);
	
protected:
	virtual Sibapi::SIB_PVoid __fastcall GetNativeHandle(void);
	virtual void __fastcall SetNativeHandle(const Sibapi::SIB_PVoid Value);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
	virtual void __fastcall Loaded(void);
	virtual void __fastcall ValidateDatabase(Fibdatabase::TFIBDatabase* DB);
	void __fastcall AfterConnect(System::TObject* Sender);
	void __fastcall BeforeDisconnect(System::TObject* Sender);
	
public:
	__fastcall virtual TSIBfibEventAlerter(Classes::TComponent* Owner);
	__fastcall virtual ~TSIBfibEventAlerter(void);
	
__published:
	__property Fibdatabase::TFIBDatabase* Database = {read=FDatabase, write=SetDatabase};
	__property bool AutoRegister = {read=FAutoRegister, write=SetAutoRegister, default=0};
};


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

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

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