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

  1. //----------------------------------------------------------------------------
  2. // DBEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: DBEdit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef DBEditHPP
  6. #define DBEditHPP
  7. //----------------------------------------------------------------------------
  8. #include <DB.hpp>
  9. #include <StdCtrls.hpp>
  10. #include <Buttons.hpp>
  11. #include <Dialogs.hpp>
  12. #include <Forms.hpp>
  13. #include <Controls.hpp>
  14. #include <Graphics.hpp>
  15. #include <Classes.hpp>
  16. #include <Messages.hpp>
  17. #include <Windows.hpp>
  18. #include <SysUtils.hpp>
  19. #include <System.hpp>
  20. #pragma warn -par
  21. #pragma warn -hid 
  22. #pragma warn -inl
  23.  
  24. namespace Dbedit
  25. {
  26. //-- type declarations -------------------------------------------------------
  27. class __declspec(delphiclass) TDBEditForm;
  28. class __declspec(pascalimplementation) TDBEditForm : public Forms::TForm
  29. {
  30.     typedef Forms::TForm inherited;
  31.     
  32. __published:
  33.     Stdctrls::TGroupBox* GroupBox1;
  34.     Stdctrls::TLabel* Label4;
  35.     Stdctrls::TEdit* DatabaseName;
  36.     Stdctrls::TLabel* Label1;
  37.     Stdctrls::TComboBox* AliasName;
  38.     Stdctrls::TLabel* Label2;
  39.     Stdctrls::TComboBox* DriverName;
  40.     Stdctrls::TLabel* Label3;
  41.     Stdctrls::TMemo* DatabaseParams;
  42.     Stdctrls::TButton* DefaultsButton;
  43.     Stdctrls::TButton* ClearButton;
  44.     Stdctrls::TGroupBox* GroupBox3;
  45.     Stdctrls::TCheckBox* LoginPrompt;
  46.     Stdctrls::TCheckBox* KeepConnection;
  47.     Stdctrls::TButton* OkButton;
  48.     Stdctrls::TButton* CancelButton;
  49.     Stdctrls::TButton* HelpButton;
  50.     void __fastcall AliasNameChange(System::TObject* Sender);
  51.     void __fastcall AliasNameDropDown(System::TObject* Sender);
  52.     void __fastcall DriverNameChange(System::TObject* Sender);
  53.     void __fastcall DriverNameDropDown(System::TObject* Sender);
  54.     void __fastcall DefaultsButtonClick(System::TObject* Sender);
  55.     void __fastcall ClearButtonClick(System::TObject* Sender);
  56.     void __fastcall OkButtonClick(System::TObject* Sender);
  57.     void __fastcall FormCreate(System::TObject* Sender);
  58.     void __fastcall HelpButtonClick(System::TObject* Sender);
  59.     
  60. private:
  61.     Db::TDatabase* Database;
  62.     bool __fastcall Edit(void);
  63. public:
  64.     /* TForm.Create */ __fastcall virtual TDBEditForm(Classes::TComponent* AOwner) : Forms::TForm(AOwner
  65.         ) { }
  66.     /* TForm.CreateNew */ __fastcall TDBEditForm(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
  67.         AOwner, Dummy) { }
  68.     /* TForm.Destroy */ __fastcall virtual ~TDBEditForm(void) { }
  69.     
  70. public:
  71.     /* TWinControl.CreateParented */ __fastcall TDBEditForm(HWND ParentWindow) : Forms::TForm(ParentWindow
  72.         ) { }
  73.     
  74. };
  75.  
  76. //-- var, const, procedure ---------------------------------------------------
  77. extern bool __fastcall EditDatabase(Db::TDatabase* ADatabase);
  78.  
  79. }    /* namespace Dbedit */
  80.  
  81. #pragma warn .par
  82. #pragma warn .hid 
  83. #pragma warn .inl
  84.  
  85. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  86. using namespace Dbedit;
  87. #endif
  88. //-- end unit ----------------------------------------------------------------
  89. #endif    // DBEdit
  90.