1
0
mirror of https://github.com/AppleWin/AppleWin.git synced 2025-01-04 17:31:14 +00:00
AppleWin/source/Speech.h

22 lines
300 B
C++

#pragma once
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;
};