diff options
Diffstat (limited to 'src/gtrans/gtrans.h')
-rw-r--r-- | src/gtrans/gtrans.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gtrans/gtrans.h b/src/gtrans/gtrans.h index c46b5b28..f09d90e1 100644 --- a/src/gtrans/gtrans.h +++ b/src/gtrans/gtrans.h @@ -22,11 +22,19 @@ #if GFX_USE_GTRANS || defined(__DOXYGEN__) +typedef struct transTable { + unsigned numEntries; + const char** strings; +} transTable; + #ifdef __cplusplus extern "C" { #endif - +const char* gtransString(const char* string); +const char* gtransIndex(unsigned index); +void gtransSetBaseLanguage(const transTable* const translation); +void gtransSetLanguage(const transTable* const translation); #ifdef __cplusplus } |