summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-09-06 18:07:30 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-09-06 18:07:30 +0000
commit4075648e7a6c2c0881ecb758d61a461ea303789b (patch)
tree61e4b8951d8db2f8cb51a71d0a52ec1c0206defe /utils
parent318803d382986b8c7f5f4f7b5df6e8f3d377c1cb (diff)
downloadnetsurf-4075648e7a6c2c0881ecb758d61a461ea303789b.tar.gz
netsurf-4075648e7a6c2c0881ecb758d61a461ea303789b.tar.bz2
Content interface to get at contextual content at point.
svn path=/trunk/netsurf/; revision=12753
Diffstat (limited to 'utils')
-rw-r--r--utils/types.h9
1 files changed, 9 insertions, 0 deletions
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