CMakeDialog.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // CMakeSetupDialogDlg.h : header file
  2. //
  3. #if !defined(AFX_CMakeSetupDialogDLG_H__AC17A6F6_4634_11D4_8F21_00A0CC33FCD3__INCLUDED_)
  4. #define AFX_CMakeSetupDialogDLG_H__AC17A6F6_4634_11D4_8F21_00A0CC33FCD3__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CMakeSetupDialog dialog
  10. class CMakeSetupDialog : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CMakeSetupDialog(CWnd* pParent = NULL); // standard constructor
  15. protected:
  16. bool Browse(CString&, const char* title);
  17. void SaveToRegistry();
  18. void LoadFromRegistry();
  19. void ReadRegistryValue(HKEY hKey,
  20. CString *val,
  21. char *key,
  22. char *adefault);
  23. // Dialog Data
  24. //{{AFX_DATA(CMakeSetupDialog)
  25. enum { IDD = IDD_CMakeSetupDialog_DIALOG };
  26. CComboBox m_WhereSourceControl;
  27. CComboBox m_WhereBuildControl;
  28. CListBox m_CacheEntriesList;
  29. CString m_WhereITK;
  30. CString m_WhereBuildITK;
  31. CString m_WhereBuild;
  32. CString m_WhereSource;
  33. //}}AFX_DATA
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CMakeSetupDialog)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. HICON m_hIcon;
  42. // Generated message map functions
  43. //{{AFX_MSG(CMakeSetupDialog)
  44. virtual BOOL OnInitDialog();
  45. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  46. afx_msg void OnPaint();
  47. afx_msg HCURSOR OnQueryDragIcon();
  48. afx_msg void OnBrowse();
  49. virtual void OnOK();
  50. afx_msg void OnButton3();
  51. afx_msg void OnBuildProjects();
  52. afx_msg void OnChangeWhereBuild();
  53. afx_msg void OnChangeWhereSource();
  54. afx_msg void OnEditchangeWhereBuild();
  55. afx_msg void OnEditchangeWhereSource();
  56. afx_msg void OnSelchangeWhereSource();
  57. afx_msg void OnSelchangeWhereBuild();
  58. afx_msg void OnEditupdateWhereBuild();
  59. afx_msg void OnCloseupWhereBuild();
  60. afx_msg void OnSelendokWhereBuild();
  61. //}}AFX_MSG
  62. DECLARE_MESSAGE_MAP()
  63. };
  64. //{{AFX_INSERT_LOCATION}}
  65. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  66. #endif // !defined(AFX_CMakeSetupDialogDLG_H__AC17A6F6_4634_11D4_8F21_00A0CC33FCD3__INCLUDED_)