diff options
Diffstat (limited to 'include/libcss/types.h')
-rw-r--r-- | include/libcss/types.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/libcss/types.h b/include/libcss/types.h index 104e339..ad5b5bf 100644 --- a/include/libcss/types.h +++ b/include/libcss/types.h @@ -5,8 +5,8 @@ * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org> */ -#ifndef css_types_h_ -#define css_types_h_ +#ifndef libcss_types_h_ +#define libcss_types_h_ #include <stdbool.h> #include <inttypes.h> @@ -32,4 +32,13 @@ typedef struct css_string { typedef struct css_stylesheet css_stylesheet; +/** + * Stylesheet origin + */ +typedef enum css_origin { + CSS_ORIGIN_UA = 0, /**< User agent stylesheet */ + CSS_ORIGIN_USER = 1, /**< User stylesheet */ + CSS_ORIGIN_AUTHOR = 2 /**< Author stylesheet */ +} css_origin; + #endif |