Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.5 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: PhoneEditDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of PhoneEditDlg.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __PHONE__EDIT__DLG__H__INCLUDED__
  15. #define __PHONE__EDIT__DLG__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. #include "GenericWnd.h"
  20. #include "Application.h"
  21. class CPhoneEditDlg :
  22. public CGenericWnd
  23. {
  24. public:
  25. CPhoneEditDlg();
  26. virtual ~CPhoneEditDlg();
  27. public:
  28. UINT DoModal( CApplication* pApplication, HWND hParent, CPhoneCallCenter::PPHONE_COMMAND pPhoneCommand );
  29. void Destroy();
  30. private:
  31. virtual LRESULT OnInitDialog( WPARAM, LPARAM );
  32. virtual LRESULT OnCommand( WPARAM, LPARAM );
  33. virtual LRESULT OnDestroy( WPARAM, LPARAM );
  34. private:
  35. static BOOL EnumVoiceProc( LPCTSTR, LPWSTR, void* );
  36. BOOL EnumVoiceProc( LPCTSTR, LPWSTR );
  37. private:
  38. void OnButtonMessageFile();
  39. void OnButtonWelcomeFile();
  40. void OnButtonMessageTest();
  41. void OnButtonWelcomeTest();
  42. void OnButtonCancel();
  43. void OnButtonOk();
  44. void OnRadioWelcome();
  45. void OnRadioMessage();
  46. private:
  47. CPhoneCallCenter::PPHONE_COMMAND m_pPhoneCommand;
  48. CLgSpeechPlayer m_SpeechPlayer;
  49. CLgWavePlayer m_WavePlayer;
  50. CLgWaveFile m_WaveFile;
  51. };
  52. #endif