navit 0.5.3-trunk
Loading...
Searching...
No Matches
speech.h
Go to the documentation of this file.
1
20#ifndef NAVIT_SPEECH_H
21#define NAVIT_SPEECH_H
22
23#include "attr_type_def.h"
24
25struct speech_priv;
26struct attr_iter;
27
29 void (*destroy)(struct speech_priv *this_);
30 int (*say)(struct speech_priv *this_, const char *text);
31};
32
33/* prototypes */
34struct speech * speech_new(struct attr *parent, struct attr **attrs);
35int speech_say(struct speech *this_, const char *text);
36int speech_sayf(struct speech *this_, const char *format, ...);
37void speech_destroy(struct speech *this_);
38int speech_get_attr(struct speech *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
39int speech_set_attr(struct speech *this_, struct attr *attr);
40int speech_estimate_duration(struct speech *this_, char *str);
41/* end of prototypes */
42
43#endif
44
attr_type
Definition attr_type_def.h:11
char type[3]
Definition garmin_img.c:2
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,...)
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
void speech_destroy(struct speech *this_)
Definition speech.c:66
struct speech * speech_new(struct attr *parent, struct attr **attrs)
Definition speech.c:36
int speech_say(struct speech *this_, const char *text)
Definition speech.c:72
Definition config_.c:47
Definition attr.h:136
Definition gpx2navit_txt.h:51
Definition speech.h:28
void(* destroy)(struct speech_priv *this_)
Definition speech.h:29
int(* say)(struct speech_priv *this_, const char *text)
Definition speech.h:30
Definition speech_android.c:29
Definition speech.c:28