// cbhechoDlg.h : header file // #if !defined(AFX_CBHECHODLG_H__CE076268_942F_46BF_9149_9239221E56F7__INCLUDED_) #define AFX_CBHECHODLG_H__CE076268_942F_46BF_9149_9239221E56F7__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "mmsystem.h" #include "makewave.h" ///////////////////////////////////////////////////////////////////////////// // CCbhechoDlg dialog class CCbhechoDlg : public CDialog { // Construction public: void dofft(int ii); int havestoped; int peaknumber; double * peaks; int currentfreq; int currentpos; int wavesize; double * wave; cbhanalysis* analysis; cbhrecord* record; void OnRecord(WPARAM wp, LPARAM lp); CCbhechoDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CCbhechoDlg) enum { IDD = IDD_CBHECHO_DIALOG }; CScrollBar m_freqscroll; CScrollBar m_scrollbar1; CString m_noiselevel; CString m_staticfreq; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CCbhechoDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CCbhechoDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnDestroy(); afx_msg void OnButtonbegin(); afx_msg void OnButtonreplay(); afx_msg void OnButtonstop(); afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg void OnButtonint(); afx_msg void OnButtonacu(); afx_msg void OnButtonsave(); afx_msg void OnButtonread(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CBHECHODLG_H__CE076268_942F_46BF_9149_9239221E56F7__INCLUDED_)