summaryrefslogtreecommitdiff
path: root/navit/speech.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-05-18 10:01:53 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-05-18 10:01:53 +0000
commit0b74d7f4ee6d448ac811e2741e8cb1ed04f5ce76 (patch)
treebe7bb1cb1020f4022e41c004e2fa9d561ea3580d /navit/speech.h
parentf46eb419c46011d6d103b7f06cb2c842a2cbe6c9 (diff)
downloadnavit-0b74d7f4ee6d448ac811e2741e8cb1ed04f5ce76.tar.gz
Fix:Core:Renamed src to navit for cleanup of includes
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1059 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/speech.h')
-rw-r--r--navit/speech.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/navit/speech.h b/navit/speech.h
new file mode 100644
index 000000000..46f199ef6
--- /dev/null
+++ b/navit/speech.h
@@ -0,0 +1,19 @@
+#ifndef NAVIT_SPEECH_H
+#define NAVIT_SPEECH_H
+
+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 */
+
+#endif
+