diff options
author | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-04 09:23:14 +0000 |
---|---|---|
committer | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-04 09:23:14 +0000 |
commit | 939ccb4fbe0f5900b340100d61c3ed604a809ad2 (patch) | |
tree | f359a8782b98ba4f6cdf960aa004ed0be1f96756 /navit/bookmarks.h | |
parent | 14da8eb4153dfcbdad4350c4ccd0549875681413 (diff) | |
download | navit-939ccb4fbe0f5900b340100d61c3ed604a809ad2.tar.gz |
Fix:code:Added bookmarks writing function, that could be usefull for
bookmarks editing and deletion
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2980 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/bookmarks.h')
-rw-r--r-- | navit/bookmarks.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/bookmarks.h b/navit/bookmarks.h index eb35cbee9..d41ec734a 100644 --- a/navit/bookmarks.h +++ b/navit/bookmarks.h @@ -29,8 +29,9 @@ struct bookmarks; struct bookmarks *bookmarks_new(struct attr *parent,/* struct attr **attrs,*/ struct transformation *trans); void bookmarks_destroy(struct bookmarks *this_); void bookmarks_add_callback(struct bookmarks *this_, struct callback *cb); -void bookmarks_add_bookmark(struct bookmarks *this_, struct pcoord *c, const char *description); +int bookmarks_add_bookmark(struct bookmarks *this_, struct pcoord *c, const char *description); struct map* bookmarks_get_map(struct bookmarks *this_); +char* bookmarks_get_user_data_directory(gboolean create); char* bookmarks_get_destination_file(gboolean create); void bookmarks_add_bookmarks_from_file(struct bookmarks *this_); void bookmarks_set_center_from_file(struct bookmarks *this_, char *file); |