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.
49 lines
785 B
49 lines
785 B
// Copyright (C) 1997 Microsoft Corporation
|
|
//
|
|
// Dlg to confirm reboot
|
|
//
|
|
// 12-12-97 sburns
|
|
|
|
|
|
|
|
#ifndef REBOOTDIALOG_HPP_INCLUDED
|
|
#define REBOOTDIALOG_HPP_INCLUDED
|
|
|
|
|
|
|
|
class RebootDialog : public Dialog
|
|
{
|
|
public:
|
|
|
|
|
|
|
|
// forFailure - true if a reboot is needed but the operation failed anyway.
|
|
|
|
RebootDialog(bool forFailure);
|
|
|
|
|
|
|
|
virtual ~RebootDialog();
|
|
|
|
|
|
|
|
private:
|
|
|
|
// Dialog overrides
|
|
|
|
virtual
|
|
bool
|
|
OnCommand(
|
|
HWND windowFrom,
|
|
unsigned controlIDFrom,
|
|
unsigned code);
|
|
|
|
// not defined: no copying allowed
|
|
|
|
RebootDialog(const RebootDialog&);
|
|
const RebootDialog& operator=(const RebootDialog&);
|
|
};
|
|
|
|
|
|
|
|
#endif // REBOOTDIALOG_HPP_INCLUDED
|