summaryrefslogtreecommitdiff
path: root/navit/navit.h
diff options
context:
space:
mode:
authorbustersnyvel <bustersnyvel@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-07-26 22:36:19 +0000
committerbustersnyvel <bustersnyvel@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-07-26 22:36:19 +0000
commit326f6a7d828a92f3c1d812509b71fdc34ffa588b (patch)
tree8e5ad7edb3a139ee11137e59201327693168a8ee /navit/navit.h
parent7f4c20f970181c4b11094b80b187d1320614c614 (diff)
downloadnavit-326f6a7d828a92f3c1d812509b71fdc34ffa588b.tar.gz
add:core:Selecting the vehicle profile now works, but setting it on the vehicle doesn't, ticket #396
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2406 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.h')
-rw-r--r--navit/navit.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/navit/navit.h b/navit/navit.h
index 2068055e4..c0ef13724 100644
--- a/navit/navit.h
+++ b/navit/navit.h
@@ -42,6 +42,13 @@ struct route;
struct tracking;
struct transformation;
struct vehicleprofile;
+
+// defined in glib.h.
+#ifndef __G_LIST_H__
+struct _GList;
+typedef struct _GList GList;
+#endif
+
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_);
@@ -61,6 +68,10 @@ void navit_add_message(struct navit *this_, char *message);
struct message *navit_get_messages(struct navit *this_);
struct graphics *navit_get_graphics(struct navit *this_);
struct vehicleprofile *navit_get_vehicleprofile(struct navit *this_);
+
+//! Returns a list of 'struct vehicleprofile *'
+GList *navit_get_vehicleprofiles(struct navit *this_);
+
void navit_set_destination(struct navit *this_, struct pcoord *c, const char *description, int async);
int navit_check_route(struct navit *this_);
void navit_add_bookmark(struct navit *this_, struct pcoord *c, const char *description);