navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
Go to the documentation of this file.
20 #ifndef NAVIT_SPEECH_H
21 #define NAVIT_SPEECH_H
23 struct speech_priv;
24 struct attr_iter;
27  void (*destroy)(struct speech_priv *this_);
28  int (*say)(struct speech_priv *this_, const char *text);
29 };
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 */
41 #endif
Definition: speech.c:28
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:93
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:133
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:108
int speech_sayf(struct speech *this_, const char *format,...)
void speech_destroy(struct speech *this_)
Definition: speech.c:66
Definition: config_.c:47
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:72
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:123