diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-05 21:35:38 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-05 21:35:38 +0000 |
commit | 2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47 (patch) | |
tree | 0647010a17aee4237d125e42cc8bd726ec0573ae /desktop/gui.h | |
parent | 89daef932a9bbc46e276f6d306b0aabf109806f9 (diff) | |
download | netsurf-2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47.tar.gz netsurf-2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47.tar.bz2 |
Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
Diffstat (limited to 'desktop/gui.h')
-rw-r--r-- | desktop/gui.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop/gui.h b/desktop/gui.h index 95301d1c1..80ba33cc8 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -41,7 +41,6 @@ typedef enum { GUI_SAVE_CLIPBOARD_CONTENTS } gui_save_type; -struct fetch; struct gui_window; struct gui_download_window; @@ -58,7 +57,9 @@ typedef enum { GUI_POINTER_DEFAULT, GUI_POINTER_POINT, GUI_POINTER_CARET, #include "content/content.h" #include "content/hlcache.h" #include "desktop/browser.h" +#include "desktop/download.h" #include "desktop/search.h" +#include "utils/errors.h" void gui_stdout(void); void gui_multitask(void); @@ -102,11 +103,10 @@ void gui_window_save_link(struct gui_window *g, const char *url, const char *title); void gui_window_set_scale(struct gui_window *g, float scale); -struct gui_download_window *gui_download_window_create(const char *url, - const char *mime_type, struct fetch *fetch, - unsigned int total_size, struct gui_window *gui); -void gui_download_window_data(struct gui_download_window *dw, const char *data, - unsigned int size); +struct gui_download_window *gui_download_window_create(download_context *ctx, + struct gui_window *parent); +nserror gui_download_window_data(struct gui_download_window *dw, + const char *data, unsigned int size); void gui_download_window_error(struct gui_download_window *dw, const char *error_msg); void gui_download_window_done(struct gui_download_window *dw); |