summaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-05 14:20:58 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-05 14:20:58 +0000
commit01d8e176628db2dc5a2a192ac7b097bd1998c8eb (patch)
treeaaafdf5d24f1bf0299dc171862c1a41e8f2f6914 /src/stylesheet.h
parent478018da914c247d0d49f64aba9eb3eb9a552199 (diff)
downloadlibcss-01d8e176628db2dc5a2a192ac7b097bd1998c8eb.tar.gz
libcss-01d8e176628db2dc5a2a192ac7b097bd1998c8eb.tar.bz2
Provide notification hook for imported stylesheets, to enable clients to parallelise their processing
svn path=/trunk/libcss/; revision=10999
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index 2c6caac..fbd76b0 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -170,6 +170,9 @@ struct css_stylesheet {
css_style *free_styles[4]; /**< Free styles: 16B buckets */
+ css_import_notification_fn import; /**< Import notification function */
+ void *import_pw; /**< Private word */
+
css_url_resolution_fn resolve; /**< URL resolution function */
void *resolve_pw; /**< Private word */