summaryrefslogtreecommitdiffstats
path: root/gettextfromc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gettextfromc.h')
-rw-r--r--gettextfromc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gettextfromc.h b/gettextfromc.h
new file mode 100644
index 000000000..3852709c9
--- /dev/null
+++ b/gettextfromc.h
@@ -0,0 +1,15 @@
+#ifndef GETTEXT_H
+#define GETTEXT_H
+
+
+extern "C" const char *gettext(const char *text);
+
+class gettextFromC
+{
+Q_DECLARE_TR_FUNCTIONS(gettextFromC)
+public:
+ static gettextFromC *instance();
+ char *gettext(const char *text);
+};
+
+#endif // GETTEXT_H