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

  1. //----------------------------------------------------------------------------
  2. // DBEdit.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: DBEdit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef DBEditHPP
  6. #define DBEditHPP
  7. //----------------------------------------------------------------------------
  8. #ifndef DBHPP
  9. #include <DB.hpp>
  10. #endif
  11.  
  12. #ifndef StdCtrlsHPP
  13. #include <StdCtrls.hpp>
  14. #endif
  15.  
  16. #ifndef ButtonsHPP
  17. #include <Buttons.hpp>
  18. #endif
  19.  
  20. #ifndef DialogsHPP
  21. #include <Dialogs.hpp>
  22. #endif
  23.  
  24. #ifndef FormsHPP
  25. #include <Forms.hpp>
  26. #endif
  27.  
  28. #ifndef ControlsHPP
  29. #include <Controls.hpp>
  30. #endif
  31.  
  32. #ifndef GraphicsHPP
  33. #include <Graphics.hpp>
  34. #endif
  35.  
  36. #ifndef ClassesHPP
  37. #include <Classes.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 SysUtilsHPP
  49. #include <SysUtils.hpp>
  50. #endif
  51.  
  52. #ifndef SystemHPP
  53. #include <System.hpp>
  54. #endif
  55.  
  56. namespace Dbedit
  57. {
  58. //-- type declarations -------------------------------------------------------
  59. class __declspec(delphiclass) TDBEditForm;
  60. class __declspec(pascalimplementation) TDBEditForm : public Forms::TForm
  61. {
  62.     typedef TDBEditForm ThisClass;
  63.     typedef Forms::TForm inherited;
  64.     
  65. __published:
  66.     Stdctrls::TGroupBox *GroupBox1;
  67.     Stdctrls::TLabel *Label4;
  68.     Stdctrls::TEdit *DatabaseName;
  69.     Stdctrls::TLabel *Label1;
  70.     Stdctrls::TComboBox *AliasName;
  71.     Stdctrls::TLabel *Label2;
  72.     Stdctrls::TComboBox *DriverName;
  73.     Stdctrls::TLabel *Label3;
  74.     Stdctrls::TMemo *DatabaseParams;
  75.     Stdctrls::TButton *DefaultsButton;
  76.     Stdctrls::TButton *ClearButton;
  77.     Stdctrls::TGroupBox *GroupBox3;
  78.     Stdctrls::TCheckBox *LoginPrompt;
  79.     Stdctrls::TCheckBox *KeepConnection;
  80.     Stdctrls::TButton *OkButton;
  81.     Stdctrls::TButton *CancelButton;
  82.     Stdctrls::TButton *HelpButton;
  83.     void __fastcall AliasNameChange(System::TObject *Sender);
  84.     void __fastcall AliasNameDropDown(System::TObject *Sender);
  85.     void __fastcall DriverNameChange(System::TObject *Sender);
  86.     void __fastcall DriverNameDropDown(System::TObject *Sender);
  87.     void __fastcall DefaultsButtonClick(System::TObject *Sender);
  88.     void __fastcall ClearButtonClick(System::TObject *Sender);
  89.     void __fastcall OkButtonClick(System::TObject *Sender);
  90.     void __fastcall FormCreate(System::TObject *Sender);
  91.     void __fastcall HelpButtonClick(System::TObject *Sender);
  92.     
  93. private:
  94.     Db::TDatabase *Database;
  95.     System::Boolean __fastcall Edit(void);
  96. public:
  97.     /* !! TForm.Create */ __fastcall virtual TDBEditForm(Classes::TComponent *AOwner) : Forms::TForm(AOwner
  98.         ) { }
  99.     /* !! TForm.CreateNew */ __fastcall TDBEditForm(Classes::TComponent *AOwner, System::Integer Dummy)
  100.          : Forms::TForm(AOwner, Dummy) { }
  101.     /* !! TForm.Destroy */ __fastcall virtual ~TDBEditForm(void) { }
  102.     
  103. };
  104.  
  105. //-- var, const, procedure ---------------------------------------------------
  106. extern System::Boolean __fastcall EditDatabase(Db::TDatabase *ADatabase);
  107.  
  108. }    /* namespace Dbedit */
  109. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  110. using namespace Dbedit;
  111. #endif
  112. //-- end unit ----------------------------------------------------------------
  113. #endif    // DBEdit
  114.