|
Revision 5, 1.5 kB
(checked in by qbert, 6 years ago)
|
Initial ( and last :( ) commit
|
| Line | |
|---|
| 1 |
#if !defined(AFX_BUILDOPTIONSDLG_H__DB2FD016_0159_4CDE_86C6_C854BCEB4AAF__INCLUDED_) |
|---|
| 2 |
#define AFX_BUILDOPTIONSDLG_H__DB2FD016_0159_4CDE_86C6_C854BCEB4AAF__INCLUDED_ |
|---|
| 3 |
|
|---|
| 4 |
#if _MSC_VER > 1000 |
|---|
| 5 |
#pragma once |
|---|
| 6 |
#endif // _MSC_VER > 1000 |
|---|
| 7 |
// BuildOptionsDlg.h : header file |
|---|
| 8 |
// |
|---|
| 9 |
#include "GUIComponents\XHyperLink.h" |
|---|
| 10 |
///////////////////////////////////////////////////////////////////////////// |
|---|
| 11 |
// CBuildOptionsDlg dialog |
|---|
| 12 |
|
|---|
| 13 |
class CBuildOptionsDlg : public CRHGenericChildDialog |
|---|
| 14 |
{ |
|---|
| 15 |
// Construction |
|---|
| 16 |
public: |
|---|
| 17 |
CBuildOptionsDlg(CWnd* pParent = NULL); // standard constructor |
|---|
| 18 |
virtual int CRHGetDialogID() { return IDD; } |
|---|
| 19 |
|
|---|
| 20 |
// Dialog Data |
|---|
| 21 |
//{{AFX_DATA(CBuildOptionsDlg) |
|---|
| 22 |
enum { IDD = IDD_MAKEFILE_DLG }; |
|---|
| 23 |
CXHyperLink m_buildLink; |
|---|
| 24 |
BOOL m_mandatoryChecked; |
|---|
| 25 |
//}}AFX_DATA |
|---|
| 26 |
|
|---|
| 27 |
void Save() { |
|---|
| 28 |
|
|---|
| 29 |
UpdateData(); |
|---|
| 30 |
|
|---|
| 31 |
if ( Globals::currentProject) |
|---|
| 32 |
{ |
|---|
| 33 |
Globals::currentProject->SetCache("buildType",1); |
|---|
| 34 |
|
|---|
| 35 |
// |
|---|
| 36 |
} |
|---|
| 37 |
|
|---|
| 38 |
} |
|---|
| 39 |
|
|---|
| 40 |
// Overrides |
|---|
| 41 |
// ClassWizard generated virtual function overrides |
|---|
| 42 |
//{{AFX_VIRTUAL(CBuildOptionsDlg) |
|---|
| 43 |
protected: |
|---|
| 44 |
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support |
|---|
| 45 |
//}}AFX_VIRTUAL |
|---|
| 46 |
|
|---|
| 47 |
// Implementation |
|---|
| 48 |
protected: |
|---|
| 49 |
|
|---|
| 50 |
// Generated message map functions |
|---|
| 51 |
//{{AFX_MSG(CBuildOptionsDlg) |
|---|
| 52 |
virtual BOOL OnInitDialog(); |
|---|
| 53 |
afx_msg void OnCheck1(); |
|---|
| 54 |
//}}AFX_MSG |
|---|
| 55 |
DECLARE_MESSAGE_MAP() |
|---|
| 56 |
}; |
|---|
| 57 |
|
|---|
| 58 |
//{{AFX_INSERT_LOCATION}} |
|---|
| 59 |
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. |
|---|
| 60 |
|
|---|
| 61 |
#endif // !defined(AFX_BUILDOPTIONSDLG_H__DB2FD016_0159_4CDE_86C6_C854BCEB4AAF__INCLUDED_) |
|---|