From c2375339a1556d687ce0ccc8bec633a8737f585e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 3 Sep 2013 11:28:02 +0100 Subject: Add recursive expand/contract functions to hotlist, global history, and cookie manager modules. --- desktop/global_history.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'desktop/global_history.h') 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 -- cgit v1.2.3