// Add it to the TreeHandlerMap
mTreeHandlerMap[i_nameDB] = mLocalDatabase;
//Add additional DB from user Settings
addDBSettings();
// Add it to the TreeHandlerMap
mTreeHandlerMap[i_nameDB] = mLocalDatabase;
//Add additional DB from user Settings
addDBSettings();
// std::string st("C:/Documents and Settings/cervenansky/.gimmick/");
// boost::algorithm::replace_all( st,
// INVALID_FILE_SEPARATOR ,
// std::string st("C:/Documents and Settings/cervenansky/.gimmick/");
// boost::algorithm::replace_all( st,
// INVALID_FILE_SEPARATOR ,
GimmickMessage(1,"Directory '"<<GetUserSettingsDirectory()<<"' "
<< "does not exist : creating it"<<std::endl);
GimmickMessage(1,"Directory '"<<GetUserSettingsDirectory()<<"' "
<< "does not exist : creating it"<<std::endl);
if ( ! boost::filesystem::create_directory( GetUserSettingsDirectory() ) )
{
GimmickError("ERROR CREATING '"<<GetUserSettingsDirectory()<<"'");
}
}
if ( ! boost::filesystem::create_directory( GetUserSettingsDirectory() ) )
{
GimmickError("ERROR CREATING '"<<GetUserSettingsDirectory()<<"'");
}
}
std::string setDir=GetUserSettingsDirectory();
boost::algorithm::replace_all( setDir,
std::string setDir=GetUserSettingsDirectory();
boost::algorithm::replace_all( setDir,