For DOS Protected Mode version of sensor core software
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.

52 lines
1.1 KiB

3 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: LgVoiceModem.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of LgVoiceModem.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __LG__VOICE__MODEM__H__INCLUDED__
  15. #define __LG__VOICE__MODEM__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. #ifdef __GSM__
  20. #include "LgGSMModem.h"
  21. #else
  22. #include "LgModem.h"
  23. #endif
  24. #include "LgSpeechPlayer.h"
  25. class CLgVoiceModem :
  26. #ifdef __GSM__
  27. public CLgGSMModem,
  28. #else
  29. public CLgModem,
  30. #endif
  31. public CLgWavePlayer,
  32. public CLgSpeechPlayer
  33. {
  34. public:
  35. CLgVoiceModem();
  36. virtual ~CLgVoiceModem();
  37. public:
  38. BOOL Play( LPCTSTR pWaveFile );
  39. BOOL Speak( LPCTSTR pSpeech, INT nVolume, INT nRate, LPWSTR pVoiceTokenId );
  40. public:
  41. virtual BOOL Drop();
  42. private:
  43. CLgWaveFile m_WaveFile;
  44. };
  45. #endif