summaryrefslogtreecommitdiffabout
path: root/SettingsPage.h
authorMichael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
committer Michael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
commitfb8b43dbce8bc310718614384297aeaabb9a3cbb (patch) (side-by-side diff)
treeaf9d2c2b71ddffff93a97a02fe26611096b78645 /SettingsPage.h
downloadbigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.zip
bigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.tar.gz
bigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.tar.bz2
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/bigbrother/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
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 @@
+// SettingsPage.h : header file
+//
+
+/////////////////////////////////////////////////////////////////////////////
+// CSettingsPage dialog
+
+class CHostPropertyPages;
+class CSettingsPage : public CPropertyPage
+{
+ DECLARE_DYNCREATE(CSettingsPage)
+
+// Construction
+public:
+ void UpdateBrother();
+ void UpdatePage();
+ void SetupControls();
+ CHostPropertyPages* m_dad;
+ CSettingsPage();
+ ~CSettingsPage();
+
+// Dialog Data
+ //{{AFX_DATA(CSettingsPage)
+ enum { IDD = IDD_PROPS_SETTINGS };
+ CEdit m_RetriesCtl;
+ CEdit m_TimeOutCtl;
+ CEdit m_IntervalGoodCtl;
+ CEdit m_IntervalBadCtl;
+ CButton m_OverrideTimeoutCtl;
+ CButton m_OverrideRetriesCtl;
+ CButton m_OverrideIntervalsCtl;
+ BOOL m_OverrideIntervals;
+ BOOL m_OverrideRetries;
+ BOOL m_OverrideTimeout;
+ DWORD m_IntervalBad;
+ DWORD m_IntervalGood;
+ DWORD m_TimeOut;
+ UINT m_Retries;
+ //}}AFX_DATA
+
+
+// Overrides
+ // ClassWizard generate virtual function overrides
+ //{{AFX_VIRTUAL(CSettingsPage)
+ public:
+ virtual BOOL OnSetActive();
+ virtual BOOL OnKillActive();
+ protected:
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
+ //}}AFX_VIRTUAL
+
+// Implementation
+protected:
+ // Generated message map functions
+ //{{AFX_MSG(CSettingsPage)
+ afx_msg void OnOverrideIntervals();
+ afx_msg void OnOverrideRetries();
+ afx_msg void OnOverrideTimeout();
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
+
+};