diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2010-12-14 00:18:24 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2010-12-14 00:18:24 +0000 |
commit | 60c840628f4f2aebc86adea495258be1ecc738e8 (patch) | |
tree | 45a947044dbf5629d0c928ad7f82321060ee2dc7 /desktop/hotlist.h | |
parent | 67556f54feaba380bb48459beb9b85329e67fc7c (diff) | |
download | netsurf-60c840628f4f2aebc86adea495258be1ecc738e8.tar.gz netsurf-60c840628f4f2aebc86adea495258be1ecc738e8.tar.bz2 |
Small refactor to change icon names to being passed in from frontends instead of core treeview globals
svn path=/trunk/netsurf/; revision=11053
Diffstat (limited to 'desktop/hotlist.h')
-rw-r--r-- | desktop/hotlist.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/desktop/hotlist.h b/desktop/hotlist.h index 84f573a90..efce84696 100644 --- a/desktop/hotlist.h +++ b/desktop/hotlist.h @@ -30,7 +30,15 @@ #include "desktop/tree.h" -bool hotlist_initialise(struct tree *tree, const char *hotlist_path); +/** + * Initialise the hotlist from a frontend. + * + * \param tree The tree object which holds the hotlist. + * \param hotlist_path The file path to initialise the hotlist entries from. + * \param folder_icon_name The name to use for folder icons. + */ +bool hotlist_initialise(struct tree *tree, const char *hotlist_path, const char* folder_icon_name); + unsigned int hotlist_get_tree_flags(void); void hotlist_cleanup(const char *hotlist_path); |