diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2015-02-26 16:13:41 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2015-02-26 16:14:23 +0000 |
commit | cbd9d710a3bd62848eca3a519ac92f49ce229153 (patch) | |
tree | 2e42ca1ccc04f06538c15a97d17cfe7785e3d325 /content | |
parent | 30909f8ed53848e450b7e362ef05b1eb06e09ddb (diff) | |
download | netsurf-cbd9d710a3bd62848eca3a519ac92f49ce229153.tar.gz netsurf-cbd9d710a3bd62848eca3a519ac92f49ce229153.tar.bz2 |
Use forward declaration instead of #include for nsurl.
Diffstat (limited to 'content')
-rw-r--r-- | content/content.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/content/content.h b/content/content.h index c154d7a04..f0761d748 100644 --- a/content/content.h +++ b/content/content.h @@ -34,7 +34,6 @@ #include "utils/config.h" #include "utils/errors.h" #include "utils/http.h" -#include "utils/nsurl.h" #include "content/content_factory.h" #include "content/content_type.h" #include "desktop/search.h" @@ -105,7 +104,7 @@ struct content_rfc5988_link { struct content_rfc5988_link *next; /**< next rfc5988_link in list */ lwc_string *rel; /**< the link relationship - must be present */ - nsurl *href; /**< the link href - must be present */ + struct nsurl *href; /**< the link href - must be present */ lwc_string *hreflang; lwc_string *type; lwc_string *media; @@ -120,8 +119,8 @@ union content_msg_data { nserror errorcode; /** CONTENT_MSG_REDIRECT - Redirect info */ struct { - nsurl *from; /**< Redirect origin */ - nsurl *to; /**< Redirect target */ + struct nsurl *from; /**< Redirect origin */ + struct nsurl *to; /**< Redirect target */ } redirect; /**< Fetch URL redirect occured */ /** CONTENT_MSG_REDRAW - Area of content which needs redrawing */ struct { @@ -171,7 +170,7 @@ union content_msg_data { } dragsave; /** CONTENT_MSG_SAVELINK - Save a URL */ struct { - nsurl *url; + struct nsurl *url; const char *title; } savelink; /** CONTENT_MSG_POINTER - Mouse pointer to set */ @@ -252,7 +251,7 @@ bool content_matches_quirks(struct content *c, bool quirks); bool content_is_shareable(struct content *c); const struct llcache_handle *content_get_llcache_handle(struct content *c); -nsurl *content_get_url(struct content *c); +struct nsurl *content_get_url(struct content *c); struct content *content_clone(struct content *c); @@ -426,7 +425,7 @@ void content_invalidate_reuse_data(struct hlcache_handle *h); * \param h Content to retrieve refresh URL from * \return Pointer to URL, or NULL if none */ -nsurl *content_get_refresh_url(struct hlcache_handle *h); +struct nsurl *content_get_refresh_url(struct hlcache_handle *h); /** * Retrieve the bitmap contained in an image content |