diff options
author | Shaun McCance <shaunm@gnome.org> | 2011-02-11 15:44:54 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2011-02-11 15:44:54 -0500 |
commit | c6b056db59bf38683543442b2601a20b32bf8301 (patch) | |
tree | 206b4cdff2756b4bfeb220b84325247e91ef92db /libyelp/yelp-storage.h | |
parent | 4fcf2b3d0139bf78a32574068fd566da8027203d (diff) | |
download | yelp-c6b056db59bf38683543442b2601a20b32bf8301.tar.gz |
Store and retrieve root title in storage for search results
Diffstat (limited to 'libyelp/yelp-storage.h')
-rw-r--r-- | libyelp/yelp-storage.h | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/libyelp/yelp-storage.h b/libyelp/yelp-storage.h index 57666a02..da575798 100644 --- a/libyelp/yelp-storage.h +++ b/libyelp/yelp-storage.h @@ -38,16 +38,21 @@ typedef struct _YelpStorageInterface YelpStorageInterface; struct _YelpStorageInterface { GTypeInterface base_iface; - void (*update) (YelpStorage *storage, - const gchar *doc_uri, - const gchar *full_uri, - const gchar *title, - const gchar *desc, - const gchar *icon, - const gchar *text); - GVariant * (*search) (YelpStorage *storage, - const gchar *doc_uri, - const gchar *text); + void (*update) (YelpStorage *storage, + const gchar *doc_uri, + const gchar *full_uri, + const gchar *title, + const gchar *desc, + const gchar *icon, + const gchar *text); + GVariant * (*search) (YelpStorage *storage, + const gchar *doc_uri, + const gchar *text); + gchar * (*get_root_title) (YelpStorage *storage, + const gchar *doc_uri); + void (*set_root_title) (YelpStorage *storage, + const gchar *doc_uri, + const gchar *title); }; GType yelp_storage_get_type (void); @@ -65,6 +70,11 @@ void yelp_storage_update (YelpStorage *storage, GVariant * yelp_storage_search (YelpStorage *storage, const gchar *doc_uri, const gchar *text); +gchar * yelp_storage_get_root_title (YelpStorage *storage, + const gchar *doc_uri); +void yelp_storage_set_root_title (YelpStorage *storage, + const gchar *doc_uri, + const gchar *title); G_END_DECLS |