home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / DRINTF.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  3KB  |  104 lines

  1. //----------------------------------------------------------------------------
  2. // DRIntf.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: DRIntf.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef DRIntfHPP
  6. #define DRIntfHPP
  7. //----------------------------------------------------------------------------
  8. #include <DB.hpp>
  9. #include <DBTables.hpp>
  10. #include <Dialogs.hpp>
  11. #include <Forms.hpp>
  12. #include <Controls.hpp>
  13. #include <Graphics.hpp>
  14. #include <Classes.hpp>
  15. #include <Messages.hpp>
  16. #include <Windows.hpp>
  17. #include <SysUtils.hpp>
  18. #include <System.hpp>
  19. #pragma warn -par
  20. #pragma warn -hid 
  21. #pragma warn -inl
  22.  
  23. namespace Drintf
  24. {
  25. //-- type declarations -------------------------------------------------------
  26. #pragma pack(push, 1)
  27. struct TID
  28. {
  29.     Byte Reserved[6];
  30. } ;
  31. #pragma pack(pop)
  32.  
  33. #pragma pack(push, 1)
  34. struct TDatabaseID
  35. {
  36.     Byte Reserved[6];
  37. } ;
  38. #pragma pack(pop)
  39.  
  40. #pragma pack(push, 1)
  41. struct TTableID
  42. {
  43.     Byte Reserved[6];
  44. } ;
  45. #pragma pack(pop)
  46.  
  47. #pragma pack(push, 1)
  48. struct TFieldID
  49. {
  50.     Byte Reserved[6];
  51. } ;
  52. #pragma pack(pop)
  53.  
  54. #pragma pack(push, 1)
  55. struct TAttrID
  56. {
  57.     Byte Reserved[6];
  58. } ;
  59. #pragma pack(pop)
  60.  
  61. //-- var, const, procedure ---------------------------------------------------
  62. extern TID NullID;
  63. extern TAttrID NullAttrID;
  64. extern TDatabaseID NullDatabaseID;
  65. extern TTableID NullTableID;
  66. extern TFieldID NullFieldID;
  67. extern System::AnsiString __fastcall QualifyTableName(Db::TDatabase* Database, const System::AnsiString 
  68.     TableName);
  69. extern bool __fastcall IsNullID(const void *ID);
  70. extern void __fastcall DictionaryDeactivate(void);
  71. extern bool __fastcall DictionaryActive(void);
  72. extern TDatabaseID __fastcall FindDatabaseID(const System::AnsiString Database);
  73. extern TTableID __fastcall FindTableID(const TDatabaseID &Database, const System::AnsiString Table);
  74.     
  75. extern TFieldID __fastcall FindFieldID(const TTableID &Table, const System::AnsiString Field);
  76. extern TAttrID __fastcall GetAttrID(const TFieldID &FieldID);
  77. extern TAttrID __fastcall FindAttrID(const System::AnsiString AttrName);
  78. extern System::AnsiString __fastcall GetAttrName(const TAttrID &AttrID);
  79. extern void __fastcall GetAttrNames(Classes::TGetStrProc Proc);
  80. extern void __fastcall AssociateAttr(const TAttrID &AttrID, const TFieldID &FieldID);
  81. extern void __fastcall UnassociateAttr(const TFieldID &FieldID);
  82. extern TAttrID __fastcall NewAttr(Db::TField* Field, const TFieldID &FieldID, const System::AnsiString 
  83.     AttrName, const TAttrID &Parent);
  84. extern void __fastcall UpdateAttr(Db::TField* Field, const TFieldID &FieldID, const TAttrID &AttrID)
  85.     ;
  86. extern void __fastcall UpdateField(Db::TField* Field, const TFieldID &FieldID, const TAttrID &AttrID
  87.     );
  88. extern Db::TField* __fastcall CreateField(Classes::TComponent* Owner, Db::TDataSet* Dataset, const System::AnsiString 
  89.     FieldName, const TFieldID &FieldID, const TAttrID &AttrID);
  90. extern System::AnsiString __fastcall GetControlClass(const TAttrID &AttrID);
  91. extern void __fastcall finalization(void);
  92.  
  93. }    /* namespace Drintf */
  94.  
  95. #pragma warn .par
  96. #pragma warn .hid 
  97. #pragma warn .inl
  98.  
  99. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  100. using namespace Drintf;
  101. #endif
  102. //-- end unit ----------------------------------------------------------------
  103. #endif    // DRIntf
  104.