summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-13 12:49:52 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-13 12:49:52 +0000
commit10b881f997384378a299bff358716db5183b65a5 (patch)
tree2231d834a69c1db68980c1ccefdc6586df351fc0 /src/configuration.cpp
parentda5a71f65682dbb3f830be4d5ffcd0046aa7b7ce (diff)
downloadmana-10b881f997384378a299bff358716db5183b65a5.tar.gz
mana-10b881f997384378a299bff358716db5183b65a5.tar.bz2
mana-10b881f997384378a299bff358716db5183b65a5.tar.xz
mana-10b881f997384378a299bff358716db5183b65a5.zip
Huge header cleanup to reduce dependencies and compile time.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index a127570c..6c1a57c5 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -23,16 +23,18 @@
#include "configuration.h"
-#include "log.h"
#include <math.h>
-#include <iostream>
-#include <fstream>
#include <sstream>
-#include <libxml/parser.h>
-#include <libxml/tree.h>
#include <libxml/xmlwriter.h>
+#ifdef __DEBUG
+#include <iostream>
+#endif
+
+#include "configlistener.h"
+#include "log.h"
+
// MSVC libxml2 at the moment doesn't work right when using MinGW, missing this
// function at link time.
#ifdef WIN32
@@ -40,10 +42,6 @@
#define xmlFree(x) ;
#endif
-ConfigListener::~ConfigListener()
-{
-}
-
void Configuration::init(const std::string &filename)
{
configPath = filename;