diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/valvelib/chooser.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
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_) |