summaryrefslogtreecommitdiff
path: root/server/src/configuration.cc
diff options
context:
space:
mode:
authordeva <deva>2007-09-03 09:11:33 +0000
committerdeva <deva>2007-09-03 09:11:33 +0000
commita34402b79b38624a29ed8ea4e059af817266e6b8 (patch)
tree4df1d9a5756e37c304ddd8b58ed3e12c4a3894c1 /server/src/configuration.cc
parent27bc1afc3aa6e0b4465946aa870573499b85ae5d (diff)
Implemented the first version of the XML request. Fixed eXpat incompatability with XML_Get/SetUserData and the void* in the handler functions.
Diffstat (limited to 'server/src/configuration.cc')
-rw-r--r--server/src/configuration.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/configuration.cc b/server/src/configuration.cc
index e6d24a9..3b59c93 100644
--- a/server/src/configuration.cc
+++ b/server/src/configuration.cc
@@ -30,14 +30,14 @@
#include "tostring.h"
-Pentominos::Configuration::Configuration(std::string filename)
+Configuration::Configuration(std::string filename)
{
this->filename = filename;
reload();
}
-void Pentominos::Configuration::reload()
+void Configuration::reload()
throw(ConfigurationException)
{
try {
@@ -51,9 +51,9 @@ void Pentominos::Configuration::reload()
}
-static Pentominos::Configuration *_config = NULL;
+static Configuration *_config = NULL;
-Pentominos::Configuration *Pentominos::config()
+Configuration *config()
throw(ConfigurationException)
{
if(_config == NULL)
@@ -61,7 +61,7 @@ Pentominos::Configuration *Pentominos::config()
return _config;
}
-void Pentominos::initConfig(Pentominos::Configuration *config)
+void initConfig(Configuration *config)
{
_config = config;
}