From 30128f5008cd54bfd842e956bff92e2327c314af Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 10 Aug 2007 11:00:50 +0300 Subject: [PATCH] Add helper fields to location struct. (Heading and speed) --- src/osm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osm.h b/src/osm.h index fe4eac0..074a904 100644 --- a/src/osm.h +++ b/src/osm.h @@ -168,6 +168,7 @@ struct _osm_waypoint { }; /* Location: way/street we are on, city/town/village/hamlet and suburb */ +/* With helpers, speed and heading at last known location */ typedef struct _osm_location osm_location; struct _osm_location { osm_way *street; @@ -177,6 +178,8 @@ struct _osm_location { gboolean valid; gint lat; gint lon; + gfloat heading; + gfloat speed; }; #endif -- 2.39.5