From e5374cc042645cc03bccb37fea0730d88a5ae879 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 15 Aug 2012 19:00:50 +0100 Subject: Let contents broadcast explicit status messages as well as announce that their internal status has been updated. --- content/content.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'content/content.h') diff --git a/content/content.h b/content/content.h index ab569dd64..f1ff2a2c9 100644 --- a/content/content.h +++ b/content/content.h @@ -107,9 +107,13 @@ union content_msg_data { int object_width, object_height; } redraw; /** CONTENT_MSG_REFRESH - Minimum delay */ - int delay; + int delay; /** CONTENT_MSG_REFORMAT - Reformat should not cause a redraw */ bool background; + /** CONTENT_MSG_STATUS - Status message update. If NULL, the content's + * internal status text has been updated, and listener should use + * content_get_status_message() */ + const char *explicit_status_text; /** CONTENT_MSG_DOWNLOAD - Low-level cache handle */ struct llcache_handle *download; /** CONTENT_MSG_RFC5988_LINK - rfc5988 link data */ -- cgit v1.2.3