#include <ptts.h>
Inheritance diagram for PTextToSpeech:
Public Types | |
enum | TextType { Default, Literal, Digits, Number, Currency, Time, Date, DateAndTime, Phone, IPAddress, Duration, Spell } |
Public Member Functions | |
virtual PStringArray | GetVoiceList ()=0 |
virtual PBoolean | SetVoice (const PString &voice)=0 |
virtual PBoolean | SetRate (unsigned rate)=0 |
virtual unsigned | GetRate ()=0 |
virtual PBoolean | SetVolume (unsigned volume)=0 |
virtual unsigned | GetVolume ()=0 |
virtual PBoolean | OpenFile (const PFilePath &fn)=0 |
virtual PBoolean | OpenChannel (PChannel *chanel)=0 |
virtual PBoolean | IsOpen ()=0 |
virtual PBoolean | Close ()=0 |
virtual PBoolean | Speak (const PString &text, TextType hint=Default)=0 |
virtual PStringArray PTextToSpeech::GetVoiceList | ( | ) | [pure virtual] |
virtual PBoolean PTextToSpeech::SetRate | ( | unsigned | rate | ) | [pure virtual] |
virtual unsigned PTextToSpeech::GetRate | ( | ) | [pure virtual] |
virtual PBoolean PTextToSpeech::SetVolume | ( | unsigned | volume | ) | [pure virtual] |
virtual unsigned PTextToSpeech::GetVolume | ( | ) | [pure virtual] |
virtual PBoolean PTextToSpeech::IsOpen | ( | ) | [pure virtual] |
virtual PBoolean PTextToSpeech::Close | ( | ) | [pure virtual] |
virtual PBoolean PTextToSpeech::Speak | ( | const PString & | text, | |
TextType | hint = Default | |||
) | [pure virtual] |