summaryrefslogtreecommitdiff
path: root/desktop/tree.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-11-10 12:22:48 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-11-10 12:22:48 +0000
commit0b6e5da662decfc08f56bd28a8c7bc1f4fe90780 (patch)
tree73475a2ff7a584f43702f45e1d774586037204ad /desktop/tree.h
parent87c5f14c08fba088484c7925ac0d7b74f6c0521f (diff)
downloadnetsurf-0b6e5da662decfc08f56bd28a8c7bc1f4fe90780.tar.gz
netsurf-0b6e5da662decfc08f56bd28a8c7bc1f4fe90780.tar.bz2
Allow setting a default folder in the tree for hotlist entries to go into. Frontends
will need to be updated to use hotlist_set_default_folder() if they want to use this functionality. svn path=/trunk/netsurf/; revision=13139
Diffstat (limited to 'desktop/tree.h')
-rw-r--r--desktop/tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/tree.h b/desktop/tree.h
index 0ff8948bc..dc54e5e54 100644
--- a/desktop/tree.h
+++ b/desktop/tree.h
@@ -174,6 +174,10 @@ struct node *tree_get_root(struct tree *tree);
bool tree_is_edited(struct tree *tree);
tree_drag_type tree_drag_status(struct tree *tree);
+struct node *tree_get_default_folder_node(struct tree *tree);
+bool tree_set_default_folder_node(struct tree *tree);
+void tree_clear_default_folder_node(struct tree *tree);
+
/* functions for traversing the tree */
struct node *tree_node_get_child(struct node *node);
struct node *tree_node_get_next(struct node *node);