summaryrefslogtreecommitdiff
path: root/navit/navit.h
diff options
context:
space:
mode:
authormdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-04-01 14:23:54 +0000
committermdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-04-01 14:23:54 +0000
commitff55efe3007d0b9bc80a8dfac39c4f62a8533962 (patch)
tree4cd0bb06b36e746cec1129223c3ff700abd580b2 /navit/navit.h
parentcd7d305b8ade41a12af09397b32366af39f44671 (diff)
downloadnavit-ff55efe3007d0b9bc80a8dfac39c4f62a8533962.tar.gz
Add:gui_internal:Allow having several waypoints. Fixes #46.|Thanks heiko wegeler.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5004 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.h')
-rw-r--r--navit/navit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/navit/navit.h b/navit/navit.h
index 6bdeafc5a..8ac7a0ff8 100644
--- a/navit/navit.h
+++ b/navit/navit.h
@@ -50,6 +50,7 @@ struct tracking;
struct transformation;
struct vehicleprofile;
struct command_table;
+struct item;
void navit_add_mapset(struct navit *this_, struct mapset *ms);
struct mapset *navit_get_mapset(struct navit *this_);
struct tracking *navit_get_tracking(struct navit *this_);
@@ -78,6 +79,12 @@ struct vehicleprofile *navit_get_vehicleprofile(struct navit *this_);
GList *navit_get_vehicleprofiles(struct navit *this_);
void navit_set_destination(struct navit *this_, struct pcoord *c, const char *description, int async);
void navit_set_destinations(struct navit *this_, struct pcoord *c, int count, const char *description, int async);
+int navit_get_destinations(struct navit *this_, struct pcoord *pc, int count);
+int navit_get_destination_count(struct navit *this_);
+char* navit_get_destination_description(struct navit *this_, int n);
+void navit_remove_nth_waypoint(struct navit *this_, int n);
+void navit_remove_waypoint(struct navit *this_);
+char* navit_get_coord_description(struct navit *this_, struct pcoord *c);
int navit_check_route(struct navit *this_);
struct map* read_former_destinations_from_file(void);
void navit_textfile_debug_log(struct navit *this_, const char *fmt, ...);