home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / DRINTF.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-06  |  3.3 KB  |  117 lines

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