59 #if defined( MBG_TGT_NETWARE ) 61 #elif defined( MBG_TGT_OS2 ) 63 #elif defined( MBG_TGT_WIN32 ) 65 #elif defined( MBG_TGT_LINUX ) 67 #elif defined( MBG_TGT_DOS ) 85 #if defined( _USE_PACK ) 86 #pragma pack( 1 ) // set byte alignment 87 #define _USING_BYTE_ALIGNMENT 101 #if !defined LNG_DEFINED 138 #define CTRY_GERMANY 49 164 #define DT_SEP_DOT '.' 165 #define DT_SEP_MINUS '-' 166 #define DT_SEP_SLASH '/' 169 #define DT_SEP_LIST { DT_SEP_DOT, DT_SEP_MINUS, DT_SEP_SLASH, 0 } 173 #define TM_SEP_COLON ':' 174 #define TM_SEP_DOT '.' 177 #define TM_SEP_LIST { TM_SEP_COLON, TM_SEP_DOT, 0 } 179 #endif // CTRY_DEFINED 186 #define _ctry_init() \ 187 ctry_setup( ctry_get_code() ) 190 #define _next_language() \ 192 if ( ++language >= N_LNG ) \ 199 #define _lstr( _s ) lstr_lng( (_s), language ) 202 #define _clstr( _s ) clstr_lng( language, _s ) 205 #if defined( __WXWINDOWS__ ) 206 #define _wx_lstr( _s ) wxString::From8BitData( lstr_lng( (_s), language ) ) 207 #define _wx_clstr( _s ) wxString::From8BitData( clstr_lng( language, _s ) ) 218 const char *
lstr_lng( CLSTR s,
int lng ) ;
221 const char *
clstr_lng(
int index, ... ) ;
230 #if defined( _USING_BYTE_ALIGNMENT ) 231 #pragma pack() // set default alignment 232 #undef _USING_BYTE_ALIGNMENT
const char *const CLSTR[N_LNG]
int lstr_array_idx(CLSTR s, int idx, int n_lng, int lng)
void ctry_setup(CTRY_CODE code)
const char * lstr_lng(CLSTR s, int lng)
const char * clstr_lng(int index,...)
int lstr_idx(CLSTR s, int lng)
const char *const * PCLSTR