diff options
author | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-04-01 14:23:54 +0000 |
---|---|---|
committer | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-04-01 14:23:54 +0000 |
commit | ff55efe3007d0b9bc80a8dfac39c4f62a8533962 (patch) | |
tree | 4cd0bb06b36e746cec1129223c3ff700abd580b2 /navit/route.h | |
parent | cd7d305b8ade41a12af09397b32366af39f44671 (diff) | |
download | navit-ff55efe3007d0b9bc80a8dfac39c4f62a8533962.tar.gz |
Add:gui_internal:Allow having several waypoints. Fixes #46.|Thanks heiko wegeler.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5004 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/route.h')
-rw-r--r-- | navit/route.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/route.h b/navit/route.h index c8ff02275..ca2ea3707 100644 --- a/navit/route.h +++ b/navit/route.h @@ -95,8 +95,11 @@ void route_set_position_from_tracking(struct route *this_, struct tracking *trac struct map_selection *route_rect(int order, struct coord *c1, struct coord *c2, int rel, int abs); void route_set_destinations(struct route *this_, struct pcoord *dst, int count, int async); int route_get_destinations(struct route *this_, struct pcoord *pc, int count); +int route_get_destination_count(struct route *this_); void route_set_destination(struct route *this_, struct pcoord *dst, int async); +void route_remove_nth_waypoint(struct route *this_, int n); void route_remove_waypoint(struct route *this_); +char* route_get_destination_description(struct route *this_, int n); struct coord route_get_coord_dist(struct route *this_, int dist); struct street_data *street_get_data(struct item *item); struct street_data *street_data_dup(struct street_data *orig); |