home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 25: Programming / pc_actual_25.iso / C_C++ / BisonFlexWizard / data1.cab / Src / Wizard / Chooser.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-16  |  1.1 KB  |  35 lines

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