diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:00:50 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:00:50 +0200 |
commit | 4ecfd41e36533d858c98d051ef70cab80e69e972 (patch) | |
tree | ca07d8745967d2c6a7123a5d32269cfbfaa7bd6c /library/localization.h | |
parent | 2.2 (diff) | |
download | FreeFileSync-4ecfd41e36533d858c98d051ef70cab80e69e972.tar.gz FreeFileSync-4ecfd41e36533d858c98d051ef70cab80e69e972.tar.bz2 FreeFileSync-4ecfd41e36533d858c98d051ef70cab80e69e972.zip |
2.3
Diffstat (limited to 'library/localization.h')
-rw-r--r-- | library/localization.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/library/localization.h b/library/localization.h deleted file mode 100644 index 7a63fd9c..00000000 --- a/library/localization.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef MISC_H_INCLUDED -#define MISC_H_INCLUDED - -#include <wx/intl.h> -#include <wx/bitmap.h> -#include <vector> - -class Translation; - - -namespace FreeFileSync -{ - struct LocInfoLine - { - int languageID; - wxString languageName; - std::string languageFile; - wxString translatorName; - wxBitmap* languageFlag; - }; - - - class LocalizationInfo - { - public: - static const std::vector<LocInfoLine>& getMapping(); - - private: - LocalizationInfo(); - - std::vector<LocInfoLine> locMapping; - }; - - - 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; - - private: - Translation* translationDB; - int currentLanguage; - }; -} - -#endif // MISC_H_INCLUDED |