summaryrefslogtreecommitdiff
path: root/speech.h
blob: 0542d828c60bf1a03c9d7b22b7bdfb34c9ca7172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
struct speech_priv;

struct speech_methods {
	void (*destroy)(struct speech_priv *this_);
	int (*say)(struct speech_priv *this_, const char *text);
};

/* prototypes */
struct speech * speech_new(const char *type, const char *data);
int speech_say(struct speech *this_, const char *text);
int speech_sayf(struct speech *this_, const char *format, ...);
void speech_destroy(struct speech *this_);
/* end of prototypes */