CMakeDialog.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. CListBox m_CacheEntriesList;
  27. CString m_WhereITK;
  28. CString m_WhereBuildITK;
  29. //}}AFX_DATA
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CMakeSetupDialog)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. HICON m_hIcon;
  38. // Generated message map functions
  39. //{{AFX_MSG(CMakeSetupDialog)
  40. virtual BOOL OnInitDialog();
  41. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  42. afx_msg void OnPaint();
  43. afx_msg HCURSOR OnQueryDragIcon();
  44. afx_msg void OnBrowse();
  45. virtual void OnOK();
  46. afx_msg void OnButton3();
  47. afx_msg void OnBuildProjects();
  48. afx_msg void OnChangeWhereBuild();
  49. afx_msg void OnChangeWhereSource();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. };
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  55. #endif // !defined(AFX_CMakeSetupDialogDLG_H__AC17A6F6_4634_11D4_8F21_00A0CC33FCD3__INCLUDED_)