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.h"
24#include "attr_type_def.h"
25
26struct speech_priv;
27struct attr_iter;
28
30 void (*destroy)(struct speech_priv *this_);
31 int (*say)(struct speech_priv *this_, const char *text);
32};
33
34/* prototypes */
35struct speech *speech_new(struct attr *parent, struct attr **attrs);
36int speech_say(struct speech *this_, const char *text);
37int speech_sayf(struct speech *this_, const char *format, ...);
38void speech_destroy(struct speech *this_);
39int speech_get_attr(struct speech *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
40int speech_set_attr(struct speech *this_, struct attr *attr);
41int speech_estimate_duration(struct speech *this_, char *str);
42/* end of prototypes */
43
44#endif
attr_type
Definition attr_type_def.h:11
char type[3]
Definition garmin_img.c:2
struct navit struct traffic_methods struct attr ** attrs
Definition plugin_def.h:36
int speech_set_attr(struct speech *this_, struct attr *attr)
Sets an attribute from an speech plugin.
Definition speech.c:132
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:107
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:92
void speech_destroy(struct speech *this_)
Definition speech.c:64
struct speech * speech_new(struct attr *parent, struct attr **attrs)
Definition speech.c:34
int speech_say(struct speech *this_, const char *text)
Definition speech.c:70
Definition config_.c:45
Definition attr.h:138
Definition gpx2navit_txt.h:50
Definition speech.h:29
void(* destroy)(struct speech_priv *this_)
Definition speech.h:30
int(* say)(struct speech_priv *this_, const char *text)
Definition speech.h:31
Definition speech_android.c:29
Definition speech.c:28