windows-nt/Source/XPSP1/NT/shell/tools/extwiz/chooser.h
2020-09-26 16:20:57 +08:00

35 lines
1 KiB
C++

#if !defined(AFX_CHOOSER_H__8E5AF4C6_5EDE_11D1_8CD0_00C04FD918D0__INCLUDED_)
#define AFX_CHOOSER_H__8E5AF4C6_5EDE_11D1_8CD0_00C04FD918D0__INCLUDED_
// chooser.h : declaration of the CDialogChooser class
// This class keeps track of what dialogs to pop up when.
#define LAST_DLG 2
class CDialogChooser
{
public:
CDialogChooser();
~CDialogChooser();
// All calls by mfcapwz.dll to CTestAppWiz::Next
// & CTestAppWiz::Back are delegated to these member
// functions, which keep track of what dialog is up
// now, and what to pop up next.
CAppWizStepDlg* Next(CAppWizStepDlg* pDlg);
CAppWizStepDlg* Back(CAppWizStepDlg* pDlg);
protected:
// Current step's index into the internal array m_pDlgs
int m_nCurrDlg;
// Internal array of pointers to the steps
CAppWizStepDlg* m_pDlgs[LAST_DLG + 1];
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHOOSER_H__8E5AF4C6_5EDE_11D1_8CD0_00C04FD918D0__INCLUDED_)