From 402de7572d76686dd65a5ee71274a690a421cc8f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 16 Aug 2012 23:26:05 +0100 Subject: Use new content message for saving of hyperlink target URL. --- content/content.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'content/content.h') diff --git a/content/content.h b/content/content.h index 5ff40d00c..f3a443868 100644 --- a/content/content.h +++ b/content/content.h @@ -75,7 +75,8 @@ typedef enum { CONTENT_MSG_LINK, /**< RFC5988 link */ CONTENT_MSG_GETCTX, /**< Javascript context */ CONTENT_MSG_SCROLL, /**< Request to scroll content */ - CONTENT_MSG_DRAGSAVE /**< Allow drag saving of content */ + CONTENT_MSG_DRAGSAVE, /**< Allow drag saving of content */ + CONTENT_MSG_SAVELINK /**< Allow URL to be saved */ } content_msg; /** RFC5988 metadata link */ @@ -139,6 +140,11 @@ union content_msg_data { } type; struct hlcache_handle *content; } dragsave; + /** CONTENT_MSG_SAVELINK - Save a URL */ + struct { + const char *url; + const char *title; + } savelink; }; /** parameters to content redraw */ -- cgit v1.2.3