home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / DBLOGDLG.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  2KB  |  68 lines

  1. //----------------------------------------------------------------------------
  2. // DBLogDlg.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: DBLogDlg.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef DBLogDlgHPP
  6. #define DBLogDlgHPP
  7. //----------------------------------------------------------------------------
  8. #include <ExtCtrls.hpp>
  9. #include <StdCtrls.hpp>
  10. #include <Forms.hpp>
  11. #include <Controls.hpp>
  12. #include <Graphics.hpp>
  13. #include <Classes.hpp>
  14. #include <Messages.hpp>
  15. #include <Windows.hpp>
  16. #include <SysUtils.hpp>
  17. #include <System.hpp>
  18. #pragma warn -par
  19. #pragma warn -hid 
  20. #pragma warn -inl
  21.  
  22. namespace Dblogdlg
  23. {
  24. //-- type declarations -------------------------------------------------------
  25. class __declspec(delphiclass) TLoginDialog;
  26. class __declspec(pascalimplementation) TLoginDialog : public Forms::TForm
  27. {
  28.     typedef Forms::TForm inherited;
  29.     
  30. __published:
  31.     Extctrls::TPanel* Panel;
  32.     Extctrls::TBevel* Bevel;
  33.     Stdctrls::TLabel* DatabaseName;
  34.     Stdctrls::TEdit* UserName;
  35.     Stdctrls::TEdit* Password;
  36.     Stdctrls::TButton* OKButton;
  37.     Stdctrls::TButton* CancelButton;
  38. public:
  39.     /* TForm.Create */ __fastcall virtual TLoginDialog(Classes::TComponent* AOwner) : Forms::TForm(AOwner
  40.         ) { }
  41.     /* TForm.CreateNew */ __fastcall TLoginDialog(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
  42.         AOwner, Dummy) { }
  43.     /* TForm.Destroy */ __fastcall virtual ~TLoginDialog(void) { }
  44.     
  45. public:
  46.     /* TWinControl.CreateParented */ __fastcall TLoginDialog(HWND ParentWindow) : Forms::TForm(ParentWindow
  47.         ) { }
  48.     
  49. };
  50.  
  51. //-- var, const, procedure ---------------------------------------------------
  52. extern bool __fastcall LoginDialog(const System::AnsiString ADatabaseName,  System::AnsiString &AUserName
  53.     ,  System::AnsiString &APassword);
  54. extern bool __fastcall LoginDialogEx(const System::AnsiString ADatabaseName,  System::AnsiString &AUserName
  55.     ,  System::AnsiString &APassword, bool NameReadOnly);
  56.  
  57. }    /* namespace Dblogdlg */
  58.  
  59. #pragma warn .par
  60. #pragma warn .hid 
  61. #pragma warn .inl
  62.  
  63. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  64. using namespace Dblogdlg;
  65. #endif
  66. //-- end unit ----------------------------------------------------------------
  67. #endif    // DBLogDlg
  68.