summaryrefslogtreecommitdiff
path: root/src/xmlparser.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-06-06 18:32:11 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-06-06 18:32:11 +0200
commitfa5985ed620c3cd4c7b9712b6b80a2e2c1a8ba31 (patch)
tree39e1eff8ce28467536505d2ca58282492be5b1b5 /src/xmlparser.h
parent9e81fcd4bdb089b8f8a05c6fbb586ec2a2a14924 (diff)
Rename task to node everywhere.
Diffstat (limited to 'src/xmlparser.h')
-rw-r--r--src/xmlparser.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xmlparser.h b/src/xmlparser.h
index 6247497..b245c6d 100644
--- a/src/xmlparser.h
+++ b/src/xmlparser.h
@@ -27,17 +27,17 @@
*/
#pragma once
-#include "task.h"
+#include "node.h"
#include "saxparser.h"
#include <stack>
-#include "tasktree.h"
+#include "nodetree.h"
class XmlParser
: public SAXParser
{
public:
- XmlParser(TaskTree *tree);
+ XmlParser(NodeTree *tree);
~XmlParser();
void startTag(std::string name, attributes_t &attr);
@@ -45,9 +45,9 @@ public:
void characterData(const std::string &data);
private:
- std::stack<taskid_t> parents;
+ std::stack<nodeid_t> parents;
std::string cdata;
- node_t *node;
- TaskTree *tree;
+ Node *node;
+ NodeTree *tree;
std::string attr_name;
};