diff options
author | Shaun McCance <shaunm@gnome.org> | 2009-10-21 17:15:15 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2009-10-21 17:15:15 -0500 |
commit | ddc7de372fa2865b34ec08168a5e3087b79861fb (patch) | |
tree | 1a37a01daf129d0ceca45e3fa29ab87fec8d462d /libyelp/yelp-uri.h | |
parent | acd4ddbe9dde29e4be2f8479d006a5481a2b2fa1 (diff) | |
download | yelp-ddc7de372fa2865b34ec08168a5e3087b79861fb.tar.gz |
[libyelp] Look up resources (e.g. images) from URI search path
Especially for Mallard documents, the files included in a document can be
placed anywhere within a search path. With this change, not only can pages
come from the search path, but also images or other resources.
FIXME: We should make XInclude work on the path as well.
Diffstat (limited to 'libyelp/yelp-uri.h')
-rw-r--r-- | libyelp/yelp-uri.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libyelp/yelp-uri.h b/libyelp/yelp-uri.h index 09bf40d6..81612619 100644 --- a/libyelp/yelp-uri.h +++ b/libyelp/yelp-uri.h @@ -82,6 +82,9 @@ gchar ** yelp_uri_get_search_path (YelpUri *uri); gchar * yelp_uri_get_page_id (YelpUri *uri); gchar * yelp_uri_get_frag_id (YelpUri *uri); +gchar * yelp_uri_locate_file_uri (YelpUri *uri, + const gchar *filename); + G_END_DECLS #endif /* __YELP_URI_H__ */ |