From 4793b871b96c1b64383695be117467b59bfbfaa1 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 25 Sep 2008 00:19:16 +0000 Subject: Public stylesheet API & stubbed out implementations. Make public headers use libcss_ as their guard macro prefix. svn path=/trunk/libcss/; revision=5433 --- include/libcss/types.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'include/libcss/types.h') 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 */ -#ifndef css_types_h_ -#define css_types_h_ +#ifndef libcss_types_h_ +#define libcss_types_h_ #include #include @@ -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 -- cgit v1.2.3