Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #if !defined(AFX_CHOOSER_H__132A47A9_C09B_41B3_9222_861583CB901A__INCLUDED_)
  9. #define AFX_CHOOSER_H__132A47A9_C09B_41B3_9222_861583CB901A__INCLUDED_
  10. // chooser.h : declaration of the CDialogChooser class
  11. // This class keeps track of what dialogs to pop up when.
  12. #define LAST_DLG 1
  13. class CDialogChooser
  14. {
  15. public:
  16. CDialogChooser();
  17. ~CDialogChooser();
  18. // All calls by mfcapwz.dll to CValvelibAppWiz::Next
  19. // & CValvelibAppWiz::Back are delegated to these member
  20. // functions, which keep track of what dialog is up
  21. // now, and what to pop up next.
  22. CAppWizStepDlg* Next(CAppWizStepDlg* pDlg);
  23. CAppWizStepDlg* Back(CAppWizStepDlg* pDlg);
  24. protected:
  25. // Current step's index into the internal array m_pDlgs
  26. int m_nCurrDlg;
  27. // Internal array of pointers to the steps
  28. CAppWizStepDlg* m_pDlgs[LAST_DLG + 1];
  29. };
  30. //{{AFX_INSERT_LOCATION}}
  31. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  32. #endif // !defined(AFX_CHOOSER_H__132A47A9_C09B_41B3_9222_861583CB901A__INCLUDED_)