From 5f5e05347d4898766d1c06c41c6c56e23b71bcd7 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 15 Mar 2009 22:18:20 +0100 Subject: move CssPropertyInfo definition to cssparser.cc --- src/cssparser.hh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/cssparser.hh') diff --git a/src/cssparser.hh b/src/cssparser.hh index 8e29d303..e28516a6 100644 --- a/src/cssparser.hh +++ b/src/cssparser.hh @@ -3,14 +3,6 @@ #include "css.hh" -typedef struct { - const char *symbol; - const CssValueType type[3]; - const char *const *enum_symbols; -} CssPropertyInfo; - -extern const CssPropertyInfo Css_property_info[CSS_PROPERTY_LAST]; - class CssParser { private: typedef enum { @@ -49,6 +41,7 @@ class CssParser { static CssPropertyList *parseDeclarationBlock(const char *buf, int buflen); static void parse(CssContext *context, const char *buf, int buflen, CssOrigin origin); + static const char *propertyNameString(CssPropertyName name); }; #endif -- cgit v1.2.3