diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-03 15:53:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-05 22:53:59 +0300 |
commit | bf435a79408d89072f5872ab98449949a8a077b0 (patch) | |
tree | e50bddcd239de2756780691cabf8779dd5efcc12 /src/utils/xml.h | |
parent | 42990fcd0a9f662eea267097e88b68b9c30da457 (diff) | |
download | plus-bf435a79408d89072f5872ab98449949a8a077b0.tar.gz plus-bf435a79408d89072f5872ab98449949a8a077b0.tar.bz2 plus-bf435a79408d89072f5872ab98449949a8a077b0.tar.xz plus-bf435a79408d89072f5872ab98449949a8a077b0.zip |
Add own translation system.
Diffstat (limited to 'src/utils/xml.h')
-rw-r--r-- | src/utils/xml.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/xml.h b/src/utils/xml.h index f623fa618..eb5ee88b0 100644 --- a/src/utils/xml.h +++ b/src/utils/xml.h @@ -92,6 +92,12 @@ namespace XML const std::string &def); /** + * Gets a translated string property from an XmlNodePtr. + */ + std::string langProperty(XmlNodePtr node, const char *name, + const std::string &def); + + /** * Gets a boolean property from an XmlNodePtr. */ bool getBoolProperty(XmlNodePtr node, const char *name, bool def); |