summaryrefslogtreecommitdiff
path: root/desktop/hotlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/hotlist.h')
-rw-r--r--desktop/hotlist.h10
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);