blob: cf29d06de257df84d4068247d8b83e8fe945e8cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef MISC_H_INCLUDED
#define MISC_H_INCLUDED
#include <wx/intl.h>
class Translation;
class CustomLocale : public wxLocale
{
public:
CustomLocale();
~CustomLocale();
void setLanguage(const int language);
int getLanguage() const
{
return currentLanguage;
}
const wxChar* GetString(const wxChar* szOrigString, const wxChar* szDomain = NULL) const;
static const std::string FfsLanguageDat;
private:
Translation* translationDB;
int currentLanguage;
};
#endif // MISC_H_INCLUDED
|