summaryrefslogtreecommitdiff
path: root/src/utils/xml.h
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2009-12-19 04:40:42 -0500
committerChuck Miller <shadowmil@gmail.com>2009-12-19 05:08:56 -0500
commitcbc14c8a3c6614987d2331057e114d92336cbac0 (patch)
treea3693bd6ac6aca39a34a2d9a9f644873d63ecf32 /src/utils/xml.h
parent117cc13e863b788bfc8adef9468dba54c4909b9b (diff)
downloadmana-client-cbc14c8a3c6614987d2331057e114d92336cbac0.tar.gz
mana-client-cbc14c8a3c6614987d2331057e114d92336cbac0.tar.bz2
mana-client-cbc14c8a3c6614987d2331057e114d92336cbac0.tar.xz
mana-client-cbc14c8a3c6614987d2331057e114d92336cbac0.zip
Added support for resources.xml from update server... Also added option to download music optionally
I had to edit the XML wrapper a bit, basicilly its constructor can now take a optional thrid arguement which will tell it to use a resman or open the file directly Also I added fallback support for the old resouce2.txt so servers don't have to upgrade if they do not want to
Diffstat (limited to 'src/utils/xml.h')
-rw-r--r--src/utils/xml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/xml.h b/src/utils/xml.h
index e7075279..441d2125 100644
--- a/src/utils/xml.h
+++ b/src/utils/xml.h
@@ -42,7 +42,7 @@ namespace XML
* Constructor that attempts to load the given file through the
* resource manager. Logs errors.
*/
- Document(const std::string &filename);
+ Document(const std::string &filename, bool useResman = true);
/**
* Constructor that attempts to load an XML document from memory.