changeset 1003:8c75ee03cd4e

move CssOrigin definition to css.hh
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sun, 15 Mar 2009 19:27:38 +0100
parents 635bf7cf7e98
children 14e7e45c668f
files src/css.hh src/cssparser.hh
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.hh	Sun Mar 15 19:26:25 2009 +0100
+++ b/src/css.hh	Sun Mar 15 19:27:38 2009 +0100
@@ -15,6 +15,12 @@
 } CssPrimaryOrder;
 
 typedef enum {
+   CSS_ORIGIN_USER_AGENT,
+   CSS_ORIGIN_USER,
+   CSS_ORIGIN_AUTHOR,
+} CssOrigin;
+
+typedef enum {
    CSS_TYPE_INTEGER,            /* This type is only used internally, for x-*
                                    properties. */
    CSS_TYPE_ENUM,               /* Value is i, if represented by
--- a/src/cssparser.hh	Sun Mar 15 19:26:25 2009 +0100
+++ b/src/cssparser.hh	Sun Mar 15 19:27:38 2009 +0100
@@ -3,12 +3,6 @@
 
 #include "css.hh"
 
-typedef enum {
-   CSS_ORIGIN_USER_AGENT,
-   CSS_ORIGIN_USER,
-   CSS_ORIGIN_AUTHOR,
-} CssOrigin;
-
 typedef struct {
    const char *symbol;
    const CssValueType type[3];