TTS: Implement TextToSpeechManager for macOS
This commit is contained in:
parent
e965df1e88
commit
0434419b31
5 changed files with 293 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue