]> err.no Git - mapper/blobdiff - src/speak.h
Add header and cast properly.
[mapper] / src / speak.h
index 7bb4b46d7ee1678fdb7528ef6f44e67e1455fd74..412e5cd962278e40e2d85cebc17e9d40d4ec072b 100644 (file)
@@ -1,12 +1,33 @@
+/*
+ * This file is part of mapper
+ *
+ * Copyright (C) 2007 Kaj-Michael Lang
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
 #ifndef _SPEAK_H
 #define _SPEAK_H
 
 #include <glib.h>
 
-gboolean speak_init(void);
+gboolean speak_init(gchar *voice, guint speed, guint pitch);
 void speak_deinit(void);
 gboolean speak_stop(void);
 gboolean speak_speaking(void);
 gboolean speak_text(gchar *text);
+void speak_set_parameters(guint speed, guint pitch);
 
 #endif