diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2014-11-21 11:10:31 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2014-11-21 11:10:31 +0100 |
commit | 08e654dcda7fa6d764558ea184fe1a47bc4001c8 (patch) | |
tree | 0d97c16706ebb7832a7797146963f13bc33f24b1 /src/core/CSSParser.hpp | |
parent | ca2040ba16459f5b3dfe8a86a14680eecea7ef7d (diff) |
Finished last commits moving action by also moving the tests and correcting all references and namespaces in the code.
Diffstat (limited to 'src/core/CSSParser.hpp')
-rw-r--r-- | src/core/CSSParser.hpp | 16 |
1 files changed, 7 insertions, 9 deletions
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 <http://www.gnu.org/licenses/>. */ -#ifndef _OUSIA_UTILS_CSS_PARSER_HPP_ -#define _OUSIA_UTILS_CSS_PARSER_HPP_ +#ifndef _OUSIA_CSS_PARSER_HPP_ +#define _OUSIA_CSS_PARSER_HPP_ #include <istream> #include <map> #include <vector> #include <tuple> -#include <core/Managed.hpp> -#include <core/dom/Node.hpp> - #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<Handle<StyleEdge>> &edges, const std::vector<Handle<RuleSet>> &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 |