From 917a602dce32286260a34d61b7c0db4bee502ec0 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 6 Jan 2017 23:56:52 +0000 Subject: Conversion of Amiga hotlist manager to corewindow --- frontends/amiga/hotlist.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) mode change 100755 => 100644 frontends/amiga/hotlist.h (limited to 'frontends/amiga/hotlist.h') diff --git a/frontends/amiga/hotlist.h b/frontends/amiga/hotlist.h old mode 100755 new mode 100644 index 113a2d1c0..588a72de8 --- a/frontends/amiga/hotlist.h +++ b/frontends/amiga/hotlist.h @@ -1,5 +1,5 @@ /* - * Copyright 2008, 2009 Chris Young + * Copyright 2017 Chris Young * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -19,16 +19,18 @@ #ifndef AMIGA_HOTLIST_H #define AMIGA_HOTLIST_H -struct nsurl; -struct treeview_window; +#include "utils/nsurl.h" -extern struct treeview_window *hotlist_window; - -void ami_hotlist_initialise(const char *hotlist_file); - -void ami_hotlist_free(const char *hotlist_file); - -nserror ami_hotlist_scan(void *userdata, int first_item, const char *folder, bool (*cb_add_item)(void *userdata, int level, int item, const char *title, struct nsurl *url, bool folder)); +/** Open the hotlist viewer */ +nserror ami_hotlist_present(void); +/** Close the hotlist viewer + * normally this shouldn't be used; only exists for ARexx use + */ +void ami_hotlist_close(void); +/** Scan the hotlist */ +nserror ami_hotlist_scan(void *userdata, int first_item, const char *folder, + bool (*cb_add_item)(void *userdata, int level, int item, const char *title, nsurl *url, bool folder)); #endif + -- cgit v1.2.3