From e3b1507c4e93290472cccab5fc2f5084a9cd507a Mon Sep 17 00:00:00 2001 From: martin-s Date: Tue, 9 Nov 2010 18:16:47 +0000 Subject: [PATCH] Add:Core:Exported navit_draw_async git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3670 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/navit.c | 2 +- navit/navit/navit.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/navit/navit/navit.c b/navit/navit/navit.c index 77f8e32..70cb171 100644 --- a/navit/navit/navit.c +++ b/navit/navit/navit.c @@ -215,7 +215,7 @@ navit_get_user_data_directory(int create) { } /* end: navit_get_user_data_directory(gboolean create) */ -static void +void navit_draw_async(struct navit *this_, int async) { diff --git a/navit/navit/navit.h b/navit/navit/navit.h index 8a7e66f..92e3c71 100644 --- a/navit/navit/navit.h +++ b/navit/navit/navit.h @@ -52,6 +52,8 @@ 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_); +char *navit_get_user_data_directory(int create); +void navit_draw_async(struct navit *this_, int async); void navit_draw(struct navit *this_); int navit_get_ready(struct navit *this_); void navit_draw_displaylist(struct navit *this_); @@ -83,11 +85,10 @@ void navit_init(struct navit *this_); void navit_zoom_to_rect(struct navit *this_, struct coord_rect *r); void navit_zoom_to_route(struct navit *this_, int orientation); void navit_set_center(struct navit *this_, struct pcoord *center, int set_timeout); -void navit_set_center_cursor(struct navit *this_, int keep_orientation, int autozoom); +void navit_set_center_cursor(struct navit *this_, int autozoom, int keep_orientation); void navit_set_center_screen(struct navit *this_, struct point *p, int set_timeout); 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); -char* navit_get_user_data_directory(int create); int navit_add_attr(struct navit *this_, struct attr *attr); int navit_remove_attr(struct navit *this_, struct attr *attr); struct attr_iter *navit_attr_iter_new(void); -- 2.7.4