home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / DATAMODL.HPP < prev    next >
C/C++ Source or Header  |  1997-02-28  |  2KB  |  70 lines

  1. //----------------------------------------------------------------------------
  2. // DataModl.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: DataModl.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef DataModlHPP
  6. #define DataModlHPP
  7. //----------------------------------------------------------------------------
  8. #include <DBTables.hpp>
  9. #include <DB.hpp>
  10. #include <Dialogs.hpp>
  11. #include <Forms.hpp>
  12. #include <Controls.hpp>
  13. #include <Graphics.hpp>
  14. #include <Classes.hpp>
  15. #include <SysUtils.hpp>
  16. #include <Messages.hpp>
  17. #include <Windows.hpp>
  18. #include <System.hpp>
  19. #pragma warn -par
  20. #pragma warn -hid 
  21. #pragma warn -inl
  22.  
  23. namespace Datamodl
  24. {
  25. //-- type declarations -------------------------------------------------------
  26. class __declspec(delphiclass) TDataMod;
  27. class __declspec(pascalimplementation) TDataMod : public Forms::TDataModule
  28. {
  29.     typedef Forms::TDataModule inherited;
  30.     
  31. __published:
  32.     Dbtables::TTable* Table1;
  33.     Dbtables::TQuery* Query1;
  34.     Dbtables::TTable* Table2;
  35.     Dbtables::TQuery* Query2;
  36.     Db::TDataSource* DataSource1;
  37.     Db::TDataSource* DataSource2;
  38.     void __fastcall DataModuleCreate(System::TObject* Sender);
  39.     
  40. public:
  41.     bool MultiQuery;
  42.     bool CreateTable;
  43.     Classes::TMemoryStream* __fastcall CreateRes(const System::AnsiString ModuleName);
  44.     Classes::TMemoryStream* __fastcall CreateHdrSource(const System::AnsiString FilePath, const System::AnsiString 
  45.         FormName);
  46.     Classes::TMemoryStream* __fastcall CreateSource(const System::AnsiString FilePath, const System::AnsiString 
  47.         FormName);
  48. public:
  49.     /* TDataModule.Create */ __fastcall virtual TDataMod(Classes::TComponent* AOwner) : Forms::TDataModule(
  50.         AOwner) { }
  51.     /* TDataModule.CreateNew */ __fastcall TDataMod(Classes::TComponent* AOwner, int Dummy) : Forms::TDataModule(
  52.         AOwner, Dummy) { }
  53.     /* TDataModule.Destroy */ __fastcall virtual ~TDataMod(void) { }
  54.     
  55. };
  56.  
  57. //-- var, const, procedure ---------------------------------------------------
  58.  
  59. }    /* namespace Datamodl */
  60.  
  61. #pragma warn .par
  62. #pragma warn .hid 
  63. #pragma warn .inl
  64.  
  65. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  66. using namespace Datamodl;
  67. #endif
  68. //-- end unit ----------------------------------------------------------------
  69. #endif    // DataModl
  70.