summaryrefslogtreecommitdiff
path: root/L10nLoader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'L10nLoader.hpp')
-rw-r--r--L10nLoader.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/L10nLoader.hpp b/L10nLoader.hpp
new file mode 100644
index 00000000..aecdb20e
--- /dev/null
+++ b/L10nLoader.hpp
@@ -0,0 +1,21 @@
+#ifndef WSJTX_L10N_LOADER_HPP__
+#define WSJTX_L10N_LOADER_HPP__
+
+#include <QString>
+#include "pimpl_h.hpp"
+
+class QApplication;
+class QLocale;
+
+class L10nLoader final
+{
+public:
+ explicit L10nLoader (QApplication *, QLocale const&, QString const& language_override = QString {});
+ ~L10nLoader ();
+
+private:
+ class impl;
+ pimpl<impl> m_;
+};
+
+#endif