#if !defined(AFX_SOUNDPROPERTYDLG_H__BFC1E0A6_713A_45C0_A4DD_7759445F195E__INCLUDED_) #define AFX_SOUNDPROPERTYDLG_H__BFC1E0A6_713A_45C0_A4DD_7759445F195E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SoundPropertyDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CSoundPropertyDlg dialog struct SSoundAsset; class CSoundPropertyDlg : public CDialog { protected: SSoundAsset * m_pSoundAsset; // Construction public: CSoundPropertyDlg(CWnd* pParent = NULL); // standard constructor ~CSoundPropertyDlg(); void Init( const SSoundAsset & ); void GetInfo( SSoundAsset & ); bool IsExist( float fTime ); // Dialog Data //{{AFX_DATA(CSoundPropertyDlg) enum { IDD = IDD_DIALOG_SOUND_PROPERTY }; CEdit m_editName; CComboBox m_TriggerType; CComboBox m_Stereo; CListCtrl m_WavFileList; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSoundPropertyDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CSoundPropertyDlg) virtual BOOL OnInitDialog(); virtual void OnOK(); afx_msg void OnButtonDeletesound(); afx_msg void OnButtonInsertsound(); afx_msg void OnEndlabeleditListWavfilelist(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnButtonSetsound(); afx_msg void OnDblclkListWavfilelist(NMHDR* pNMHDR, LRESULT* pResult); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SOUNDPROPERTYDLG_H__BFC1E0A6_713A_45C0_A4DD_7759445F195E__INCLUDED_)