3#include <NDEVR/ApplicationOptions.h>
4#include <NDEVR/Buffer.h>
5#include <NDEVR/String.h>
6#include <NDEVR/TranslatedString.h>
36 static bool SupportsTextToSpeech();
37 static void EnableTextToSpeech(
bool enable);
39 static bool PlaySound(
const String& s);
The default object to store data of any type that should persist through sessions of the application.
Definition Button.h:57
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition SoundManager.h:23
virtual bool supportsTextToSpeech() const =0
virtual Buffer< Sound > availableSounds()=0
virtual bool textToSpeechEnabled() const =0
virtual void enableTextToSpeech(bool enable)=0
virtual bool textToSpeech(const TextToSpeechRequest &s)=0
virtual bool playSound(const String &s)=0
Definition SoundManager.h:33
static Buffer< SoundFactory * > s_sound_factories
Definition SoundManager.h:45
static ApplicationOption< bool > enable_text_to_speech
Definition SoundManager.h:42
static ApplicationOption< bool > grab_volume_keys
Definition SoundManager.h:43
static ApplicationOption< bool > enable_sound
Definition SoundManager.h:41
Definition TranslatedString.h:9
Definition SoundManager.h:13
String resource
Definition SoundManager.h:15
TranslatedString title
Definition SoundManager.h:14
Definition SoundManager.h:18
String backup_sound
Definition SoundManager.h:20
String text_to_speech
Definition SoundManager.h:19