summaryrefslogtreecommitdiff
path: root/plugins/WinterSpeak/src/SpeechApi51Lexicon.cpp
blob: 17794455fc40d28699d1323786f0596695a983da (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
#include "stdafx.h"
#include "SpeechApi51Lexicon.h"
#include "SpeechApi51.h"

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

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

//------------------------------------------------------------------------------
bool SpeechApi51Lexicon::display()
{
/*	m_window = CreateDialog(
		g_plugin.getInst(), 
		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, UINT, WPARAM, LPARAM)
{

	return TRUE;
}

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

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

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

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