diff options
Diffstat (limited to 'backends/text-to-speech/linux/linux-text-to-speech.h')
-rw-r--r-- | backends/text-to-speech/linux/linux-text-to-speech.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/text-to-speech/linux/linux-text-to-speech.h b/backends/text-to-speech/linux/linux-text-to-speech.h index db3e64dae8..4c02b99d7c 100644 --- a/backends/text-to-speech/linux/linux-text-to-speech.h +++ b/backends/text-to-speech/linux/linux-text-to-speech.h @@ -25,7 +25,7 @@ #include "common/scummsys.h" -#if defined(USE_TTS) && defined(POSIX) +#if defined(USE_TTS) && defined(USE_SPEECH_DISPATCHER) && defined(POSIX) #include "common/text-to-speech.h" #include "common/str.h" @@ -37,7 +37,7 @@ struct StartSpeechParams { Common::List<Common::String> *speechQueue; }; -class LinuxTextToSpeechManager : public Common::TextToSpeechManager { +class SpeechDispatcherManager : public Common::TextToSpeechManager { public: enum SpeechState { READY, @@ -54,8 +54,8 @@ public: SPEECH_BEGUN }; - LinuxTextToSpeechManager(); - virtual ~LinuxTextToSpeechManager(); + SpeechDispatcherManager(); + virtual ~SpeechDispatcherManager(); virtual bool say(Common::String str, Action action, Common::String charset = ""); |