summaryrefslogtreecommitdiff
path: root/route.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2007-07-08 20:41:35 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2007-07-08 20:41:35 +0000
commit5b0b31121a4748007a3ad86794e61ff0dfbec867 (patch)
tree3f963a98b20d298c2baf1046de7ceed12b830361 /route.h
parentb19e0b739086d56616ef76887dd292b7b7313af2 (diff)
downloadnavit-svn-5b0b31121a4748007a3ad86794e61ff0dfbec867.tar.gz
Made speech modular, made speed for routing configurable via xml
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/src@287 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'route.h')
-rw-r--r--route.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/route.h b/route.h
index cf21cc22..682a8d52 100644
--- a/route.h
+++ b/route.h
@@ -9,6 +9,7 @@ struct route_crossings {
};
/* prototypes */
+enum item_type;
struct coord;
struct displaylist;
struct item;
@@ -27,6 +28,8 @@ void route_set_mapset(struct route *this, struct mapset *ms);
struct mapset *route_get_mapset(struct route *this);
struct route_info *route_get_pos(struct route *this);
struct route_info *route_get_dst(struct route *this);
+int *route_get_speedlist(struct route *this);
+int route_set_speed(struct route *this, enum item_type type, int value);
int route_contains(struct route *this, struct item *item);
void route_set_position(struct route *this, struct coord *pos);
void route_set_position_from_tracking(struct route *this, struct tracking *tracking);
@@ -40,7 +43,7 @@ struct item *route_path_segment_get_item(struct route_path_segment *s);
int route_path_segment_get_length(struct route_path_segment *s);
int route_path_segment_get_time(struct route_path_segment *s);
void route_path_close(struct route_path_handle *h);
-int route_time(struct item *item, int len);
+int route_time(int *speedlist, struct item *item, int len);
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);