summaryrefslogtreecommitdiff
path: root/desktop/global_history.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/global_history.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/global_history.h')
-rw-r--r--desktop/global_history.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/desktop/global_history.h b/desktop/global_history.h
index a720d3016..9e0b74963 100644
--- a/desktop/global_history.h
+++ b/desktop/global_history.h
@@ -116,4 +116,20 @@ bool global_history_has_selection(void);
*/
int global_history_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 global_history_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 global_history_contract(bool all);
+
#endif