home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // DRIntf.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: DRIntf.pas
- //----------------------------------------------------------------------------
- #ifndef DRIntfHPP
- #define DRIntfHPP
- //----------------------------------------------------------------------------
- #ifndef DBHPP
- #include <DB.hpp>
- #endif
-
- #ifndef DBTablesHPP
- #include <DBTables.hpp>
- #endif
-
- #ifndef DialogsHPP
- #include <Dialogs.hpp>
- #endif
-
- #ifndef FormsHPP
- #include <Forms.hpp>
- #endif
-
- #ifndef ControlsHPP
- #include <Controls.hpp>
- #endif
-
- #ifndef GraphicsHPP
- #include <Graphics.hpp>
- #endif
-
- #ifndef ClassesHPP
- #include <Classes.hpp>
- #endif
-
- #ifndef MessagesHPP
- #include <Messages.hpp>
- #endif
-
- #ifndef WindowsHPP
- #include <Windows.hpp>
- #endif
-
- #ifndef SysUtilsHPP
- #include <SysUtils.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Drintf
- {
- //-- type declarations -------------------------------------------------------
- struct TID
- {
- System::Byte Reserved[6];
- } ;
-
- struct TDatabaseID
- {
- System::Byte Reserved[6];
- } ;
-
- struct TTableID
- {
- System::Byte Reserved[6];
- } ;
-
- struct TFieldID
- {
- System::Byte Reserved[6];
- } ;
-
- struct TAttrID
- {
- System::Byte Reserved[6];
- } ;
-
- //-- var, const, procedure ---------------------------------------------------
- extern TID NullID;
- extern TAttrID NullAttrID;
- extern TDatabaseID NullDatabaseID;
- extern TTableID NullTableID;
- extern TFieldID NullFieldID;
- extern System::AnsiString __fastcall QualifyTableName(Db::TDatabase *Database, const System::AnsiString
- TableName);
- extern System::Boolean __fastcall IsNullID(const void *ID);
- extern void __fastcall DictionaryDeactivate(void);
- extern System::Boolean __fastcall DictionaryActive(void);
- extern TDatabaseID __fastcall FindDatabaseID(const System::AnsiString Database);
- extern TTableID __fastcall FindTableID(const TDatabaseID &Database, const System::AnsiString Table);
-
- extern TFieldID __fastcall FindFieldID(const TTableID &Table, const System::AnsiString Field);
- extern TAttrID __fastcall GetAttrID(const TFieldID &FieldID);
- extern TAttrID __fastcall FindAttrID(const System::AnsiString AttrName);
- extern System::AnsiString __fastcall GetAttrName(const TAttrID &AttrID);
- extern void __fastcall GetAttrNames(Classes::TGetStrProc Proc);
- extern void __fastcall AssociateAttr(const TAttrID &AttrID, const TFieldID &FieldID);
- extern void __fastcall UnassociateAttr(const TFieldID &FieldID);
- extern TAttrID __fastcall NewAttr(Db::TField *Field, const TFieldID &FieldID, const System::AnsiString
- AttrName, const TAttrID &Parent);
- extern void __fastcall UpdateAttr(Db::TField *Field, const TFieldID &FieldID, const TAttrID &AttrID)
- ;
- extern void __fastcall UpdateField(Db::TField *Field, const TFieldID &FieldID, const TAttrID &AttrID
- );
- extern Db::TField *__fastcall CreateField(Classes::TComponent *Owner, Db::TDataSet *Dataset, const System::AnsiString
- FieldName, const TFieldID &FieldID, const TAttrID &AttrID);
- extern System::AnsiString __fastcall GetControlClass(const TAttrID &AttrID);
-
- } /* namespace Drintf */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Drintf;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // DRIntf
-