From e8f1c139e1d2d761a49da0f5c51cc9d512d7973e Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 13 Mar 2008 15:51:31 +0200 Subject: [PATCH] Add announce_waypoint --- src/announcements.c | 7 +++++++ src/announcements.h | 2 ++ 2 files changed, 9 insertions(+) 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); + -- 2.39.5