home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / appwiz / customwz / sampleaw.h < prev    next >
C/C++ Source or Header  |  1998-03-05  |  1KB  |  38 lines

  1. // sampleaw.cpp: implementation of CSampleAppWiz class.  This is where we
  2. //                  override many of CCustomAppWiz's member functions.
  3. //
  4. // Copyright (c) 1985-1998, Microsoft Corporation. All rights reserved.
  5. //
  6. #include "zap.h"
  7.  
  8. class CDialogChooser;
  9.  
  10. class CSampleAppWiz : public CCustomAppWiz
  11. {
  12. public:
  13.     virtual void GetPlatforms(CStringList& pPlatforms);
  14.  
  15.     virtual CAppWizStepDlg* Next(CAppWizStepDlg* pDlg);
  16.     virtual CAppWizStepDlg* Back(CAppWizStepDlg* pDlg);
  17.  
  18.     virtual void InitCustomAppWiz();
  19.     virtual void ExitCustomAppWiz();
  20.  
  21.     virtual LPCTSTR LoadTemplate(LPCTSTR lpszTemplateName,
  22.         DWORD& rdwSize, HINSTANCE hInstance = NULL);
  23.  
  24.     virtual void ProcessTemplate(LPCTSTR lpszInput, DWORD dwSize, OutputStream* pOutput);
  25.     virtual void PostProcessTemplate(LPCTSTR szTemplate);
  26.  
  27.     void SetCustomType(int nCustomType);
  28.     int GetCustomType();
  29.  
  30.     CZap m_Zap;
  31.  
  32. protected:
  33.     CDialogChooser* m_pChooser;
  34.     BOOL m_bOverrideProcessing;
  35. };
  36.  
  37. extern CSampleAppWiz sampleaw;
  38.