diff options
author | Jaromir Wysoglad | 2019-07-15 21:09:36 -0700 |
---|---|---|
committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 |
commit | 8357e8e6bf909353c3db720ba8fda9cdb0a41933 (patch) | |
tree | c8a5735d16f9b82249d4877cb3985238bc4beadf /backends/platform/sdl/win32 | |
parent | 6303f522e180f1474434c75c0e5a4d44b141fe3a (diff) | |
download | scummvm-rg350-8357e8e6bf909353c3db720ba8fda9cdb0a41933.tar.gz scummvm-rg350-8357e8e6bf909353c3db720ba8fda9cdb0a41933.tar.bz2 scummvm-rg350-8357e8e6bf909353c3db720ba8fda9cdb0a41933.zip |
TTS: Prepare for windows TTS
Add windows configuration in configure
Add basic skeleton to backends
Check if ttsMan is initialized in GUI
Diffstat (limited to 'backends/platform/sdl/win32')
-rw-r--r-- | backends/platform/sdl/win32/win32.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp index 16b7a1f72f..4b0961bc3c 100644 --- a/backends/platform/sdl/win32/win32.cpp +++ b/backends/platform/sdl/win32/win32.cpp @@ -54,6 +54,10 @@ #include "common/ustr.h" #include "common/encoding.h" +#ifdef USE_WINDOWS_TTS +#include "backends/text-to-speech/windows/windows-text-to-speech.h" +#endif + #define DEFAULT_CONFIG_FILE "scummvm.ini" void OSystem_Win32::init() { @@ -115,6 +119,9 @@ void OSystem_Win32::initBackend() { // Initialize updates manager _updateManager = new Win32UpdateManager(); #endif +#ifdef USE_WINDOWS_TTS + _textToSpeechManager = new WindowsTextToSpeechManager(); +#endif // Invoke parent implementation of this method OSystem_SDL::initBackend(); |