home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
DRINTF.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
3KB
|
104 lines
//----------------------------------------------------------------------------
// DRIntf.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: DRIntf.pas
//----------------------------------------------------------------------------
#ifndef DRIntfHPP
#define DRIntfHPP
//----------------------------------------------------------------------------
#include <DB.hpp>
#include <DBTables.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysUtils.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Drintf
{
//-- type declarations -------------------------------------------------------
#pragma pack(push, 1)
struct TID
{
Byte Reserved[6];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TDatabaseID
{
Byte Reserved[6];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TTableID
{
Byte Reserved[6];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TFieldID
{
Byte Reserved[6];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TAttrID
{
Byte Reserved[6];
} ;
#pragma pack(pop)
//-- 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 bool __fastcall IsNullID(const void *ID);
extern void __fastcall DictionaryDeactivate(void);
extern bool __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);
extern void __fastcall finalization(void);
} /* namespace Drintf */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Drintf;
#endif
//-- end unit ----------------------------------------------------------------
#endif // DRIntf