summaryrefslogtreecommitdiff
path: root/src/conf/conf.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:47 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:47 +0200
commitd4c9f10efe815af146438cafb694d16da0e5650a (patch)
tree93956195c448768b2d58892cb672bee36a6a6463 /src/conf/conf.h
parentee315a27b72dc967a8a90f132725b7c8e4fd9fba (diff)
tagging ychat-0.7.0ychat-0.7.0
Diffstat (limited to 'src/conf/conf.h')
-rwxr-xr-xsrc/conf/conf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/conf/conf.h b/src/conf/conf.h
index 3a7d0c6..7508872 100755
--- a/src/conf/conf.h
+++ b/src/conf/conf.h
@@ -1,7 +1,9 @@
+// class conf declaration. this class parses the server config file.
+
#ifndef CONF_H
#define CONF_H
-class conf; // Predefine for nmap.tmpl
+class conf;
#include "../incl.h"
#include "../maps/nmap.h"
@@ -16,12 +18,10 @@ private:
TiXmlDocument* p_xml;
void exit_if_xml_error() const;
void parse_xml( TiXmlNode* p_node, vector<string>* p_vec);
-
public:
- conf(string s_conf, map<string,string>* p_start_params);
+ //conf ( string s_conf );
+ conf ( string s_conf, map<string,string>* p_start_params );
~conf();
-
- string colored_error_msg( string s_key ); //<<
};
#endif