Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.1 KiB

  1. // Copyright (c) 1997-2001 Microsoft Corporation
  2. //
  3. // File: RestorePasswordPage.h
  4. //
  5. // Synopsis: Declares the restore password page used in the
  6. // Express path for the CYS Wizard
  7. //
  8. // History: 02/08/2001 JeffJon Created
  9. #ifndef __CYS_RESTOREPASSWORDPAGE_H
  10. #define __CYS_RESTOREPASSWORDPAGE_H
  11. #include "CYSWizardPage.h"
  12. #include "PasswordEditBox.hpp"
  13. class RestorePasswordPage : public CYSWizardPage
  14. {
  15. public:
  16. // Constructor
  17. RestorePasswordPage();
  18. // Destructor
  19. virtual
  20. ~RestorePasswordPage();
  21. // Dialog overrides
  22. virtual
  23. void
  24. OnInit();
  25. // PropertyPage overrides
  26. virtual
  27. bool
  28. OnSetActive();
  29. protected:
  30. // CYSWizardPage overrides
  31. virtual
  32. int
  33. Validate();
  34. private:
  35. // NTRAID#NTBUG9-202238-2000/11/07-sburns
  36. PasswordEditBox password;
  37. PasswordEditBox confirm;
  38. // not defined: no copying allowed
  39. RestorePasswordPage(const RestorePasswordPage&);
  40. const RestorePasswordPage& operator=(const RestorePasswordPage&);
  41. };
  42. #endif // __CYS_RESTOREPASSWORDPAGE_H