Back to index

im-sdk  12.3.91
hangul.h
Go to the documentation of this file.
00001 #ifndef __HANGUL_H__
00002 #define __HANGUL_H__
00003 
00004 #include <IMProtocolStruct.h>
00005 
00006 #define CHOSEONG_FILLER            0x115F
00007 #define JUNGSEONG_FILLER    0x1160
00008 #define JONGSEONG_FILLER    0x11A7
00009 
00010 #define IS_VALID_CHOSEONG(LC)      (((LC) >= 0x1100) && ((LC) <= 0x1159))
00011 #define IS_VALID_JUNGSEONG(IV)     (((IV) >= 0x1161) && ((IV) <= 0x11a2))
00012 #define IS_VALID_JONGSEONG(TC)     (((TC) >= 0x11a7) && ((TC) <= 0x11f9))
00013 
00014 UTFCHAR hangul_combining_chosung_to_compatibility_jamo (UTFCHAR ch);
00015 UTFCHAR hangul_combining_jungsung_to_compatibility_moeum (UTFCHAR ch);
00016 UTFCHAR hangul_combining_jongsung_to_compatibility_jaeum (UTFCHAR ch);
00017 UTFCHAR hangul_combining_chosung_to_combining_jongsung (UTFCHAR jaeum_choseong);
00018 UTFCHAR hangul_combining_jongsung_to_combining_chosung (UTFCHAR jongsung);
00019 void    hangul_jongseong_decompose (UTFCHAR ch, UTFCHAR* jong, UTFCHAR* cho);
00020 
00021 #endif /* __HANGUL_H__ */