From: Kaj-Michael Lang Date: Thu, 13 Mar 2008 13:51:31 +0000 (+0200) Subject: Add announce_waypoint X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f1c139e1d2d761a49da0f5c51cc9d512d7973e;p=mapper Add announce_waypoint --- diff --git a/src/announcements.c b/src/announcements.c index cc9ca84..98a77ed 100644 --- a/src/announcements.c +++ b/src/announcements.c @@ -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 diff --git a/src/announcements.h b/src/announcements.h index c031085..ec395ca 100644 --- a/src/announcements.h +++ b/src/announcements.h @@ -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); +