AppleWin/source/Speech.h
tomch f24971f582 Merge from Tom: r683
Added Speech API support:
. Capture char output to COUT
. Enable speech via -speech cmd-line
. Ctrl+Reset and FullSpeed mode purge the speech buffers
Removed #pragma hdrstop from all .cpp files except AppleWin.cpp (which is the PCH create file)
2010-02-14 21:11:26 +00:00

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;
};