summaryrefslogtreecommitdiff
path: root/L10nLoader.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2020-06-02 20:44:28 +0200
committerChristoph Berg <myon@debian.org>2020-06-02 20:44:28 +0200
commit5c05cfa3903d8a71d77f4b3dc1d2d0c7a043c6d6 (patch)
treeb6617065dc8e840bccb26a72d22d945353a8f064 /L10nLoader.hpp
parent458b033b8ae7818d50e80f51b12c0c43bbd0d3e2 (diff)
New upstream version 2.2.0+repackupstream/2.2.0+repack
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