summaryrefslogtreecommitdiffabout
path: root/SettingsPage.h
Unidiff
Diffstat (limited to 'SettingsPage.h') (more/less context) (show whitespace changes)
-rw-r--r--SettingsPage.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/SettingsPage.h b/SettingsPage.h
new file mode 100644
index 0000000..c075bde
--- a/dev/null
+++ b/SettingsPage.h
@@ -0,0 +1,61 @@
1// SettingsPage.h : header file
2//
3
4/////////////////////////////////////////////////////////////////////////////
5// CSettingsPage dialog
6
7class CHostPropertyPages;
8class CSettingsPage : public CPropertyPage
9{
10 DECLARE_DYNCREATE(CSettingsPage)
11
12// Construction
13public:
14 void UpdateBrother();
15 void UpdatePage();
16 void SetupControls();
17 CHostPropertyPages* m_dad;
18 CSettingsPage();
19 ~CSettingsPage();
20
21// Dialog Data
22 //{{AFX_DATA(CSettingsPage)
23 enum { IDD = IDD_PROPS_SETTINGS };
24 CEditm_RetriesCtl;
25 CEditm_TimeOutCtl;
26 CEditm_IntervalGoodCtl;
27 CEditm_IntervalBadCtl;
28 CButtonm_OverrideTimeoutCtl;
29 CButtonm_OverrideRetriesCtl;
30 CButtonm_OverrideIntervalsCtl;
31 BOOLm_OverrideIntervals;
32 BOOLm_OverrideRetries;
33 BOOLm_OverrideTimeout;
34 DWORDm_IntervalBad;
35 DWORDm_IntervalGood;
36 DWORDm_TimeOut;
37 UINTm_Retries;
38 //}}AFX_DATA
39
40
41// Overrides
42 // ClassWizard generate virtual function overrides
43 //{{AFX_VIRTUAL(CSettingsPage)
44 public:
45 virtual BOOL OnSetActive();
46 virtual BOOL OnKillActive();
47 protected:
48 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
49 //}}AFX_VIRTUAL
50
51// Implementation
52protected:
53 // Generated message map functions
54 //{{AFX_MSG(CSettingsPage)
55 afx_msg void OnOverrideIntervals();
56 afx_msg void OnOverrideRetries();
57 afx_msg void OnOverrideTimeout();
58 //}}AFX_MSG
59 DECLARE_MESSAGE_MAP()
60
61};