hl2_src-leak-2017/src/utils/valvelib/chooser.h

42 lines
1.2 KiB
C++

//========= 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_)