www.pudn.com > speech1.rar > SoundSet.h
#if !defined(AFX_SOUNDSET_H__B9DDCC36_0C34_42FF_9D4E_9D94ACB28FDC__INCLUDED_)
#define AFX_SOUNDSET_H__B9DDCC36_0C34_42FF_9D4E_9D94ACB28FDC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SoundSet.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSoundSet dialog
class CSoundSet : public CDialog
{
// Construction
public:
void SetVolume(long volume);
void SetRate(long rate);
long GetVolume();
long GetRate();
CSoundSet(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSoundSet)
enum { IDD = IDD_SOUNDSET };
long m_rate;
long m_volume;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSoundSet)
public:
virtual void OnFinalRelease();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSoundSet)
virtual BOOL OnInitDialog();
afx_msg void OnRateadd();
afx_msg void OnRatereduce();
afx_msg void OnVolumeadd();
afx_msg void OnVolumereduce();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Generated OLE dispatch map functions
//{{AFX_DISPATCH(CSoundSet)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
DECLARE_INTERFACE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SOUNDSET_H__B9DDCC36_0C34_42FF_9D4E_9D94ACB28FDC__INCLUDED_)