mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-24 23:31:07 +00:00
20 lines
284 B
C
20 lines
284 B
C
|
struct ISpVoice;
|
||
|
|
||
|
class CSpeech
|
||
|
{
|
||
|
public:
|
||
|
CSpeech() :
|
||
|
m_cpVoice(NULL)
|
||
|
{
|
||
|
}
|
||
|
virtual ~CSpeech();
|
||
|
|
||
|
bool Init(void);
|
||
|
void Reset(void);
|
||
|
bool IsEnabled(void) { return m_cpVoice != NULL; }
|
||
|
void Speak(const char* const pBuffer);
|
||
|
|
||
|
private:
|
||
|
ISpVoice* m_cpVoice;
|
||
|
};
|