repo.or.cz
/
dasher.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated German translation
[dasher.git]
/
Src
/
Gtk2
/
Speech.h
blob
b74673d8c78b568fe7830a3b810bc832d38e610e
1
#ifndef _SPEECH_H_
2
#define _SPEECH_H_
3
4
#ifdef HAVE_CONFIG_H
5
#include <config.h>
6
#endif
7
#include <string>
8
9
#ifdef HAVE_SPEECHD
10
#include <speech-dispatcher/libspeechd.h>
11
#endif
12
13
class
CSpeech
{
14
public
:
15
CSpeech
();
16
~
CSpeech
();
17
bool
Init
();
18
void
Speak
(
const
std
::
string
&
strText
,
bool
bInterrupt
,
const
std
::
string
&
lang
);
19
private
:
20
#ifdef HAVE_SPEECHD
21
SPDConnection
*
m_speaker
;
22
#endif
23
};
24
25
#endif
/* !_SPEECH_H_ */