summaryrefslogtreecommitdiff
path: root/navit/route.h
diff options
context:
space:
mode:
authorakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-09-03 11:47:22 +0000
committerakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-09-03 11:47:22 +0000
commite6c37c74704818eee93fa490e719e6d3d2dc2101 (patch)
tree0d09078367d7c74a3924e654e656bea4a40cb295 /navit/route.h
parent9eb4277d8c76b9a1fb63c4caf8ad1dd8f538a5d6 (diff)
downloadnavit-e6c37c74704818eee93fa490e719e6d3d2dc2101.tar.gz
Fix:core:Made route.h vehicle.h C++ friendly
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3555 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/route.h')
-rw-r--r--navit/route.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/navit/route.h b/navit/route.h
index 0781339d4..c8ff02275 100644
--- a/navit/route.h
+++ b/navit/route.h
@@ -82,21 +82,21 @@ struct street_data;
struct tracking;
struct vehicleprofile;
struct route *route_new(struct attr *parent, struct attr **attrs);
-void route_set_mapset(struct route *this, struct mapset *ms);
-void route_set_profile(struct route *this, struct vehicleprofile *prof);
-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_path_set(struct route *this);
-int route_contains(struct route *this, struct item *item);
-int route_destination_reached(struct route *this);
-void route_set_position(struct route *this, struct pcoord *pos);
-void route_set_position_from_tracking(struct route *this, struct tracking *tracking, enum projection pro);
+void route_set_mapset(struct route *this_, struct mapset *ms);
+void route_set_profile(struct route *this_, struct vehicleprofile *prof);
+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_path_set(struct route *this_);
+int route_contains(struct route *this_, struct item *item);
+int route_destination_reached(struct route *this_);
+void route_set_position(struct route *this_, struct pcoord *pos);
+void route_set_position_from_tracking(struct route *this_, struct tracking *tracking, enum projection pro);
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);
-void route_set_destination(struct route *this, struct pcoord *dst, int async);
-void route_remove_waypoint(struct route *this);
+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);
+void route_set_destination(struct route *this_, struct pcoord *dst, int async);
+void route_remove_waypoint(struct route *this_);
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);