From 4075648e7a6c2c0881ecb758d61a461ea303789b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 6 Sep 2011 18:07:30 +0000 Subject: Content interface to get at contextual content at point. svn path=/trunk/netsurf/; revision=12753 --- utils/types.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'utils/types.h') diff --git a/utils/types.h b/utils/types.h index 2e77cade4..50baf3691 100644 --- a/utils/types.h +++ b/utils/types.h @@ -24,6 +24,7 @@ #define _NETSURF_UTILS_TYPES_H_ struct plotter_table; +struct hlcache_handle; /* Rectangle coordinates */ struct rect { @@ -42,4 +43,12 @@ struct redraw_context { const struct plotter_table *plot; }; + +/* Content located at a specific spatial location */ +struct contextual_content { + const char *link_url; + struct hlcache_handle *object; + struct hlcache_handle *main; +}; + #endif -- cgit v1.2.3