summaryrefslogtreecommitdiff
path: root/desktop/tree_url_node.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-10-11 11:20:02 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-10-11 11:20:02 +0100
commitd9e7d5810678c1470808c3de63f7bde412b3d17b (patch)
tree68d47410cb177d0125127ac186c2a05127b82097 /desktop/tree_url_node.h
parent5a5eab9a1ea7bf6dd79420668c2c0df1a3ea88f5 (diff)
downloadnetsurf-d9e7d5810678c1470808c3de63f7bde412b3d17b.tar.gz
netsurf-d9e7d5810678c1470808c3de63f7bde412b3d17b.tar.bz2
Fix up ripples from urldb change.
Diffstat (limited to 'desktop/tree_url_node.h')
-rw-r--r--desktop/tree_url_node.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/desktop/tree_url_node.h b/desktop/tree_url_node.h
index 1fa89cdba..1f0231df1 100644
--- a/desktop/tree_url_node.h
+++ b/desktop/tree_url_node.h
@@ -26,20 +26,21 @@
#include "desktop/tree.h"
+#include "utils/nsurl.h"
struct url_data;
void tree_url_node_init(const char *folder_icon_name);
void tree_url_node_cleanup(void);
struct node *tree_create_URL_node(struct tree *tree,
- struct node *parent, const char *url, const char *title,
+ struct node *parent, nsurl *url, const char *title,
tree_node_user_callback, void *callback_data);
struct node *tree_create_URL_node_readonly(struct tree *tree,
- struct node *parent, const char *url,
+ struct node *parent, nsurl *url,
const struct url_data *data,
tree_node_user_callback, void *callback_data);
-void tree_update_URL_node(struct tree *tree,struct node *node,
- const char *url, const struct url_data *data);
+void tree_update_URL_node(struct tree *tree, struct node *node,
+ nsurl *url, const struct url_data *data);
const char *tree_url_node_get_title(struct node *node);
const char *tree_url_node_get_url(struct node *node);
void tree_url_node_edit_title(struct tree *tree, struct node *node);