diff options
author | kazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2007-10-09 16:48:44 +0000 |
---|---|---|
committer | kazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2007-10-09 16:48:44 +0000 |
commit | cceba11d6878f17731d88d820a05b7448b1fd2fc (patch) | |
tree | 2695ec62b2f5bcc490b24a99150f731616c7a1b0 /route.h | |
parent | 1fca7b4feb01781209ddc8fdc0190eb756546822 (diff) | |
download | navit-svn-cceba11d6878f17731d88d820a05b7448b1fd2fc.tar.gz |
Added include checks
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/src@448 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'route.h')
-rw-r--r-- | route.h | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -1,3 +1,6 @@ +#ifndef NAVIT_ROUTE_H +#define NAVIT_ROUTE_H + struct route_crossing { long segid; int dir; @@ -11,12 +14,22 @@ struct route_crossings { #define route_item_first type_street_0 #define route_item_last type_ferry - /* prototypes */ enum item_type; struct coord; struct displaylist; struct item; + +#ifndef STREETDATA +#define STREETDATA +struct street_data { + struct item item; + int count; + int limit; + struct coord c[0]; +}; +#endif + struct map_selection; struct mapset; struct route; @@ -60,3 +73,6 @@ struct coord *route_info_get(struct route_info_handle *h); void route_info_close(struct route_info_handle *h); void route_draw(struct route *this, struct transformation *t, struct displaylist *dsp); /* end of prototypes */ + +#endif + |