summaryrefslogtreecommitdiff
path: root/development/translation/shared/opie.h
Side-by-side diff
Diffstat (limited to 'development/translation/shared/opie.h') (more/less context) (ignore whitespace changes)
-rw-r--r--development/translation/shared/opie.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/development/translation/shared/opie.h b/development/translation/shared/opie.h
new file mode 100644
index 0000000..4646bb0
--- a/dev/null
+++ b/development/translation/shared/opie.h
@@ -0,0 +1,21 @@
+#ifndef OPIE_H
+#define OPIE_H
+
+#include <qstring.h>
+#include <qstringlist.h>
+
+class OPIE {
+public:
+ static OPIE* self();
+ /** get the list of languages */
+ QStringList languageList(const QString& opiedir = QString::null)const;
+ QString opieDir(const QString& opieDir)const;
+
+private:
+ OPIE();
+ ~OPIE();
+ static OPIE* m_self;
+
+};
+
+#endif