summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-01-22 23:19:57 +0000
committerVincent Sanders <vince@kyllikki.org>2014-01-23 00:00:18 +0000
commit047569339406f2be1637ae4cee5dd0c9a9c2328f (patch)
tree3d3909b4bc3d27cd7a9e146d32539ce752b33310 /amiga/gui.c
parent4684e9665d2ddff50f4a8e9a16d73224d2617180 (diff)
downloadnetsurf-047569339406f2be1637ae4cee5dd0c9a9c2328f.tar.gz
netsurf-047569339406f2be1637ae4cee5dd0c9a9c2328f.tar.bz2
create table for fetcher operations and move all operations into it
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index b7ee133fa..6bad1dbee 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -5181,17 +5181,22 @@ static struct gui_window_table amiga_window_table = {
.save_link = gui_window_save_link,
};
+static struct gui_fetch_table amiga_fetch_table = {
+ .filename_from_path = filename_from_path,
+ .path_add_part = path_add_part,
+ .filetype = fetch_filetype,
+
+ .get_resource_url = gui_get_resource_url,
+};
static struct gui_browser_table amiga_browser_table = {
.poll = gui_poll,
+
.quit = gui_quit,
.set_search_ico = gui_set_search_ico,
- .get_resource_url = gui_get_resource_url,
.launch_url = gui_launch_url,
.create_form_select_menu = gui_create_form_select_menu,
.cert_verify = gui_cert_verify,
- .filename_from_path = filename_from_path,
- .path_add_part = path_add_part,
.login = gui_401login_open,
};
@@ -5211,6 +5216,7 @@ int main(int argc, char** argv)
.window = &amiga_window_table,
.clipboard = amiga_clipboard_table,
.download = amiga_download_table,
+ .fetch = &amiga_fetch_table,
};
/* Open popupmenu.library just to check the version.