summaryrefslogtreecommitdiff
path: root/desktop/hotlist.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-03 11:28:02 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-03 11:28:02 +0100
commitc2375339a1556d687ce0ccc8bec633a8737f585e (patch)
tree736b737a3b9366dd5b4d3f6f063980802517d352 /desktop/hotlist.h
parentb56d684a312a39f6cfb93b3ef60d0df2feb9a017 (diff)
downloadnetsurf-c2375339a1556d687ce0ccc8bec633a8737f585e.tar.gz
netsurf-c2375339a1556d687ce0ccc8bec633a8737f585e.tar.bz2
Add recursive expand/contract functions to hotlist, global history, and cookie manager modules.
Diffstat (limited to 'desktop/hotlist.h')
-rw-r--r--desktop/hotlist.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/desktop/hotlist.h b/desktop/hotlist.h
index d192eaa48..ff95d660b 100644
--- a/desktop/hotlist.h
+++ b/desktop/hotlist.h
@@ -164,4 +164,20 @@ void hotlist_edit_selection(void);
*/
int hotlist_get_height(void);
+/**
+ * Expand the treeview's nodes
+ *
+ * \param only_folders Iff true, only folders are expanded.
+ * \return NSERROR_OK on success, appropriate error otherwise
+ */
+nserror hotlist_expand(bool only_folders);
+
+/**
+ * Contract the treeview's nodes
+ *
+ * \param all Iff false, only entries are contracted.
+ * \return NSERROR_OK on success, appropriate error otherwise
+ */
+nserror hotlist_contract(bool all);
+
#endif