summaryrefslogtreecommitdiff
path: root/desktop/tree_url_node.h
diff options
context:
space:
mode:
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);