diff options
author | Thierry Crozat | 2019-07-28 14:56:38 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 |
commit | 0434419b31cc6c27d2fdebb34abdf0b3131f6b99 (patch) | |
tree | 265bdd3f72c20dab7584f80ef794bfd5bdbb18e7 /backends/platform/sdl/macosx | |
parent | e965df1e8830c994da959ceaeb153d85fae7b859 (diff) | |
download | scummvm-rg350-0434419b31cc6c27d2fdebb34abdf0b3131f6b99.tar.gz scummvm-rg350-0434419b31cc6c27d2fdebb34abdf0b3131f6b99.tar.bz2 scummvm-rg350-0434419b31cc6c27d2fdebb34abdf0b3131f6b99.zip |
TTS: Implement TextToSpeechManager for macOS
Diffstat (limited to 'backends/platform/sdl/macosx')
-rw-r--r-- | backends/platform/sdl/macosx/macosx.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp index 3628168e71..3cca69b4a5 100644 --- a/backends/platform/sdl/macosx/macosx.cpp +++ b/backends/platform/sdl/macosx/macosx.cpp @@ -32,6 +32,7 @@ #include "backends/platform/sdl/macosx/macosx.h" #include "backends/updates/macosx/macosx-updates.h" #include "backends/taskbar/macosx/macosx-taskbar.h" +#include "backends/text-to-speech/macosx/macosx-text-to-speech.h" #include "backends/dialogs/macosx/macosx-dialogs.h" #include "backends/platform/sdl/macosx/macosx_wrapper.h" #include "backends/fs/posix/posix-fs.h" @@ -86,6 +87,11 @@ void OSystem_MacOSX::initBackend() { _updateManager = new MacOSXUpdateManager(); #endif +#ifdef USE_MACOSX_TTS + // Initialize Text to Speech manager + _textToSpeechManager = new MacOSXTextToSpeechManager(); +#endif + // Invoke parent implementation of this method OSystem_POSIX::initBackend(); } |