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.

69 lines
1.7 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #if !defined(AFX_CSTM1DLG_H__F9EAE5A1_5043_41B1_80CA_495CB6723480__INCLUDED_)
  9. #define AFX_CSTM1DLG_H__F9EAE5A1_5043_41B1_80CA_495CB6723480__INCLUDED_
  10. // cstm1dlg.h : header file
  11. //
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CCustom1Dlg dialog
  14. class CCustom1Dlg : public CAppWizStepDlg
  15. {
  16. // Construction
  17. public:
  18. CCustom1Dlg();
  19. virtual BOOL OnDismiss();
  20. // Dialog Data
  21. //{{AFX_DATA(CCustom1Dlg)
  22. enum { IDD = IDD_CUSTOM1 };
  23. CString m_RootPath;
  24. CString m_TargetPath;
  25. int m_ProjectType;
  26. BOOL m_ToolProject;
  27. CString m_ImplibPath;
  28. BOOL m_PublicProject;
  29. BOOL m_ConsoleApp;
  30. BOOL m_PublishImportLib;
  31. CString m_SrcPath;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CCustom1Dlg)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CCustom1Dlg)
  43. afx_msg void OnSelchangeSelectProjectType();
  44. afx_msg void OnChangeEditRootPath();
  45. afx_msg void OnCheckPublic();
  46. afx_msg void OnCheckTool();
  47. afx_msg void OnCheckPublishImport();
  48. afx_msg void OnChangeEditSrcPath();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. private:
  52. void RecomputeTargetPath();
  53. bool ComputeRelativePath( );
  54. void EnableCheckboxes();
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_CSTM1DLG_H__F9EAE5A1_5043_41B1_80CA_495CB6723480__INCLUDED_)