diff options
Diffstat (limited to 'src/conf/conf.h')
| -rwxr-xr-x | src/conf/conf.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/conf/conf.h b/src/conf/conf.h index c1d0399..7dc779c 100755 --- a/src/conf/conf.h +++ b/src/conf/conf.h @@ -3,6 +3,7 @@ class conf; // Predefine for nmap.tmpl +#include <map> #include "../incl.h" #include "../maps/shashmap.h" #include "../name.h" @@ -13,15 +14,17 @@ using namespace std; class conf : public shashmap<string>, name { private: - TiXmlDocument* p_xml; - void exit_if_xml_error() const; - void parse_xml( TiXmlNode* p_node, vector<string>* p_vec); + 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(); + conf(string s_conf, map<string,string>* p_main_loop_params); + ~conf(); - string colored_error_msg( string s_key ); //<< + string colored_error_msg(string s_key); //<< + int get_int(string s_key); + vector<string> get_vector(string s_key); }; #endif |
