00001
00012
00013
00014 #ifndef IMEDGINE_CONFIG_PARSER_H_
00015 #define IMEDGINE_CONFIG_PARSER_H_
00016
00017 #include <string>
00018
00019 #include <boost/shared_ptr.hpp>
00020
00021 #include <QtXml/QXmlDefaultHandler>
00022
00023 namespace imedgine
00024 {
00025
00037
00038
00039 class ConfigParser
00040 {
00041
00042 public:
00043
00046
00047 ConfigParser();
00048
00049
00052
00053 ~ConfigParser();
00054
00055
00062
00063 static void parseConfiguration(std::string config_file_name, boost::shared_ptr<QXmlDefaultHandler> content_handler);
00064 };
00065 }
00066
00067 #endif // IMEDGINE_CONFIG_PARSER_
00068