From 08e654dcda7fa6d764558ea184fe1a47bc4001c8 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Fri, 21 Nov 2014 11:10:31 +0100 Subject: Finished last commits moving action by also moving the tests and correcting all references and namespaces in the code. --- src/core/CSSParser.hpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/core/CSSParser.hpp') diff --git a/src/core/CSSParser.hpp b/src/core/CSSParser.hpp index c8b772d..8c15e8e 100644 --- a/src/core/CSSParser.hpp +++ b/src/core/CSSParser.hpp @@ -16,21 +16,19 @@ along with this program. If not, see . */ -#ifndef _OUSIA_UTILS_CSS_PARSER_HPP_ -#define _OUSIA_UTILS_CSS_PARSER_HPP_ +#ifndef _OUSIA_CSS_PARSER_HPP_ +#define _OUSIA_CSS_PARSER_HPP_ #include #include #include #include -#include -#include - #include "BufferedCharReader.hpp" +#include "Managed.hpp" +#include "Node.hpp" namespace ousia { -namespace utils { /* * The Specificity or Precedence of a CSS RuleSet, which decides which @@ -107,7 +105,7 @@ public: enum class SelectionOperator { DESCENDANT, DIRECT_DESCENDANT }; -class StyleNode : public dom::Node { +class StyleNode : public Node { public: class StyleEdge : public Managed { private: @@ -141,7 +139,7 @@ public: PseudoSelector pseudoSelector, const std::vector> &edges, const std::vector> &ruleSets) - : dom::Node(mgr, std::move(name)), + : Node(mgr, std::move(name)), pseudoSelector(std::move(pseudoSelector)), edges(acquire(edges)), ruleSets(acquire(ruleSets)) @@ -163,5 +161,5 @@ public: StyleNode parse(BufferedCharReader &input); }; } -} + #endif -- cgit v1.2.3