summaryrefslogtreecommitdiff
path: root/src/cxml.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-07 00:55:30 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-07 00:55:30 +0100
commit42ae34df3c11483a798bfa01a31b9494fc8d8315 (patch)
treec58e58e8d6be2b97ed5ba8b27fb8002d0386b809 /src/cxml.h
parent251957abb0a955f91d7aedaf46c02b2294593881 (diff)
Add cxml::add_child() and cxml::add_text_child().v0.17.7
Diffstat (limited to 'src/cxml.h')
-rw-r--r--src/cxml.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cxml.h b/src/cxml.h
index 3a8ba14..4176622 100644
--- a/src/cxml.h
+++ b/src/cxml.h
@@ -36,6 +36,7 @@
namespace xmlpp {
class DomParser;
+ class Element;
class Node;
}
@@ -269,6 +270,11 @@ private:
std::string _root_name;
};
+
+xmlpp::Element* add_child(xmlpp::Element* parent, std::string const& name);
+void add_text_child(xmlpp::Element* parent, std::string const& name, std::string const& text);
+
+
}
#endif