root/trunk/CompilerSettingsPage.h

Revision 5, 1.8 kB (checked in by qbert, 6 years ago)

Initial ( and last :( ) commit

Line 
1 #if !defined(AFX_COMPILERSETTINGSPAGE_H__55C7137E_50BF_4423_A4AF_D23D419FD994__INCLUDED_)
2 #define AFX_COMPILERSETTINGSPAGE_H__55C7137E_50BF_4423_A4AF_D23D419FD994__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // CompilerSettingsPage.h : header file
8 //
9 #include "GUIComponents/GenericChildDialog.h"
10 /////////////////////////////////////////////////////////////////////////////
11 // CCompilerSettingsPage dialog
12
13 class CCompilerSettingsPage : public CRHGenericChildDialog
14 {
15 // Construction
16 public:
17     CCompilerSettingsPage(CWnd* pParent = NULL);   // standard constructor
18 virtual int CRHGetDialogID() { return IDD;
19     }
20 // Dialog Data
21     //{{AFX_DATA(CCompilerSettingsPage)
22     enum { IDD = IDD_COMPILERSETTINGS_PAGE };
23     CXTButton   m_b3;
24     CXTButton   m_b2;
25     CXTButton   m_b;
26     CString m_ccompiler;
27     CString m_dcompiler;
28     CString m_linker;
29     //}}AFX_DATA
30
31 void Save()
32 {
33
34     Globals::settings->baseSettings->SetCache("C_Compiler",m_ccompiler.GetBuffer(0));
35     Globals::settings->baseSettings->SetCache("D_Compiler",m_dcompiler.GetBuffer(0));
36     Globals::settings->baseSettings->SetCache("Linker",m_linker.GetBuffer(0));
37
38 }
39 // Overrides
40     // ClassWizard generated virtual function overrides
41     //{{AFX_VIRTUAL(CCompilerSettingsPage)
42     protected:
43     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
44     //}}AFX_VIRTUAL
45
46 // Implementation
47 protected:
48
49     // Generated message map functions
50     //{{AFX_MSG(CCompilerSettingsPage)
51     virtual BOOL OnInitDialog();
52     afx_msg void OnButton1();
53     afx_msg void OnButton3();
54     afx_msg void OnButton4();
55     //}}AFX_MSG
56     DECLARE_MESSAGE_MAP()
57 };
58
59 //{{AFX_INSERT_LOCATION}}
60 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
61
62 #endif // !defined(AFX_COMPILERSETTINGSPAGE_H__55C7137E_50BF_4423_A4AF_D23D419FD994__INCLUDED_)
Note: See TracBrowser for help on using the browser.