summaryrefslogtreecommitdiff
path: root/src/yelp-application.h
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2010-08-10 12:03:39 -0400
committerShaun McCance <shaunm@gnome.org>2010-08-10 12:03:39 -0400
commitc799c996a8a679631d45c0a08e8a7c8d73e279e5 (patch)
tree5f2688e243fcea17802ebbb8eb726b25db54adff /src/yelp-application.h
parent089eb3a88501b1ad420f3fe137b2ee223e5d827e (diff)
downloadyelp-c799c996a8a679631d45c0a08e8a7c8d73e279e5.tar.gz
[libyelp] Show bookmarks in location entry with YelpBookmarks
The bookmarks are managed by the application, not libyelp, so we need a way for the application to tell libyelp about bookmarks. Add a YelpBookmarks interface, which is implemented by YelpApplication. Then we can pass a YelpBookmarks to any libyelp class that needs it. Still need to hook up the bookmarks-changed signal and do something useful when the bookmark-new icon is clicked.
Diffstat (limited to 'src/yelp-application.h')
-rw-r--r--src/yelp-application.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yelp-application.h b/src/yelp-application.h
index 1060683f..98839e9c 100644
--- a/src/yelp-application.h
+++ b/src/yelp-application.h
@@ -68,6 +68,9 @@ void yelp_application_add_bookmark (YelpApplication *app,
void yelp_application_remove_bookmark (YelpApplication *app,
const gchar *doc_uri,
const gchar *page_id);
+gboolean yelp_application_is_bookmarked (YelpApplication *app,
+ const gchar *doc_uri,
+ const gchar *page_id);
void yelp_application_update_bookmarks (YelpApplication *app,
const gchar *doc_uri,
const gchar *page_id,