summaryrefslogtreecommitdiff
path: root/src/xmlnode.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-21 20:26:23 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-21 20:26:23 +0000
commit8fbf5fda24392d2a2ee19d6f40699a5de29da662 (patch)
treeac79c447bc4897d8cc350068504f184fdb8e4cfa /src/xmlnode.h
parent2bb05378f31311c353d43688fa753822ab9a6461 (diff)
downloadlibbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.tar.gz
libbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.tar.bz2
libbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.tar.xz
libbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.zip
Everything in libbu++ now passes -Wall, this should have been done a long time
ago.
Diffstat (limited to 'src/xmlnode.h')
-rw-r--r--src/xmlnode.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xmlnode.h b/src/xmlnode.h
index 02ab41d..7525306 100644
--- a/src/xmlnode.h
+++ b/src/xmlnode.h
@@ -161,7 +161,7 @@ public:
161 *@returns True if the property was found and deleted, false if it wasn't 161 *@returns True if the property was found and deleted, false if it wasn't
162 * found. 162 * found.
163 */ 163 */
164 bool deleteProperty( int nIndex ); 164 void deleteProperty( int nIndex );
165 165
166 /** 166 /**
167 * Delete a child node, possibly replacing it with some text. This actually 167 * Delete a child node, possibly replacing it with some text. This actually
@@ -171,7 +171,7 @@ public:
171 *@returns True of the node was found, and deleted, false if it wasn't 171 *@returns True of the node was found, and deleted, false if it wasn't
172 * found. 172 * found.
173 */ 173 */
174 bool deleteNode( int nIndex, const char *sReplacementText = NULL ); 174 void deleteNode( int nIndex, const char *sReplacementText = NULL );
175 175
176 /** 176 /**
177 * Delete a given node, but move all of it's children and content up to 177 * Delete a given node, but move all of it's children and content up to
@@ -180,7 +180,7 @@ public:
180 *@param nIndex The node to delete. 180 *@param nIndex The node to delete.
181 *@returns True if the node was found and deleted, false if it wasn't. 181 *@returns True if the node was found and deleted, false if it wasn't.
182 */ 182 */
183 bool deleteNodeKeepChildren( int nIndex ); 183 void deleteNodeKeepChildren( int nIndex );
184 184
185 /** 185 /**
186 * Detatch a given child node from this node. This effectively works just 186 * Detatch a given child node from this node. This effectively works just
@@ -201,7 +201,7 @@ public:
201 *@param pNewNode The new node to replace the old node with. 201 *@param pNewNode The new node to replace the old node with.
202 *@returns True if the node was found and replaced, false if it wasn't. 202 *@returns True if the node was found and replaced, false if it wasn't.
203 */ 203 */
204 bool replaceNode( int nIndex, XmlNode *pNewNode ); 204 void replaceNode( int nIndex, XmlNode *pNewNode );
205 205
206 /** 206 /**
207 * Replace a given node with the children and content of a given node. 207 * Replace a given node with the children and content of a given node.
@@ -210,7 +210,7 @@ public:
210 * replace the node specified by nIndex. 210 * replace the node specified by nIndex.
211 *@returns True if the node was found and replaced, false if it wasn't. 211 *@returns True if the node was found and replaced, false if it wasn't.
212 */ 212 */
213 bool replaceNodeWithChildren( int nIndex, XmlNode *pNewNode ); 213 void replaceNodeWithChildren( int nIndex, XmlNode *pNewNode );
214 214
215 /** 215 /**
216 * Get a copy of this node and all children. getCopy is recursive, so 216 * Get a copy of this node and all children. getCopy is recursive, so