diff options
author | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-09-01 07:19:12 +0000 |
---|---|---|
committer | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-09-01 07:19:12 +0000 |
commit | a98f3ea3ff49f186db4e9f2ac51a89338a37b843 (patch) | |
tree | 84d592812df3097e83a78bde247803b9815ed351 /navit/route.h | |
parent | 89f516e7bc6c463dfa2e3083591098a6365207d6 (diff) | |
download | navit-a98f3ea3ff49f186db4e9f2ac51a89338a37b843.tar.gz |
Add:core:Added iterator for destinations
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3542 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 71e4d4c67..3878ec4dc 100644 --- a/navit/route.h +++ b/navit/route.h @@ -123,9 +123,12 @@ struct map *route_get_map(struct route *route); struct map *route_get_graph_map(struct route *route); void route_set_projection(struct route *this_, enum projection pro); int route_destination_reached(struct route *); +void route_set_destinations(struct route *this_, struct pcoord *dst, int count, int async); int route_set_attr(struct route *this_, struct attr *attr); int route_add_attr(struct route *this_, struct attr *attr); int route_remove_attr(struct route *this_, struct attr *attr); +struct attr_iter * route_attr_iter_new(void); +void route_attr_iter_destroy(struct attr_iter *iter); int route_get_attr(struct route *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter); void route_init(void); int route_pos_contains(struct route *, struct item *item); |