diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2006-04-09 23:21:13 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2006-04-09 23:21:13 +0000 |
commit | c09eb457df1962f5b014214874b2beffd69141a4 (patch) | |
tree | a7c30e8b57b1d8bdeb87127c8f1ba16e91bf3971 /desktop/tree.h | |
parent | e5e1b982d55636b409b194cf0488ebafe9c6d519 (diff) | |
download | netsurf-c09eb457df1962f5b014214874b2beffd69141a4.tar.gz netsurf-c09eb457df1962f5b014214874b2beffd69141a4.tar.bz2 |
Unify information databases
svn path=/trunk/netsurf/; revision=2519
Diffstat (limited to 'desktop/tree.h')
-rw-r--r-- | desktop/tree.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/desktop/tree.h b/desktop/tree.h index b5a73089d..ddfd5f6d3 100644 --- a/desktop/tree.h +++ b/desktop/tree.h @@ -13,7 +13,8 @@ #define _NETSURF_DESKTOP_TREE_H_ #include <stdbool.h> -#include "netsurf/content/url_store.h" + +struct url_data; typedef enum { TREE_ELEMENT_URL, @@ -117,9 +118,11 @@ struct node *tree_create_folder_node(struct node *parent, const char *title); struct node *tree_create_leaf_node(struct node *parent, const char *title); void tree_set_node_sprite(struct node *node, const char *sprite, const char *expanded); -struct node *tree_create_URL_node(struct node *parent, struct url_content *data, +struct node *tree_create_URL_node(struct node *parent, + const char *url, const struct url_data *data, const char *title); -struct node *tree_create_URL_node_shared(struct node *parent, struct url_content *data); +struct node *tree_create_URL_node_shared(struct node *parent, + const char *url, const struct url_data *data); void tree_set_node_expanded(struct node *node, bool expanded); void tree_set_node_selected(struct tree *tree, struct node *node, bool selected); @@ -142,7 +145,8 @@ void tree_draw_line(int x, int y, int width, int height); void tree_draw_node_element(struct tree *tree, struct node_element *element); void tree_draw_node_expansion(struct tree *tree, struct node *node); void tree_recalculate_node_element(struct node_element *element); -void tree_update_URL_node(struct node *node, struct url_content *data); +void tree_update_URL_node(struct node *node, const char *url, + const struct url_data *data); void tree_resized(struct tree *tree); void tree_set_node_sprite_folder(struct node *node); |