summaryrefslogtreecommitdiff
path: root/plugins/WinterSpeak/src/SpeechApi40aLexicon.h
blob: 4f3f4fea7c1186aebd2980f387f4e2901fe8f735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#include <wtypes.h>

struct ITTSCentralW;
class SpeechApi40aLexicon
{
  public:
	//--------------------------------------------------------------------------
	// Description : Constuctor
	// Parameters  : window - handle to the parent window
	//               tts_central - pointer to the tts_central engine to use
	//--------------------------------------------------------------------------
	SpeechApi40aLexicon(HWND window, ITTSCentralW *tts_central);

	~SpeechApi40aLexicon();

	//--------------------------------------------------------------------------
	// Description : display the lexicon dialog
	// Return      : true - display ok
	//               false - display failed
	//--------------------------------------------------------------------------
	bool display();

  private:
	HWND          m_window;
	ITTSCentralW *m_tts_central;
};