From 00fb4bde7974a20aacfc1c52e48fff2faee2d385 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Fri, 4 May 2007 13:09:25 +0000 Subject: Merged particle engine into main eAthena branch. --- src/utils/xml.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/utils/xml.h') diff --git a/src/utils/xml.h b/src/utils/xml.h index db4c264a..ef3bad3d 100644 --- a/src/utils/xml.h +++ b/src/utils/xml.h @@ -39,11 +39,22 @@ namespace XML int getProperty(xmlNodePtr node, const char *name, int def); + /** + * Gets an floating point property from an xmlNodePtr. + */ + double + getFloatProperty(xmlNodePtr node, const char *name, double def); + /** * Gets a string property from an xmlNodePtr. */ std::string getProperty(xmlNodePtr node, const char *name, const std::string &def); + + /** + * Finds the first child node with the given name + */ + xmlNodePtr findFirstChildByName(xmlNodePtr parent, const char *name); } #define for_each_xml_child_node(var, parent) \ -- cgit v1.2.3-70-g09d2