From 1e5dee524f9fbff6c811dba66ff404882b02b900 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 25 Sep 2008 07:56:31 +0000 Subject: Mechanism for the client to select the language level. svn path=/trunk/libcss/; revision=5436 --- src/stylesheet.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/stylesheet.c') diff --git a/src/stylesheet.c b/src/stylesheet.c index b61bb56..35bc13c 100644 --- a/src/stylesheet.c +++ b/src/stylesheet.c @@ -13,6 +13,7 @@ /** * Create a stylesheet * + * \param level The language level of the stylesheet * \param url URL of stylesheet * \param title Title of stylesheet * \param origin Origin of stylesheet @@ -23,7 +24,8 @@ * \param alloc_pw Client private data for alloc * \return Pointer to stylesheet on success, NULL otherwise */ -css_stylesheet *css_stylesheet_create(const char *url, const char *title, +css_stylesheet *css_stylesheet_create(css_language_level level, + const char *url, const char *title, css_origin origin, uint32_t media, css_import_handler import_callback, void *import_pw, css_alloc alloc, void *alloc_pw) @@ -41,7 +43,6 @@ css_stylesheet *css_stylesheet_create(const char *url, const char *title, memset(sheet, 0, sizeof(css_stylesheet)); /** \todo need a parser instance */ - /** \todo need way of letting client select language level */ /** \todo create selector hash */ -- cgit v1.2.3