summaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-09-25 00:19:16 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-09-25 00:19:16 +0000
commit4793b871b96c1b64383695be117467b59bfbfaa1 (patch)
treedfad2fa0ceb4fc6cf0aef9bc7f6b183f1c7ece17 /src/stylesheet.h
parent3986ea98445d605596d94318aa0d91fabc883cc4 (diff)
downloadlibcss-4793b871b96c1b64383695be117467b59bfbfaa1.tar.gz
libcss-4793b871b96c1b64383695be117467b59bfbfaa1.tar.bz2
Public stylesheet API & stubbed out implementations.
Make public headers use libcss_ as their guard macro prefix. svn path=/trunk/libcss/; revision=5433
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index 0b87b9f..5968083 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -12,6 +12,7 @@
#include <libcss/errors.h>
#include <libcss/functypes.h>
+#include <libcss/stylesheet.h>
#include <libcss/types.h>
typedef struct css_rule css_rule;
@@ -122,6 +123,7 @@ struct css_stylesheet {
char *url; /**< URL of this sheet */
char *title; /**< Title of this sheet */
+ css_origin origin; /**< Origin of stylesheet */
uint32_t media; /**< Bitfield of media types */
void *ownerNode; /**< Owning node in document */
@@ -133,6 +135,9 @@ struct css_stylesheet {
css_stylesheet *next; /**< Next in sibling list */
css_stylesheet *prev; /**< Previous in sibling list */
+ css_import_handler import; /**< Import callback */
+ void *import_pw; /**< Import handler data */
+
css_alloc alloc; /**< Allocation function */
void *pw; /**< Private word */
};