summaryrefslogtreecommitdiff
path: root/navit/navit.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-05-18 10:01:53 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-05-18 10:01:53 +0000
commit0b74d7f4ee6d448ac811e2741e8cb1ed04f5ce76 (patch)
treebe7bb1cb1020f4022e41c004e2fa9d561ea3580d /navit/navit.h
parentf46eb419c46011d6d103b7f06cb2c842a2cbe6c9 (diff)
downloadnavit-0b74d7f4ee6d448ac811e2741e8cb1ed04f5ce76.tar.gz
Fix:Core:Renamed src to navit for cleanup of includes
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1059 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.h')
-rw-r--r--navit/navit.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/navit/navit.h b/navit/navit.h
new file mode 100644
index 000000000..ec76eeee4
--- /dev/null
+++ b/navit/navit.h
@@ -0,0 +1,80 @@
+#ifndef NAVIT_NAVIT_H
+#define NAVIT_NAVIT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+extern struct gui *main_loop_gui;
+/* prototypes */
+enum attr_type;
+enum item_type;
+struct attr;
+struct attr_iter;
+struct callback;
+struct displaylist;
+struct graphics;
+struct gui;
+struct layout;
+struct mapset;
+struct navigation;
+struct navit;
+struct navit_vehicle;
+struct navit_window_items;
+struct pcoord;
+struct point;
+struct route;
+struct speech;
+struct tracking;
+struct transformation;
+struct vehicle;
+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_);
+void navit_add_layout(struct navit *this_, struct layout *lay);
+void navit_draw(struct navit *this_);
+void navit_draw_displaylist(struct navit *this_);
+void navit_resize(void *data, int w, int h);
+int navit_handle_button(struct navit *this_, int pressed, int button, struct point *p, struct callback *popup_callback);
+void navit_handle_motion(struct navit *this_, struct point *p);
+void navit_zoom_in(struct navit *this_, int factor, struct point *p);
+void navit_zoom_out(struct navit *this_, int factor, struct point *p);
+struct navit *navit_new(struct attr *parent, struct attr **attrs);
+struct graphics *navit_get_graphics(struct navit *this_);
+void navit_set_destination(struct navit *this_, struct pcoord *c, char *description);
+void navit_add_bookmark(struct navit *this_, struct pcoord *c, const char *description);
+void navit_speak(struct navit *this_);
+void navit_window_roadbook_destroy(struct navit *this_);
+void navit_window_roadbook_new(struct navit *this_);
+struct navit_window_items *navit_window_items_new(const char *name, int distance);
+void navit_window_items_add_item(struct navit_window_items *nwi, enum item_type type);
+void navit_add_window_items(struct navit *this_, struct navit_window_items *nwi);
+void navit_init(struct navit *this_);
+void navit_set_center(struct navit *this_, struct pcoord *center);
+void navit_set_center_screen(struct navit *this_, struct point *p);
+int navit_set_attr(struct navit *this_, struct attr *attr);
+int navit_get_attr(struct navit *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
+int navit_add_attr(struct navit *this_, struct attr *attr);
+struct attr_iter *navit_attr_iter_new(void);
+void navit_attr_iter_destroy(struct attr_iter *iter);
+void navit_add_callback(struct navit *this_, struct callback *cb);
+void navit_remove_callback(struct navit *this_, struct callback *cb);
+void navit_set_position(struct navit *this_, struct pcoord *c);
+struct navit_vehicle *navit_add_vehicle(struct navit *this_, struct vehicle *v, struct attr **attrs);
+void navit_set_vehicle(struct navit *this_, struct navit_vehicle *nv);
+void navit_tracking_add(struct navit *this_, struct tracking *tracking);
+void navit_route_add(struct navit *this_, struct route *route);
+void navit_navigation_add(struct navit *this_, struct navigation *navigation);
+void navit_set_speech(struct navit *this_, struct speech *speech);
+struct gui *navit_get_gui(struct navit *this_);
+struct transformation *navit_get_trans(struct navit *this_);
+struct route *navit_get_route(struct navit *this_);
+struct navigation *navit_get_navigation(struct navit *this_);
+struct displaylist *navit_get_displaylist(struct navit *this_);
+void navit_destroy(struct navit *this_);
+/* end of prototypes */
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+