diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-28 18:57:34 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-28 18:57:34 +0000 |
commit | 23ec03c90f2fdc91dfad16e2de69e466d58f0a42 (patch) | |
tree | 9762612960a36bd8f56417c23f474da574699e7e /src/parse/language.h | |
parent | f6fb8c8a662e8403a579ceb548b8b51701ed58cf (diff) | |
download | libcss-23ec03c90f2fdc91dfad16e2de69e466d58f0a42.tar.gz libcss-23ec03c90f2fdc91dfad16e2de69e466d58f0a42.tar.bz2 |
Tidy things up somewhat.
css21 is now language, as everything will share the same parsing rules (although there is facility to alter behaviour based upon the language level -- consult language->sheet->level and then decide what to do)
svn path=/trunk/libcss/; revision=5815
Diffstat (limited to 'src/parse/language.h')
-rw-r--r-- | src/parse/language.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/parse/language.h b/src/parse/language.h new file mode 100644 index 0000000..00317c6 --- /dev/null +++ b/src/parse/language.h @@ -0,0 +1,25 @@ +/* + * This file is part of LibCSS. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2008 John-Mark Bell <jmb@netsurf-browser.org> + */ + +#ifndef css_parse_language_h_ +#define css_parse_language_h_ + +#include <parserutils/utils/vector.h> + +#include <libcss/functypes.h> +#include <libcss/types.h> + +#include "parse/parse.h" + +typedef struct css_language css_language; + +css_error css_language_create(css_stylesheet *sheet, css_parser *parser, + css_alloc alloc, void *pw, void **language); +css_error css_language_destroy(css_language *language); + +#endif + |