home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // DbXCtrl.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: DbXCtrl.pas
- //----------------------------------------------------------------------------
- #ifndef DbXCtrlHPP
- #define DbXCtrlHPP
- //----------------------------------------------------------------------------
- #ifndef DBHPP
- #include <DB.hpp>
- #endif
-
- #ifndef BdeHPP
- #include <Bde.hpp>
- #endif
-
- #ifndef WindowsHPP
- #include <Windows.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- 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)(System::Integer AHandle, const System::ShortString &ARegKey
- , TDbXNotifyProc ANotifyProc);
-
- class __declspec(delphiclass) TDbXCtrl;
- class __declspec(pascalimplementation) TDbXCtrl : public System::TObject
- {
- typedef TDbXCtrl ThisClass;
- typedef System::TObject inherited;
-
- public:
- virtual void __fastcall DbEvent(Db::TDatabaseEvent DBEvent, const void *Param) = 0;
- virtual void __fastcall DbListChange(const System::ShortString &AName, System::Boolean Add) = 0;
- virtual void __fastcall DbSetHandle(Bde::hDBIDb DbHandle, System::Boolean Active) = 0;
- virtual void __fastcall Show(void) = 0;
- virtual void __fastcall ViewDR(System::Boolean ViewDR) = 0;
- virtual System::Pointer __fastcall FindObject(System::Pointer AParent, const System::ShortString &AName
- , const System::ShortString &AClass) = 0;
- virtual void __fastcall SetSelection(System::Pointer AObject) = 0;
- public:
- /* !! TObject.Create */ __fastcall TDbXCtrl(void) : System::TObject() { }
- /* !! TObject.Destroy */ __fastcall virtual ~TDbXCtrl(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Dbxctrl */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Dbxctrl;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // DbXCtrl
-