summaryrefslogtreecommitdiffstats
path: root/gettextfromc.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-06 10:57:16 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-06 10:57:16 -0700
commitb3490213f42ed63bc4b05b37bcfc12809f2d432c (patch)
treed56ede6f1ea8d20c2120eba2b9ca705927a77913 /gettextfromc.h
parent92d8978ab4ad980397883b50d0e7bc81d2bf5f73 (diff)
parent70352c3962cf3b4379590326cdc489ac0543f7e9 (diff)
downloadsubsurface-b3490213f42ed63bc4b05b37bcfc12809f2d432c.tar.gz
Merge branch 'glib-removal-hack'
Fix obvious merge issue in Rules.mk Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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