summaryrefslogtreecommitdiffabout
path: root/SoundsPage.h
Side-by-side diff
Diffstat (limited to 'SoundsPage.h') (more/less context) (ignore whitespace changes)
-rw-r--r--SoundsPage.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/SoundsPage.h b/SoundsPage.h
new file mode 100644
index 0000000..ea67fc3
--- a/dev/null
+++ b/SoundsPage.h
@@ -0,0 +1,58 @@
+// SoundsPage.h : header file
+//
+
+/////////////////////////////////////////////////////////////////////////////
+// CSoundsPage dialog
+
+class CSoundsPage : public CPropertyPage
+{
+ DECLARE_DYNCREATE(CSoundsPage)
+
+// Construction
+public:
+ void PlayIt(CComboBox& ctl,BOOL bLoop=FALSE);
+ void BrowseForSound(CComboBox& ctl);
+ CSoundsPage();
+ ~CSoundsPage();
+
+// Dialog Data
+ //{{AFX_DATA(CSoundsPage)
+ enum { IDD = IDD_OPTIONS_SOUNDS };
+ CButton m_T42WakePlayCtl;
+ CButton m_T42PromptPlayCtl;
+ CButton m_T42BellPlayCtl;
+ CButton m_T42WakeBrowseCtl;
+ CComboBox m_T42WakeCtl;
+ CButton m_T42PromptBrowseCtl;
+ CComboBox m_T42PromptCtl;
+ CButton m_T42BellBrowseCtl;
+ CComboBox m_T42BellCtl;
+ CString m_T42Bell;
+ CString m_T42Prompt;
+ BOOL m_bT42PromptLoop;
+ CString m_T42Wake;
+ //}}AFX_DATA
+
+
+// Overrides
+ // ClassWizard generate virtual function overrides
+ //{{AFX_VIRTUAL(CSoundsPage)
+ protected:
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
+ //}}AFX_VIRTUAL
+
+// Implementation
+protected:
+ // Generated message map functions
+ //{{AFX_MSG(CSoundsPage)
+ virtual BOOL OnInitDialog();
+ afx_msg void OnT42bellBrowse();
+ afx_msg void OnT42promptBrowse();
+ afx_msg void OnT42wakeBrowse();
+ afx_msg void OnT42bellPlay();
+ afx_msg void OnT42promptPlay();
+ afx_msg void OnT42wakePlay();
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
+
+};