repo.or.cz
/
QFreeRecite.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update dict
[QFreeRecite.git]
/
src
/
gui
/
WinSpeaker.h
blob
e117ead2b7667035b1600ce6bb8eda47c6fab314
1
#ifndef WINSPEAK_H_
2
#define WINSPEAK_H_
3
4
#include <QThread>
5
#include <QMutex>
6
#include <string>
7
8
class
WinSpeaker
:
public
QThread
9
{
10
Q_OBJECT
11
public
:
12
WinSpeaker
(
QObject
*
parent
=
0
);
13
virtual
~
WinSpeaker
()
14
{
/* Do Nothing Here */
}
15
bool
speak
(
const
std
::
string
&
wordFile
);
16
protected
:
17
virtual
void
run
();
18
std
::
string word
;
19
static
QMutex mutex
;
20
};
21
22
#endif
//WINSPEAK_H_