//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: // SUBSYSTEM: // FILE: PhoneEditDlg.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of PhoneEditDlg.h //---------------------------------------------------------------------------- #ifndef __PHONE__EDIT__DLG__H__INCLUDED__ #define __PHONE__EDIT__DLG__H__INCLUDED__ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "GenericWnd.h" #include "Application.h" class CPhoneEditDlg : public CGenericWnd { public: CPhoneEditDlg(); virtual ~CPhoneEditDlg(); public: UINT DoModal( CApplication* pApplication, HWND hParent, CPhoneCallCenter::PPHONE_COMMAND pPhoneCommand ); void Destroy(); private: virtual LRESULT OnInitDialog( WPARAM, LPARAM ); virtual LRESULT OnCommand( WPARAM, LPARAM ); virtual LRESULT OnDestroy( WPARAM, LPARAM ); private: static BOOL EnumVoiceProc( LPCTSTR, LPWSTR, void* ); BOOL EnumVoiceProc( LPCTSTR, LPWSTR ); private: void OnButtonMessageFile(); void OnButtonWelcomeFile(); void OnButtonMessageTest(); void OnButtonWelcomeTest(); void OnButtonCancel(); void OnButtonOk(); void OnRadioWelcome(); void OnRadioMessage(); private: CPhoneCallCenter::PPHONE_COMMAND m_pPhoneCommand; CLgSpeechPlayer m_SpeechPlayer; CLgWavePlayer m_WavePlayer; CLgWaveFile m_WaveFile; }; #endif