diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-03-16 13:39:49 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-03-16 13:39:49 +0000 |
commit | 86b11c45fa1f285804c62c95688546b0a36b464f (patch) | |
tree | 088c6779bc96252f87b14a3f0a79c5e4c83f0f2d /navit/route.h | |
parent | 2ef32bbdcbe7369c1c1b659c383037a8f8bf0725 (diff) | |
download | navit-86b11c45fa1f285804c62c95688546b0a36b464f.tar.gz |
Fix:Core:Cleaned up routing and made it more flexible
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2131 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/route.h')
-rw-r--r-- | navit/route.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/navit/route.h b/navit/route.h index 936cb96c0..1f323e14f 100644 --- a/navit/route.h +++ b/navit/route.h @@ -52,9 +52,6 @@ struct street_data { * DO NOT INSERT FIELDS AFTER THIS. */ }; -#define route_item_first type_street_0 -#define route_item_last type_ferry - /* prototypes */ enum item_type; struct coord; @@ -68,6 +65,7 @@ struct route_info_handle; struct route_path_coord_handle; struct route_path_handle; struct route_path_segment; +struct route_preferences; struct street_data; struct tracking; struct transformation; @@ -95,7 +93,7 @@ void route_path_close(struct route_path_handle *h); struct route_path_coord_handle *route_path_coord_open(struct route *this); struct coord *route_path_coord_get(struct route_path_coord_handle *h); void route_path_coord_close(struct route_path_coord_handle *h); -int route_time(int *speedlist, struct item *item, int len, int maxspeed); +int route_time(struct route_preferences *preferences, struct item *item, int len, int maxspeed); int route_info_length(struct route_info *pos, struct route_info *dst, int dir); struct street_data *street_get_data(struct item *item); struct street_data *street_data_dup(struct street_data *orig); |