Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

i18n.h

Go to the documentation of this file.
00001 
00010 #ifndef __I18N_H
00011 #define __I18N_H
00012 
00013 #include <stdio.h>
00014 
00015 const int I18nNumLanguages = 15;
00016 
00017 typedef const char *tI18nPhrase[I18nNumLanguages];
00018 
00019 void I18nRegister(const tI18nPhrase * const Phrases, const char *Plugin);
00020 
00021 const char *I18nTranslate(const char *s, const char *Plugin = NULL);
00022 
00023 const char * const * I18nLanguages(void);
00024 
00025 #ifdef PLUGIN_NAME_I18N
00026 #define tr(s)  I18nTranslate(s, PLUGIN_NAME_I18N)
00027 #else
00028 #define tr(s)  I18nTranslate(s)
00029 #endif
00030 
00031 #endif //__I18N_H
00032 

Generated on Wed Feb 5 23:30:09 2003 for VDR by doxygen1.3-rc2