if (confVersion != VERSION) logger->out(LOG_WARNING, "configuration file version (%s) differs from binary version (%s)", confVersion.c_str(), VERSION);
if (confVersion != Configuration::getBinaryVersion()) logger->out(LOG_WARNING, "configuration file version (%s) differs from binary version (%s)", confVersion.c_str(), Configuration::getBinaryVersion());
initConfiguration(SmartPtr<AbstractLogger>& logger, const char* confPath){  SmartPtr<Configuration> configuration = Configuration::create();  bool res = false;  if (MathViewNS::fileExists(MathView::getDefaultConfigurationPath().c_str()))    res |= MathView::loadConfiguration(logger, configuration, MathView::getDefaultConfigurationPath());  for (std::vector<String>::const_iterator p = Configuration::getConfigurationPaths().begin();       p != Configuration::getConfigurationPaths().end();       p++)    res |= MathView::loadConfiguration(logger, configuration, *p);  if (MathViewNS::fileExists("gtkmathview.conf.xml"))    res |= MathView::loadConfiguration(logger, configuration, "gtkmathview.conf.xml");  if (confPath != NULL)     res |= MathView::loadConfiguration(logger, configuration, confPath);  if (!res) logger->out(LOG_WARNING, "could not load configuration file");  logger->setLogLevel(LogLevelId(configuration->getInt(logger, "logger/verbosity", 1)));  String confVersion = configuration->getString(logger, "version", "<undefined>");  if (confVersion != VERSION)    logger->out(LOG_WARNING, "configuration file version (%s) differs from binary version (%s)", confVersion.c_str(), VERSION);  return configuration;}