summaryrefslogtreecommitdiff
path: root/library/localization.h
diff options
context:
space:
mode:
Diffstat (limited to 'library/localization.h')
-rw-r--r--library/localization.h56
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
bgstack15