Leaked source code of windows server 2003
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.

48 lines
785 B

  1. // Copyright (C) 1997 Microsoft Corporation
  2. //
  3. // Dlg to confirm reboot
  4. //
  5. // 12-12-97 sburns
  6. #ifndef REBOOTDIALOG_HPP_INCLUDED
  7. #define REBOOTDIALOG_HPP_INCLUDED
  8. class RebootDialog : public Dialog
  9. {
  10. public:
  11. // forFailure - true if a reboot is needed but the operation failed anyway.
  12. RebootDialog(bool forFailure);
  13. virtual ~RebootDialog();
  14. private:
  15. // Dialog overrides
  16. virtual
  17. bool
  18. OnCommand(
  19. HWND windowFrom,
  20. unsigned controlIDFrom,
  21. unsigned code);
  22. // not defined: no copying allowed
  23. RebootDialog(const RebootDialog&);
  24. const RebootDialog& operator=(const RebootDialog&);
  25. };
  26. #endif // REBOOTDIALOG_HPP_INCLUDED