www.pudn.com > SafeClean.rar > PowerButton.h
#include "Tray.h"
#include "SafeCleanDlg.h"
#if !defined(AFX_POWERBUTTON_H__737F71C1_1D32_11D5_8EEE_9A532F00CD0C__INCLUDED_)
#define AFX_POWERBUTTON_H__737F71C1_1D32_11D5_8EEE_9A532F00CD0C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PowerButton.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// PowerButton dialog
class PowerButton : public CDialog
{
// Construction
public:
PowerButton(CWnd* pParent = NULL); // standard constructor
CSystemTray m_Tray;
// Dialog Data
//{{AFX_DATA(PowerButton)
enum { IDD = IDD_SHUTDOWNENGINE };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(PowerButton)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
int PFlag;
protected:
// Generated message map functions
//{{AFX_MSG(PowerButton)
afx_msg void OnLogoff();
afx_msg void OnReboot();
afx_msg void OnShutdown();
virtual void OnOK();
afx_msg void OnPowerHelp();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_POWERBUTTON_H__737F71C1_1D32_11D5_8EEE_9A532F00CD0C__INCLUDED_)