home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // DbXCtrl.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: DbXCtrl.pas
- //----------------------------------------------------------------------------
- #ifndef DbXCtrlHPP
- #define DbXCtrlHPP
- //----------------------------------------------------------------------------
- #include <DB.hpp>
- #include <Bde.hpp>
- #include <Windows.hpp>
- #include <System.hpp>
- #pragma warn -par
- #pragma warn -hid
- #pragma warn -inl
-
- namespace Dbxctrl
- {
- //-- type declarations -------------------------------------------------------
- enum TDbXEvent { dbxCreate, dbxDestroy, dbxException, dbxOpenDbName, dbxCloseDbName, dbxAddAlias, dbxRemoveAlias,
- dbxAddDb, dbxRemoveDb, dbxOpenDbH, dbxCloseDbH, dbxBDEOwnsDb };
-
- typedef void __fastcall (*TDbXNotifyProc)(TDbXEvent AEvent, const void *Param);
-
- typedef void __fastcall (*TDbXRegisterProc)(int AHandle, const System::ShortString &ARegKey, TDbXNotifyProc
- ANotifyProc);
-
- class __declspec(delphiclass) TDbXCtrl;
- class __declspec(pascalimplementation) TDbXCtrl : public System::TObject
- {
- typedef System::TObject inherited;
-
- public:
- virtual void __fastcall DbEvent(Db::TDatabaseEvent DBEvent, const void *Param) = 0;
- virtual void __fastcall DbListChange(const System::ShortString &AName, bool Add) = 0;
- virtual void __fastcall DbSetHandle(Bde::hDBIDb DbHandle, bool Active) = 0;
- virtual void __fastcall Show(void) = 0;
- virtual void __fastcall ViewDR(bool ViewDR) = 0;
- virtual void * __fastcall FindObject(void * AParent, const System::ShortString &AName, const System::ShortString &
- AClass) = 0;
- virtual void __fastcall SetSelection(void * AObject) = 0;
- public:
- /* TObject.Create */ __fastcall TDbXCtrl(void) : System::TObject() { }
- /* TObject.Destroy */ __fastcall virtual ~TDbXCtrl(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Dbxctrl */
-
- #pragma warn .par
- #pragma warn .hid
- #pragma warn .inl
-
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Dbxctrl;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // DbXCtrl
-