diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-11-02 20:10:32 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-11-02 20:10:32 +0000 |
commit | ad343eccb18454bab2f4e9464b88564c9da69649 (patch) | |
tree | a4d775a8e99e7d98dcfabdcdde7e6ad0dfd7368b /desktop/global_history.h | |
parent | f2cda2e1a707033ac582e791c45eeb3d0feaa70d (diff) | |
download | netsurf-ad343eccb18454bab2f4e9464b88564c9da69649.tar.gz netsurf-ad343eccb18454bab2f4e9464b88564c9da69649.tar.bz2 |
remove unecessary utils/types.h
This cleans up this header and moves the functionality into more
useful places while reducing the include complexity but only pulling
in whats required.
Diffstat (limited to 'desktop/global_history.h')
-rw-r--r-- | desktop/global_history.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/global_history.h b/desktop/global_history.h index 463ab1b9c..a2281ad60 100644 --- a/desktop/global_history.h +++ b/desktop/global_history.h @@ -25,7 +25,9 @@ #include "desktop/core_window.h" #include "desktop/textinput.h" #include "utils/errors.h" -#include "utils/nsurl.h" + +struct redraw_context; +struct nsurl; enum browser_mouse_state; @@ -63,7 +65,7 @@ nserror global_history_fini(void); * \param url URL for node being added * \return NSERROR_OK on success, appropriate error otherwise */ -nserror global_history_add(nsurl *url); +nserror global_history_add(struct nsurl *url); /* * Save global history to file (html) @@ -116,7 +118,7 @@ bool global_history_has_selection(void); * \param title Updated to the selected entry's title, or NULL * \return true iff global history has a selection */ -bool global_history_get_selection(nsurl **url, const char **title); +bool global_history_get_selection(struct nsurl **url, const char **title); /** * Expand the treeview's nodes |