Back to index

im-sdk  12.3.91
le_define.c
Go to the documentation of this file.
00001 #include "SunIM.h"
00002 
00003 #ifdef LE_ZH_CN
00004 
00005 char lename_string[] = "cle";
00006 UTFCHAR lename_utf_string[] = { 'c', 'l', 'e', 0 };
00007 
00008 UTFCHAR le_locale_name[] = { 0x7b80, 0x4f53, 0x4e2d, 0x872d, 0x0 };
00009 
00010 IMLocale locales[2] = { {"zh_CN", le_locale_name}, NULL };
00011 
00012 #else                       /* LE_ZH_CN */
00013 
00014 #ifdef LE_ZH_TW
00015 
00016 char lename_string[] = "twle";
00017 UTFCHAR lename_utf_string[] = { 't', 'w', 'l', 'e', 0 };
00018 
00019 UTFCHAR le_locale_name[] = { 0x7b80, 0x4f53, 0x4e2d, 0x872d, 0x0 };
00020 
00021 IMLocale locales[3] = { {"zh_TW", le_locale_name},
00022 /*
00023                      {"zh_HK", le_locale_name},
00024 */
00025 NULL
00026 };
00027 
00028 #else                       /* LE_ZH_TW */
00029 
00030 char lename_string[] = "hkle";
00031 UTFCHAR lename_utf_string[] = { 'h', 'k', 'l', 'e', 0 };
00032 
00033 UTFCHAR le_locale_name[] = { 0x7b80, 0x4f53, 0x4e2d, 0x872d, 0x0 };
00034 
00035 IMLocale locales[3] = { {"zh_HK", le_locale_name},
00036 NULL
00037 };
00038 
00039 #endif                      /* LE_ZH_TW  */
00040 #endif                      /* LE_ZH_CN */