update dict
[QFreeRecite.git] / src / gui / WinSpeaker.h
blobe117ead2b7667035b1600ce6bb8eda47c6fab314
1 #ifndef WINSPEAK_H_
2 #define WINSPEAK_H_
4 #include <QThread>
5 #include <QMutex>
6 #include <string>
8 class WinSpeaker : public QThread
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;
22 #endif //WINSPEAK_H_