37 std::map<int, std::string>
mPo;
43 logger->
log1(
"Initializing languages database...");
55 XmlNodeConstPtrConst root = doc->
rootNode();
57 if ((root ==
nullptr) || !xmlNameEqual(root,
"languages"))
65 if (xmlNameEqual(node,
"include"))
72 else if (xmlNameEqual(node,
"lang"))
106 logger->
log1(
"Unloading languages database...");
113 std::map<int, std::string>::const_iterator it =
mIcons.find(
id);
121 std::map<int, std::string>::const_iterator it =
mPo.find(
id);
static void loadXmlFile(const std::string &file, const std::string &name, BadgesInfos &arr, const SkipError skipError)
#define loadXmlDir(name, function)
#define reportAlways(...)
std::string getStringValue(const std::string &key) const
void log1(const char *const log_text)
#define for_each_xml_child_node(var, parent)
const std::string & getPo(const int id)
void loadXmlFile(const std::string &fileName, const SkipError skipError)
const std::string & getIcon(const int id)
int getProperty(const xmlNodePtr node, const char *const name, int def)
std::map< int, std::string > mIcons
std::map< int, std::string > mPo
const bool SkipError_false
const bool SkipError_true
const bool UseVirtFs_true