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

  1. //----------------------------------------------------------------------------
  2. // DataModl.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: DataModl.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef DataModlHPP
  6. #define DataModlHPP
  7. //----------------------------------------------------------------------------
  8. #ifndef DBTablesHPP
  9. #include <DBTables.hpp>
  10. #endif
  11.  
  12. #ifndef DBHPP
  13. #include <DB.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 SysUtilsHPP
  37. #include <SysUtils.hpp>
  38. #endif
  39.  
  40. #ifndef MessagesHPP
  41. #include <Messages.hpp>
  42. #endif
  43.  
  44. #ifndef WindowsHPP
  45. #include <Windows.hpp>
  46. #endif
  47.  
  48. #ifndef SystemHPP
  49. #include <System.hpp>
  50. #endif
  51.  
  52. namespace Datamodl
  53. {
  54. //-- type declarations -------------------------------------------------------
  55. class __declspec(delphiclass) TDataMod;
  56. class __declspec(pascalimplementation) TDataMod : public Forms::TDataModule
  57. {
  58.     typedef TDataMod ThisClass;
  59.     typedef Forms::TDataModule inherited;
  60.     
  61. __published:
  62.     Dbtables::TTable *Table1;
  63.     Dbtables::TQuery *Query1;
  64.     Dbtables::TTable *Table2;
  65.     Dbtables::TQuery *Query2;
  66.     Db::TDataSource *DataSource1;
  67.     Db::TDataSource *DataSource2;
  68.     void __fastcall DataModuleCreate(System::TObject *Sender);
  69.     
  70. public:
  71.     System::Boolean MultiQuery;
  72.     System::Boolean CreateTable;
  73.     Classes::TMemoryStream *__fastcall CreateRes(const System::AnsiString ModuleName);
  74.     Classes::TMemoryStream *__fastcall CreateHdrSource(const System::AnsiString FilePath, const System::AnsiString 
  75.         FormName);
  76.     Classes::TMemoryStream *__fastcall CreateSource(const System::AnsiString FilePath, const System::AnsiString 
  77.         FormName);
  78. public:
  79.     /* !! TDataModule.Create */ __fastcall virtual TDataMod(Classes::TComponent *AOwner) : Forms::TDataModule(
  80.         AOwner) { }
  81.     /* !! TDataModule.CreateNew */ __fastcall TDataMod(Classes::TComponent *AOwner, System::Integer Dummy
  82.         ) : Forms::TDataModule(AOwner, Dummy) { }
  83.     /* !! TDataModule.Destroy */ __fastcall virtual ~TDataMod(void) { }
  84.     
  85. };
  86.  
  87. //-- var, const, procedure ---------------------------------------------------
  88.  
  89. }    /* namespace Datamodl */
  90. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  91. using namespace Datamodl;
  92. #endif
  93. //-- end unit ----------------------------------------------------------------
  94. #endif    // DataModl
  95.