navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
speech.h
Go to the documentation of this file.
1 
20 #ifndef NAVIT_SPEECH_H
21 #define NAVIT_SPEECH_H
22 
23 struct speech_priv;
24 struct attr_iter;
25 
27  void (*destroy)(struct speech_priv *this_);
28  int (*say)(struct speech_priv *this_, const char *text);
29 };
30 
31 /* prototypes */
32 struct speech * speech_new(struct attr *parent, struct attr **attrs);
33 int speech_say(struct speech *this_, const char *text);
34 int speech_sayf(struct speech *this_, const char *format, ...);
35 void speech_destroy(struct speech *this_);
36 int speech_get_attr(struct speech *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
37 int speech_set_attr(struct speech *this_, struct attr *attr);
38 int speech_estimate_duration(struct speech *this_, char *str);
39 /* end of prototypes */
40 
41 #endif
42 
Definition: speech.c:28
attr_type
Definition: attr.h:34
int speech_get_attr(struct speech *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Gets an attribute from a speech plugin.
Definition: speech.c:99
tuple iter
Definition: eval.py:8
Definition: gpx2navit_txt.h:51
int speech_set_attr(struct speech *this_, struct attr *attr)
Sets an attribute from an speech plugin.
Definition: speech.c:143
int speech_estimate_duration(struct speech *this_, char *str)
Tries to estimate how long it will take to speak a certain string.
Definition: speech.c:116
int speech_sayf(struct speech *this_, const char *format,...)
void speech_destroy(struct speech *this_)
Definition: speech.c:68
Definition: config_.c:48
void(* destroy)(struct speech_priv *this_)
Definition: speech.h:27
Definition: speech.h:26
Definition: speech_android.c:29
Definition: attr.h:156
int speech_say(struct speech *this_, const char *text)
Definition: speech.c:76
int(* say)(struct speech_priv *this_, const char *text)
Definition: speech.h:28
struct speech * speech_new(struct attr *parent, struct attr **attrs)
Definition: speech.c:36
typedef int(WINAPI *FP_SetStretchBltMode)(HDC dc
char type[3]
Definition: garmin_img.c:130