![]() |
ManaPlus
|
Functions | |
| void | load () |
| void | unload () |
| ModInfo * | get (const std::string &name) |
| void | loadXmlFile (const std::string &fileName, const SkipError skipError) |
| const ModInfos & | getAll () |
| ModInfo * ModDB::get | ( | const std::string & | name | ) |
| const ModInfos & ModDB::getAll | ( | ) |
Definition at line 116 of file moddb.cpp.
References anonymous_namespace{moddb.cpp}::mModInfos.
Referenced by UpdaterWindow::loadDirMods(), Setup_Mods::loadMods(), Setup_Mods::saveMods(), and UpdaterWindow::unloadMods().
| void ModDB::load | ( | ) |
Definition at line 42 of file moddb.cpp.
References Configuration::getStringValue(), loadXmlDir, loadXmlFile(), Logger::log1(), logger, anonymous_namespace{moddb.cpp}::mLoaded, paths, SkipError_false, SkipError_true, and Net::unload().
Referenced by UpdaterWindow::loadDirMods(), and UpdaterWindow::loadMods().
| void ModDB::loadXmlFile | ( | const std::string & | fileName, |
| const SkipError | skipError | ||
| ) |
Definition at line 53 of file moddb.cpp.
References _, fileName, for_each_xml_child_node, XML::getProperty(), XML::langProperty(), loadXmlFile(), Logger::log(), logger, anonymous_namespace{moddb.cpp}::mModInfos, XML::Document::rootNode(), ModInfo::setDescription(), ModInfo::setHelp(), ModInfo::setLocalDir(), ModInfo::setName(), and UseVirtFs_true.
| void ModDB::unload | ( | ) |
Definition at line 100 of file moddb.cpp.
References delete_all(), Logger::log1(), logger, anonymous_namespace{moddb.cpp}::mLoaded, and anonymous_namespace{moddb.cpp}::mModInfos.
Referenced by DbManager::unloadDb().