summaryrefslogtreecommitdiff
path: root/navit/navit.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-06-25 18:42:13 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-06-25 18:42:13 +0000
commit826922a269d02b706821e7e4f74198e026a2fe03 (patch)
treeb4d8e15995a1c2852b3a0c1da87612cb065c42d9 /navit/navit.h
parent9daf0037a395e460c66fe4b4f21411c065823690 (diff)
downloadnavit-826922a269d02b706821e7e4f74198e026a2fe03.tar.gz
Add:gui_internal:Added possibility to log a message to the debug log
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2374 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.h')
-rw-r--r--navit/navit.h28
1 files changed, 8 insertions, 20 deletions
diff --git a/navit/navit.h b/navit/navit.h
index 3208b69c0..2068055e4 100644
--- a/navit/navit.h
+++ b/navit/navit.h
@@ -26,7 +26,6 @@ extern "C" {
extern struct gui *main_loop_gui;
/* prototypes */
enum attr_type;
-enum item_type;
struct attr;
struct attr_iter;
struct callback;
@@ -37,15 +36,12 @@ struct mapset;
struct message;
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;
+struct vehicleprofile;
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_);
@@ -53,7 +49,6 @@ void navit_draw(struct navit *this_);
void navit_draw_displaylist(struct navit *this_);
void navit_handle_resize(struct navit *this_, int w, int h);
int navit_get_width(struct navit *this_);
-int navit_check_route(struct navit *this_);
int navit_get_height(struct navit *this_);
int navit_ignore_button(struct navit *this_);
void navit_ignore_graphics_events(struct navit *this_, int ignore);
@@ -62,18 +57,20 @@ 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);
+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_);
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);
-void navit_say(struct navit *this_, char *text);
+void navit_textfile_debug_log(struct navit *this_, const char *fmt, ...);
int navit_speech_estimate(struct navit *this_, char *str);
-void navit_speak(struct navit *this_);
+void navit_say(struct navit *this_, char *text);
void navit_announcer_toggle(struct navit *this_);
+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_zoom_to_route(struct navit *this_, int orientation);
void navit_set_center(struct navit *this_, struct pcoord *center);
@@ -87,22 +84,13 @@ 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);
-void navit_tracking_add(struct navit *this_, struct tracking *tracking);
-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_);
int navit_block(struct navit *this_, int block);
-int navit_command_register(struct navit *this_, char *command, struct callback *cb);
-struct callback *navit_command_unregister(struct navit *this_, char *command);
-int navit_command_call_attrs(struct navit *this_, char *command, struct attr **in, struct attr ***out);
-int navit_command_call(struct navit *this_, char *command);
-void navit_add_message(struct navit *this_, char *message);
-struct message *navit_get_messages(struct navit *this_);
void navit_destroy(struct navit *this_);
-struct vehicleprofile * navit_get_vehicleprofile(struct navit *this_);
/* end of prototypes */
#ifdef __cplusplus
}