00001 #ifndef MYTHTRANSLATION_H_
00002 #define MYTHTRANSLATION_H_
00003
00004 #include <QTranslator>
00005 #include <QString>
00006 #include <QMap>
00007
00008 #include "mythbaseexp.h"
00009
00010 class MBASE_PUBLIC MythTranslation
00011 {
00012
00013 public:
00014 static QMap<QString, QString> getLanguages(void);
00015
00019 static void load(const QString &module_name);
00020
00023 static void unload(const QString &module_name);
00024
00028 static void reload();
00029
00030 static bool LanguageChanged(void);
00031
00032 protected:
00033 static class MythTranslationPrivate d;
00034 };
00035
00036 #endif