File: Speech.h

package info (click to toggle)
dasher 5.0.0~beta~repack2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 70,872 kB
  • sloc: xml: 181,314; cpp: 70,860; java: 8,020; python: 3,579; makefile: 939; sh: 324; ansic: 223; perl: 71
file content (25 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (5)
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
#ifndef _SPEECH_H_
#define _SPEECH_H_

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <string>

#ifdef HAVE_SPEECHD
#include <speech-dispatcher/libspeechd.h>
#endif

class CSpeech {
public:
  CSpeech();
  ~CSpeech();
  bool Init();
  void Speak(const std::string &strText, bool bInterrupt, const std::string &lang);
private:
#ifdef HAVE_SPEECHD
  SPDConnection *m_speaker;
#endif
};

#endif /* !_SPEECH_H_ */