![]() |
ManaPlus
|
Functions | |
| void | load () |
| void | loadXmlFile (const std::string &fileName, const SkipError skipError) |
| void | unload () |
| std::string & | getSound (const int id) |
| std::string & SoundDB::getSound | ( | const int | id | ) |
Definition at line 95 of file sounddb.cpp.
References anonymous_namespace{sounddb.cpp}::mDefault, anonymous_namespace{sounddb.cpp}::mSounds, and NotifyTypes::TYPE_END.
Referenced by NotifyManager::notify().
| void SoundDB::load | ( | ) |
Definition at line 40 of file sounddb.cpp.
References Configuration::getStringValue(), loadXmlDir, loadXmlFile(), Logger::log1(), logger, paths, SkipError_false, SkipError_true, and Net::unload().
Referenced by DbManager::loadDb().
| void SoundDB::loadXmlFile | ( | const std::string & | fileName, |
| const SkipError | skipError | ||
| ) |
Definition at line 49 of file sounddb.cpp.
References fileName, for_each_xml_child_node, NotifyManager::getIndexBySound(), XML::getProperty(), loadXmlFile(), anonymous_namespace{sounddb.cpp}::mSounds, XML::Document::rootNode(), and UseVirtFs_true.
| void SoundDB::unload | ( | ) |
Definition at line 87 of file sounddb.cpp.
References PlayerInfo::clear(), Logger::log1(), logger, anonymous_namespace{sounddb.cpp}::mSounds, and NotifyTypes::TYPE_END.
Referenced by DbManager::unloadDb().