diff options
Diffstat (limited to 'utils/valvelib/chooser.h')
| -rw-r--r-- | utils/valvelib/chooser.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/utils/valvelib/chooser.h b/utils/valvelib/chooser.h new file mode 100644 index 0000000..3ccab8e --- /dev/null +++ b/utils/valvelib/chooser.h @@ -0,0 +1,41 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +#if !defined(AFX_CHOOSER_H__132A47A9_C09B_41B3_9222_861583CB901A__INCLUDED_) +#define AFX_CHOOSER_H__132A47A9_C09B_41B3_9222_861583CB901A__INCLUDED_ + +// chooser.h : declaration of the CDialogChooser class +// This class keeps track of what dialogs to pop up when. + +#define LAST_DLG 1 + +class CDialogChooser +{ +public: + CDialogChooser(); + ~CDialogChooser(); + + // All calls by mfcapwz.dll to CValvelibAppWiz::Next + // & CValvelibAppWiz::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 Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_CHOOSER_H__132A47A9_C09B_41B3_9222_861583CB901A__INCLUDED_) |