]> err.no Git - mapper/commitdiff
Add announce_waypoint
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 13 Mar 2008 13:51:31 +0000 (15:51 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 13 Mar 2008 13:51:31 +0000 (15:51 +0200)
src/announcements.c
src/announcements.h

index cc9ca84bab509c8474d9833407aabfd26cb949f7..98a77ed2a8c9930f4d5528bdfeb0c51653179b71 100644 (file)
@@ -67,6 +67,13 @@ SPEAK(msg);
 MACRO_BANNER_SHOW_INFO(_window, msg);
 }
 
+void
+announce_waypoint(gchar *msg)
+{
+SPEAK(msg);
+MACRO_BANNER_SHOW_INFO(_window, msg);
+}
+
 #if 0
 
 void
index c0310853e5d0e7a2924cb41b1ea5fe9e747c7f0a..ec395cacd3c963e2406cfe17c92022ef9511582d 100644 (file)
@@ -25,3 +25,5 @@
 void announce_distance_to_destination(gdouble distance, gchar *unit, gdouble climit);
 void announce_destination_reached(void);
 void announce_over_speed_limit(guint limit);
+void announce_waypoint(gchar *msg);
+