summaryrefslogtreecommitdiff
path: root/src/resources/db/textdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-06 01:31:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-06 01:31:12 +0300
commitd4e28aa97cbce34a0053d3c02cf070ef9065439f (patch)
tree8e7300771b93caeed5faefbe709bd0720766e755 /src/resources/db/textdb.h
parentbe163616712f8c360af9b3940969c7f127043dc0 (diff)
downloadplus-d4e28aa97cbce34a0053d3c02cf070ef9065439f.tar.gz
plus-d4e28aa97cbce34a0053d3c02cf070ef9065439f.tar.bz2
plus-d4e28aa97cbce34a0053d3c02cf070ef9065439f.tar.xz
plus-d4e28aa97cbce34a0053d3c02cf070ef9065439f.zip
Add quick messages with translation from current server language to default.
For use it open emotes/fonts in chat and select T tab.
Diffstat (limited to 'src/resources/db/textdb.h')
-rw-r--r--src/resources/db/textdb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/resources/db/textdb.h b/src/resources/db/textdb.h
index 977b49ec6..c61bb0c7a 100644
--- a/src/resources/db/textdb.h
+++ b/src/resources/db/textdb.h
@@ -23,7 +23,7 @@
#include "enums/simpletypes/skiperror.h"
-#include <string>
+#include "utils/stringvector.h"
#include "localconsts.h"
@@ -34,6 +34,10 @@ namespace TextDb
void loadXmlFile(const std::string &fileName,
const SkipError skipError);
+ std::string getByIndex(const int index);
+
+ const StringVect &getTexts();
+
void unload();
} // namespace LanguageDB