summaryrefslogtreecommitdiff
path: root/plugins/WinterSpeak/src/SpeechApi51Lexicon.cpp
blob: db55c2bb09dd9d08a85f5644c5eebfacd40ab5d1 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#include "Common.h"
#include "SpeechApi51Lexicon.h"
#include "SpeechApi51.h"


extern HINSTANCE g_hInst;

//------------------------------------------------------------------------------
SpeechApi51Lexicon::SpeechApi51Lexicon(HWND window) : m_parent_window(window), m_window(0)
{
}

//------------------------------------------------------------------------------
SpeechApi51Lexicon::~SpeechApi51Lexicon()
{
}

//------------------------------------------------------------------------------
bool SpeechApi51Lexicon::display()
{
/*	m_window = CreateDialog(
		g_hInst, 
		MAKEINTRESOURCE(IDD_TTS_LEXICON), 
		m_parent_window, 
		dialogEvent);

	if (!m_window)
	{
		return false;
	}

	ShowWindow(m_window, SW_SHOW);

	WNDCLASS wc;
   
	wc.style = 0;
!    wc.lpfnWndProc = (WNDPROC)MainWndProc; // Window procedure for this class.
	wc.cbClsExtra = 0;                  // No per-class extra data.
!    wc.cbWndExtra = 0;                  // No per-window extra data.
	wc.hInstance = hInstance;           // Application that owns the class.
	wc.hIcon = NULL;
	wc.hCursor = NULL;
	wc.hbrBackground = NULL;
	wc.lpszMenuName = NULL;
	wc.lpszClassName = "Comdlg32WClass"; // Name used in call to CreateWindow.

	return (RegisterClass(&wc));*/

	return true;
}

//------------------------------------------------------------------------------
INT_PTR CALLBACK SpeechApi51Lexicon::dialogEvent(HWND hwndDlg, UINT uMsg, WPARAM wParam, 
	LPARAM lParam)
{

	return TRUE;
}

//------------------------------------------------------------------------------
void SpeechApi51Lexicon::addLexicon()
{
}

//------------------------------------------------------------------------------
void SpeechApi51Lexicon::deleteLexicon()
{
}

//------------------------------------------------------------------------------
void SpeechApi51Lexicon::displayLexicon()
{
}

//------------------------------------------------------------------------------