subsurface/gettextfromc.h
Dirk Hohndel 4d3e74a236 Trying to switch to Qt translation
This compiles and looks about right, but it doesn't appear to work, yet.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-10-06 10:42:32 -07:00

15 lines
247 B
C++

#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