From 7d26252056dafbbacd240067aa2095b0485a1f0f Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 8 Apr 2013 19:32:04 +0900 Subject: [PATCH] Remove generated html directory Change-Id: Id5d8678fca20491b59f5573a9b44377a9379dba2 --- doc/html/bc_s.png | Bin 677 -> 0 bytes doc/html/closed.png | Bin 126 -> 0 bytes doc/html/deprecated.html | 68 - doc/html/dir_74e344cbec9860085ddf79a94754a2b6.html | 78 -- doc/html/dirs.html | 67 - doc/html/doxygen.css | 949 -------------- doc/html/doxygen.png | Bin 3942 -> 0 bytes doc/html/files.html | 76 -- doc/html/globals.html | 219 ---- doc/html/globals_func.html | 219 ---- doc/html/group__hangulctype.html | 619 --------- doc/html/group__hangulic.html | 621 --------- doc/html/group__hangulkeyboards.html | 1355 -------------------- doc/html/group__hanjadictionary.html | 630 --------- doc/html/hangul_8h-source.html | 185 --- doc/html/hangul_8h_source.html | 238 ---- doc/html/hangulctype_8c.html | 176 --- doc/html/hangulinputcontext_8c.html | 173 --- doc/html/hanja_8c.html | 144 --- doc/html/index.html | 90 -- doc/html/modules.html | 70 - doc/html/nav_f.png | Bin 159 -> 0 bytes doc/html/nav_h.png | Bin 97 -> 0 bytes doc/html/open.png | Bin 118 -> 0 bytes doc/html/pages.html | 68 - doc/html/tab_a.png | Bin 140 -> 0 bytes doc/html/tab_b.gif | Bin 35 -> 0 bytes doc/html/tab_b.png | Bin 178 -> 0 bytes doc/html/tab_h.png | Bin 192 -> 0 bytes doc/html/tab_l.gif | Bin 706 -> 0 bytes doc/html/tab_r.gif | Bin 2585 -> 0 bytes doc/html/tab_s.png | Bin 189 -> 0 bytes doc/html/tabs.css | 59 - 33 files changed, 6104 deletions(-) delete mode 100644 doc/html/bc_s.png delete mode 100644 doc/html/closed.png delete mode 100644 doc/html/deprecated.html delete mode 100644 doc/html/dir_74e344cbec9860085ddf79a94754a2b6.html delete mode 100644 doc/html/dirs.html delete mode 100644 doc/html/doxygen.css delete mode 100644 doc/html/doxygen.png delete mode 100644 doc/html/files.html delete mode 100644 doc/html/globals.html delete mode 100644 doc/html/globals_func.html delete mode 100644 doc/html/group__hangulctype.html delete mode 100644 doc/html/group__hangulic.html delete mode 100644 doc/html/group__hangulkeyboards.html delete mode 100644 doc/html/group__hanjadictionary.html delete mode 100644 doc/html/hangul_8h-source.html delete mode 100644 doc/html/hangul_8h_source.html delete mode 100644 doc/html/hangulctype_8c.html delete mode 100644 doc/html/hangulinputcontext_8c.html delete mode 100644 doc/html/hanja_8c.html delete mode 100644 doc/html/index.html delete mode 100644 doc/html/modules.html delete mode 100644 doc/html/nav_f.png delete mode 100644 doc/html/nav_h.png delete mode 100644 doc/html/open.png delete mode 100644 doc/html/pages.html delete mode 100644 doc/html/tab_a.png delete mode 100644 doc/html/tab_b.gif delete mode 100644 doc/html/tab_b.png delete mode 100644 doc/html/tab_h.png delete mode 100644 doc/html/tab_l.gif delete mode 100644 doc/html/tab_r.gif delete mode 100644 doc/html/tab_s.png delete mode 100644 doc/html/tabs.css diff --git a/doc/html/bc_s.png b/doc/html/bc_s.png deleted file mode 100644 index e4018628b5b45cb4301037485a29d7d74ac22138..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 677 zcmV;W0$TlvP)X?0Pv5h+5!wElpi=&YL!gfY!djl#UDdPKy97F|A-deTa@qo3BWh1YQIvzmHR^g zFjV4I6pLB7_*vEZk^%p7c7Bh>0`4r^X#gpJE_Vz9fSHKqclcZaV^k3gX%h+1`u||O zZ+BY?7(R=ayr^kXE=E0Dw=$Ud3VJ?9^Cz@hP?388Cw5>9TloOJ>^KczCgj zns2=|0!a|)Yq3{hjL{xyy7|Tk0N}Pe+g9PUTL!4{#;eUhrNd@!_T<>Vu+35c)h>sq ztgb?(6W3oFLz#%?OMEV@{j#4LuDvjVGZ~6hpQT8li5b0yjvK8c4efl+vSz5)P6 zle78)00_Iv5)&E~hnOdcd}L}i+MU>k+Q8#@KjqJJN`gRj(~)RmNrck9ht@LelPtVO zwp(J;k!T=gC#%o(13-^E+g@aqc()pf{+j|0w)AH*Mq$54UjLv#jV$RYpz3Vjg$$=u z>yjfBQOhL=^@+#4#$l|{~}HZ-?1Yy{lI*$N}*YDC`<{+;>_#gMXZdz4NI00000 LNkvXXu0mjfx86dR diff --git a/doc/html/closed.png b/doc/html/closed.png deleted file mode 100644 index b7d4bd9fef2272c74b94762c9e2496177017775e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 126 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{VuAVNAAr*{o?>h22DDp4|bgj*t z)u^AqcA-V@guRYpb17F<&b?_~8HV>~XqWvB;^$!VVSTy0!eQcJp_yD7TIQA>7dijs YXf6~H5cs^Q6KEiVr>mdKI;Vst0NsWqGynhq diff --git a/doc/html/deprecated.html b/doc/html/deprecated.html deleted file mode 100644 index babb3d4..0000000 --- a/doc/html/deprecated.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - -libhangul: 잘못된 코드 목록 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - -
-
-
-
잘못된 코드 목록
-
-
-
-
전역 hangul_syllable_to_jaso (ucschar syllable, ucschar *choseong, ucschar *jungseong, ucschar *jongseong)
-
이 함수 대신 hangul_syllable_to_jamo함수를 사용한다.
-
-
- - - - - - diff --git a/doc/html/dir_74e344cbec9860085ddf79a94754a2b6.html b/doc/html/dir_74e344cbec9860085ddf79a94754a2b6.html deleted file mode 100644 index 9f5ed4b..0000000 --- a/doc/html/dir_74e344cbec9860085ddf79a94754a2b6.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - -libhangul: /home/krisna/work/libhangul/doc/hangul/ 디렉토리 참조 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - - -
-
-
-
hangul 디렉토리 참조
-
-
- - - - - - -

-파일들

파일  hangul.h [코드]
파일  hangulctype.c
파일  hangulinputcontext.c
파일  hanja.c
-
- - - - - - - diff --git a/doc/html/dirs.html b/doc/html/dirs.html deleted file mode 100644 index c78be25..0000000 --- a/doc/html/dirs.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - -libhangul: 디렉토리 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - -
-
-
-
디렉토리
-
-
-
이 디렉토리 목록은 완전하진 않지만, (대략적으로) 알파벳순으로 정렬되어있습니다.:
-
- - - - - - diff --git a/doc/html/doxygen.css b/doc/html/doxygen.css deleted file mode 100644 index 09c099d..0000000 --- a/doc/html/doxygen.css +++ /dev/null @@ -1,949 +0,0 @@ -/* The standard CSS for doxygen */ - -body, table, div, p, dl { - font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; - font-size: 13px; - line-height: 1.5; -} - -/* @group Heading Levels */ - -h1 { - font-size: 150%; -} - -.title { - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2 { - font-size: 120%; -} - -h3 { - font-size: 100%; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd, p.starttd { - margin-top: 2px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code { - color: #4665A2; -} - -a.codeRef { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -.fragment { - font-family: monospace, fixed; - font-size: 105%; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 8px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memItemLeft, .memItemRight, .memTemplParams { - border-top: 1px solid #C4CFE5; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; -} - -.memname { - white-space: nowrap; - font-weight: bold; - margin-left: 6px; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 8px; - border-top-left-radius: 8px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 8px; - -moz-border-radius-topleft: 8px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 8px; - -webkit-border-top-left-radius: 8px; - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 2px 5px; - background-color: #FBFCFD; - border-top-width: 0; - /* opera specific markup */ - border-bottom-left-radius: 8px; - border-bottom-right-radius: 8px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 8px; - -moz-border-radius-bottomright: 8px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 60%, #F7F8FB 95%, #EEF1F7); - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 8px; - -webkit-border-bottom-right-radius: 8px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.6,#FFFFFF), color-stop(0.60,#FFFFFF), color-stop(0.95,#F7F8FB), to(#EEF1F7)); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} - -.params, .retval, .exception, .tparams { - border-spacing: 6px 2px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - - - - -/* @end */ - -/* @group Directory (tree) */ - -/* for the tree view */ - -.ftvtree { - font-family: sans-serif; - margin: 0px; -} - -/* these are for tree view when used as main index */ - -.directory { - font-size: 9pt; - font-weight: bold; - margin: 5px; -} - -.directory h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -/* -The following two styles can be used to replace the root node title -with an image of your choice. Simply uncomment the next two styles, -specify the name of your image and be sure to set 'height' to the -proper pixel height of your image. -*/ - -/* -.directory h3.swap { - height: 61px; - background-repeat: no-repeat; - background-image: url("yourimage.gif"); -} -.directory h3.swap span { - display: none; -} -*/ - -.directory > h3 { - margin-top: 0; -} - -.directory p { - margin: 0px; - white-space: nowrap; -} - -.directory div { - display: none; - margin: 0px; -} - -.directory img { - vertical-align: -30%; -} - -/* these are for tree view when not used as main index */ - -.directory-alt { - font-size: 100%; - font-weight: bold; -} - -.directory-alt h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -.directory-alt > h3 { - margin-top: 0; -} - -.directory-alt p { - margin: 0px; - white-space: nowrap; -} - -.directory-alt div { - display: none; - margin: 0px; -} - -.directory-alt img { - vertical-align: -30%; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable { - border-collapse:collapse; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; -} - -table.fieldtable { - width: 100%; - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - width: 100%; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -div.ingroups -{ - margin-left: 5px; - font-size: 8pt; - padding-left: 5px; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 7px; -} - -dl -{ - padding: 0 0 0 10px; -} - -dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug -{ - border-left:4px solid; - padding: 0 0 0 6px; -} - -dl.note -{ - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - border-color: #00D000; -} - -dl.deprecated -{ - border-color: #505050; -} - -dl.todo -{ - border-color: #00C0E0; -} - -dl.test -{ - border-color: #3030E0; -} - -dl.bug -{ - border-color: #C08050; -} - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } - pre.fragment - { - overflow: visible; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - } -} - diff --git a/doc/html/doxygen.png b/doc/html/doxygen.png deleted file mode 100644 index 635ed52fce7057ac24df92ec7664088a881fa5d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3942 zcmV-s51H_ZP)95ENDh(OT9xpYZC{M(=rqI* z+1erNEr&9zRjUI-4rN=4BBz>P@ys*xOjGRjzVE*Fx_qvyt9d@B@BO*&@8Mq!nM{Tc z_WoM84-~xLreSL9@vgZ{m2dF}`u=^ZF3syQ-s2tnBwCI3ZFvSfI20Wbj236~Urq*8Kfw@RKKfRQTgE>}uUHK^ptamY=o)LU(xy55zNQ(`qZ znZ&$O075mrrInIXQgw4%GCbMD8Vn`3n3$EaRwtP1D{A!Gs=e!L%3;ayv@I{rAw{xw z^x^>EIWQM8ob3m}$(BaupDMV;Ed8w5|i(*e`7rU$TOc&1o7`|!LyN5jHI z7uWAR!v4c2xMp?}QmRYyf>i}tYGU(g=>DW&==J@GbhR z5@BNVY3O$`^D%gk4khm9XpFhuwzxUhi9T=Du4rpVuYRSMPHeDqo+4htnZRU@G9`0& z9~p)CsFl1|t*wjfoTo&%davN^3RfJUhQ{ZZIAcD77X^XsF_iR&ZMQ;p>K5*+*48)x z+=<>nh+6Uq85jOkg>{z>a;+V`s(I;I%*5s+R@9a^wNoZ03(g9-EcH%uHvX&yp7`D#`9Kw>DU3s zjD-VuW_A-K)unlS4O3f>_B%pPONUmI#oyL};Lglp3=04>0eBBEw$D1k-$WTsoi#K* z$7h`NcyRZsZ#w~6I<%~u!^xDofYrzF>zVIj2N>Ijs`mVR(Oy&*9f}<{JtQj8jJT!oEc!NQXBq5y|6ET*N?7ox*E6#{i- z@_DLD^IYTtg|Pg?A~!7@OCd8p^)kxK%VBM84docx$Z{MvO)iiqep@or-N}TEU8$%; zJih?#yJ9)V1s_`}c3XbY9V}nEKwNz8ILmR|v)(w|D@oVG;=i`+$*)!(xH{9#$2Za;pyZ1wgU#)mHl|&8%iwu%yncO z`T32Ib0$D}j`c}}5M@M#7oR&G=QwU!!Ja*P7|NJt1@lo=d{_dY-q_lmDcH7{BHncF zR@^PmcLC6EsN?6N{fV3o8}>?h9X_@;=&-p7%tms7$_{3w(anwek_k&<&)~c$Ar?S> zy9gKavndTmxqAbE?SMgcWhXPENdKdz7ntt55Y3Hs3jjc~uR-#$tR(1a_abv9`-QzG z^J0Fsbd&yruq%xAsxf3rc=T}$Zx|AD%x{Fd=? z{qhl3kG5w-PqVK9-Gru%7UIEw)bt$ZMF|Z6HpmO)F%@GNT8yT|#FuWPxv@@Ic={;6 zU7)e!XG|1dx=kU|&|)+m+$&|Yw92Fa;*MnegXcCf8XsHfqg_F5t)3Jt8)EkXKuY21 zqt%4}@R8hK*(_JO0*H+Pa)6Pp&K49rKNeQEYb*x9WY`!`Vh3|80YF%I`lxv9_!$hD zOh$>zWaRIW!);6`vA$Zp;5lnGyX^^N%YEjCeJMHPolKCE1ttIqK<$0w&LcE8)`_c2 z^H^qf6ACV0t7FLLCsu#mL&Mb8gE@rZE#k+1Nrrxw+{N0^#bN*~!qt2>S4e#jC$a$` ze4@{)$aTEYq_!#2|t@Fj3e?w-XVuG$Z}kAR?_kgJAlZIJ)0{eHw#fybNooA zp02jyYVc&w!}m#BVP>ef2|U^J(A-#O1R#A&><*?Y! zOwml{CnE+aU3JfKE@uzge(qMY{^6siuXFt;+mMbapU;Ppejl=L#>s2#SMBbfP9AFT znEVA=TBtZ6d-GfF>kOxylg>Ek%qTp*h2ze!^^hOsmKOEE6b;maQ>~R>3#z`Zawbik z88OTykU3_!Atg^+vnM=1n}?%<$dHzn)?k&T#RWwb+*y;XNQbYNHKo3wr~&}Qa$id; z6^D*K9RTQZUuQVg)g~P%!BIiv+cXllt)KEP9IN)1udQKf>p|~lXj7K<-9}0Q%i9+K zXaF7qXclE>sf)7)J4_M%V{;(sFT7HN$o0#_qU#Ah1D{ zon=JihPcgG5xHuvQwOXBkt3(iUdx{6Gn|aa>@C9Cqg%rPK(+REZ4>6t3z7m@Aj;0l zSHh&%cKSJ*+WOJGwe?Y7d(9RAy)&NVS6uj}1m@U}jXH3oVQT9E0A)$ZDRdK>;_i;+ z7vbEoI7$1XK6vNxT(_sJ(GM4s92e;gB&Q zDO;(Ve^%gPG&lWW1fUf_=9-Q1%&`s%aD^o`Q2u`WI9V>Qm#D5?SW<)Njmt@aR5@6( zL4cdTo+Jg@>Brm1^_gf%0Z?}1AppR3NdFE5uzdpBZz;{Thd6SI-$gb2}pFAww$*j(2=s{mdz2E;lBvVcrN@}i2bC`Q5Y_;BID^f0J+ACVhyQsLg0@`okIk+i=LJ=3yvI*oASj62 za3C{Pu_fQ+atw!zN{$Shr*_UV=|jp4#CqWeGE?Jb`pq!|5bDES&-Ix=-N>DpydHqW z+-{QS+i)d;uGS)M%Suw9khR}3N82j|S{a#&Tctme0s%mTy<1S|;@M-+S4#o@!qr;r z+w(n=;@43Y_n#dI0Gb(T0{G7k-KY8k`MPM_Bss$?)SK){KJMrwv!vz42_U_Za zX7lDqiU8ZvCAfGpAtfVC5bQrYa4C)M9G$S4D&VqpJ8)lm$t5FAAR%ywf>*~VaivC70RVFXISv4Lx&tk^Cf1)qQ|rxp z*8H>)cgoM;(eKxH14u~~@JopNr9@A z#-yXVG?$es;EPqsn-j?45^L52U=nT#0A^T3JY$&B3EH&%2UHdv3P=_3$!n76!34ks zz^2ii@sXAu8LKYMmG=_^*qtiiOFNlG3?QYtG%wrCZh|)vlj8vq3sw~f1b8;_TMB>z zPSyDQy_9bbXD*#sNRGMzfSAwUD}ASX;ZGQcGdE=9q~ORU{v$}=z2Bc8EOe2S&);jS zCZB8P`hPoV1NBk)TQP2z{q$NL-GLUc7%>&fecE^E{I5gs?8!qTK7VgR7Z?}-`YG|z zVN-NvOlQ+B;~J*69_Xd1n-0MLKTY6&*%rTi*0^HXniz8{bCMsVpSXqs(GGO)*_#Kz z9YBCQ_VRhtwhMfppMh@OdxjCN0mH`5hKZr>UoxMx`W~u^kD&bskplglOiRxQvep*2 z0mk+kMP>J)K`8X3`6Zq|X~5IQ-_rrOn+_WvU{1Gs{ow1-Eb;K(Z?p$@ugXpr^?PM( z(5Hv;$*X=QZaqG_4q)N1v9sO(Dsei!;%IcIztt6YUs{yj z^77e`UYa^%<-Ts+d*b=ihKt?0_sj!ePNO@K*PGmGD*v^;rRAkduikx~UNk=@{XKeV zp_ir(dTaGVWBr{_02Kg2Xmlsn|IvIIRYivbo|L{yx}yX5Bte@P6C>1KyqvYnT{boB#j-07*qoM6N<$f^XQQ A+yDRo diff --git a/doc/html/files.html b/doc/html/files.html deleted file mode 100644 index 547094f..0000000 --- a/doc/html/files.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - -libhangul: 파일 목록 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - - -
-
-
-
파일 목록
-
-
-
다음은 문서화된 모든 파일에 대한 목록입니다. (간략한 설명만을 보여줍니다) :
- - - - -
hangul.h [코드]
hangulctype.c
hangulinputcontext.c
hanja.c
-
- - - - - - diff --git a/doc/html/globals.html b/doc/html/globals.html deleted file mode 100644 index 1dfca48..0000000 --- a/doc/html/globals.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - -libhangul: 전역 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - - - - -
-
-
다음은 문서화된 모든 함수, 변수, 매크로, 열거형, 타입정의들의 목록입니다. 각 항목은 그들에 대한 문서화 페이지의 링크를 가지고 있습니다. :
- -

- h -

-
- - - - - - diff --git a/doc/html/globals_func.html b/doc/html/globals_func.html deleted file mode 100644 index feac62e..0000000 --- a/doc/html/globals_func.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - -libhangul: 전역 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - - - - -
-
-  - -

- h -

-
- - - - - - diff --git a/doc/html/group__hangulctype.html b/doc/html/group__hangulctype.html deleted file mode 100644 index 8c290fe..0000000 --- a/doc/html/group__hangulctype.html +++ /dev/null @@ -1,619 +0,0 @@ - - - - - -libhangul: 한글 글자 조작 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - -
-
- -
-
한글 글자 조작
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-타입정의

typedef uint32_t ucschar
 UCS4 코드 단위의 글자 코드 값

-함수

bool hangul_is_choseong (ucschar c)
 ì´ˆì„±ì¸ì§€ 확인하는 함수
bool hangul_is_jungseong (ucschar c)
 ì¤‘성인지 확인하는 함수
bool hangul_is_jongseong (ucschar c)
 ì¢…성인지 확인하는 함수
-bool hangul_is_choseong_conjoinable (ucschar c)
 ì´ˆì„±ì´ê³  조합 가능한지 확인
-bool hangul_is_jungseong_conjoinable (ucschar c)
 ì¤‘성이고 조합 가능한지 확인
-bool hangul_is_jongseong_conjoinable (ucschar c)
 ì¢…성이고 조합 가능한지 확인
bool hangul_is_syllable (ucschar c)
 í•œê¸€ 음절 인지 확
bool hangul_is_jamo (ucschar c)
 ìžëª¨ 인지 확인
bool hangul_is_cjamo (ucschar c)
 í˜¸í™˜ 자모인지 확인
ucschar hangul_jamo_to_cjamo (ucschar c)
 ìžëª¨ 코드를 대응하는 호환 자모로 변환
ucschar hangul_jamo_to_syllable (ucschar choseong, ucschar jungseong, ucschar jongseong)
 ìžëª¨ 코드를 조합하여 한글 음절로 변환
void hangul_syllable_to_jamo (ucschar syllable, ucschar *choseong, ucschar *jungseong, ucschar *jongseong)
 ìŒì ˆì„ 자모로 분해
int hangul_syllable_len (const ucschar *str, int max_len)
 í•œ 음절에 해당하는 코드의 갯수를 구하는 함수
const ucscharhangul_syllable_iterator_prev (const ucschar *iter, const ucschar *begin)
 iter를 기준으로 이전 음절의 첫자모 글자에 대한 포인터를 구하는 함수
const ucscharhangul_syllable_iterator_next (const ucschar *iter, const ucschar *end)
 iter를 기준으로 다음 음절의 첫자모 글자에 대한 포인터를 구하는 함수
int hangul_jamos_to_syllables (ucschar *dest, int destlen, const ucschar *src, int srclen)
 ìžëª¨ 스트링을 음절 스트링으로 변환
-

상세한 설명

-

-한글 글자 조작

-

libhangul은 한글 각 글자를 구분하고 조작하는데 사용할 수 있는 몇가지 함수를 제공한다. libhangul의 글자 구분 함수의 인터페이스에서 글자의 기본 단위는 UCS4 코드값이다.

-

타입정의 문서화

- -
-
- - - - -
ucschar
-
-
- -

UCS4 코드 단위의 글자 코드 값

-

UCS4 코드 값을 저장한다. libhangul에서 사용하는 문자열의 기본단위이다. preedit 문자열과 commit 문자열 모두 ucschar 포인터 형으로 전달된다. 이 스트링은 C 스트링과 유사하게 0으로 끝난다. 유니코드 값이 한글의 어떤 범주에 속하는지 확인하는 함수도 모두 ucschar 형을 사용한다.

- -
-
-

함수 문서화

- -
-
- - - - - - - - -
bool hangul_is_choseong (ucschar c)
-
-
- -

초성인지 확인하는 함수

-
매개변수:
- - -
cUCS4 코드 값
-
-
-
반환값:
c 가 초성에 해당하면 true를 리턴함, 아니면 false
-

c 로 주어진 UCS4 코드가 초성인지 확인한다. Unicode 5.2 지원

- -

다음에 의해서 참조됨 : hangul_is_jamo().

- -
-
- -
-
- - - - - - - - -
bool hangul_is_cjamo (ucschar c)
-
-
- -

호환 자모인지 확인

-
매개변수:
- - -
cUCS4 코드 값
-
-
-
반환값:
c가 호환자모이면 true, 그 외에는 false
-

이 함수는 c로 주어진 UCS4 코드가 호환 자모인지 확인한다.

- -
-
- -
-
- - - - - - - - -
bool hangul_is_jamo (ucschar c)
-
-
- -

자모 인지 확인

-
매개변수:
- - -
cUCS4 코드 값
-
-
-
반환값:
c 가 자모 코드이면 true를 리턴, 그외에는 false
-

c 로 주어진 UCS4 코드가 자모 코드인지 확인한다. Unicode 5.2 지원

- -

다음을 참조함 : hangul_is_choseong(), hangul_is_jongseong(), hangul_is_jungseong().

- -
-
- -
-
- - - - - - - - -
bool hangul_is_jongseong (ucschar c)
-
-
- -

종성인지 확인하는 함수

-
매개변수:
- - -
cUCS4 코드 값
-
-
-
반환값:
c 가 종성에 해당하면 true를 리턴함, 아니면 false
-

c 로 주어진 UCS4 코드가 종성인지 확인한다. Unicode 5.2 지원

- -

다음에 의해서 참조됨 : hangul_is_jamo().

- -
-
- -
-
- - - - - - - - -
bool hangul_is_jungseong (ucschar c)
-
-
- -

중성인지 확인하는 함수

-
매개변수:
- - -
cUCS4 코드 값
-
-
-
반환값:
c 가 중성에 해당하면 true를 리턴함, 아니면 false
-

c 로 주어진 UCS4 코드가 중성인지 확인한다. Unicode 5.2 지원

- -

다음에 의해서 참조됨 : hangul_is_jamo().

- -
-
- -
-
- - - - - - - - -
bool hangul_is_syllable (ucschar c)
-
-
- -

한글 음절 인지 확

-
매개변수:
- - -
cUCS4 코드 값
-
-
-
반환값:
c가 한글 음절 코드이면 true, 그 외에는 false
-

이 함수는 c로 주어진 UCS4 코드가 현대 한글 음절에 해당하는지 확인한다.

- -

다음에 의해서 참조됨 : hangul_syllable_to_jamo().

- -
-
- -
-
- - - - - - - - -
ucschar hangul_jamo_to_cjamo (ucschar c)
-
-
- -

자모 코드를 대응하는 호환 자모로 변환

-
매개변수:
- - -
c변환할 UCS4 코드 값
-
-
-
반환값:
c 에 대응되는 호환 자모 값, or c
-

이 함수는 c 로 주어진 자모 코드와 같은 형태를 가진 호환 자모 값을 리턴한다. 자모와 같은 형태를 가진 호환 자모가 없는 경우에는 c 의 값을 그대로 리턴한다.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
ucschar hangul_jamo_to_syllable (ucschar choseong,
ucschar jungseong,
ucschar jongseong 
)
-
-
- -

자모 코드를 조합하여 한글 음절로 변환

-
매개변수:
- - - - -
choseong초성이 될 UCS4 코드 값
jungseong중성이 될 UCS4 코드 값
jongseong종성이 될 UCS4 코드 값
-
-
-
반환값:
choseong jungseong jongseong을 조합한 현대 한글 음절 코드, 또는 0
-

이 함수는 choseong jungseong jongseong으로 주어진 코드 값을 각각 초성, 중성, 종성으로 하는 현대 한글 음절 코드를 구한다. choseong jungseong jongseong 이 조합 가능한 코드가 아니라면 0을 리턴한다. 종성이 없는 글자를 만들기 위해서는 jongseong에 0을 주면 된다.

- -

다음을 참조함 : hangul_is_choseong_conjoinable(), hangul_is_jongseong_conjoinable(), hangul_is_jungseong_conjoinable().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int hangul_jamos_to_syllables (ucschardest,
int destlen,
const ucscharsrc,
int srclen 
)
-
-
- -

자모 스트링을 음절 스트링으로 변환

-
매개변수:
- - - - - -
dest음절형으로 변환된 결과가 저장될 버퍼
destlen결과를 저장할 버퍼의 길이(ucschar 코드 단위)
src변환할 자모 스트링
srclen변환할 자모 스트링의 길이(ucschar 코드 단위)
-
-
-
반환값:
destlen 에 저장한 코드의 갯수
-

이 함수는 L+V+T*M? 패턴에 따라 자모 스트링 변환을 시도한다. 한 음절을 판단하는 기준은 hangul_syllable_len 을 참조한다. 만일 src 가 적절한 음절형태로 변환이 불가능한 경우에는 자모 스트링이 그대로 복사된다.

-

이 함수는 자모 스트링 src 를 음절형으로 변환하여 dest 에 저장한다. srclen 에 지정된 갯수만큼 읽고, destlen 에 지정된 길이 이상 쓰지 않는다. srclen 이 -1이라면 src 는 0으로 끝나는 스트링으로 가정하고 0을 제외한 길이까지 변환을 시도한다. 따라서 변환된 결과 스트링은 0으로 끝나지 않는다. 만일 0으로 끝나는 스트링을 만들고 싶다면 다음과 같이 한다.

-
 int n = hangul_jamos_to_syllables(dest, destlen, src, srclen);
- dest[n] = 0;
-
-

다음을 참조함 : hangul_syllable_len().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
const ucschar* hangul_syllable_iterator_next (const ucschariter,
const ucscharend 
)
-
-
- -

iter를 기준으로 다음 음절의 첫자모 글자에 대한 포인터를 구하는 함수

-
매개변수:
- - - -
iter현재 위치
end스트링의 끝위치, 포인터가 이동할 한계값
-
-
-
반환값:
다음 음절의 첫번째 자모에 대한 포인터
-

이 함수는 iter로 주어진 자모 스트링의 포인터를 기준으로 다음 음절의 첫번째 자모에 대한 포인터를 리턴한다. 음절을 찾기위해서 end를 넘어 이동하지 않는다.

-

한 음절이라고 판단하는 기준은 L*V*T+M? 패턴에 따른다.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
const ucschar* hangul_syllable_iterator_prev (const ucschariter,
const ucscharbegin 
)
-
-
- -

iter를 기준으로 이전 음절의 첫자모 글자에 대한 포인터를 구하는 함수

-
매개변수:
- - - -
iter현재 위치
begin스트링의 시작위치, 포인터가 이동할 한계값
-
-
-
반환값:
이전 음절의 첫번째 자모에 대한 포인터
-

이 함수는 iter로 주어진 자모 스트링의 포인터를 기준으로 이전 음절의 첫번째 자모에 대한 포인터를 리턴한다. 음절을 찾기위해서 begin보다 앞쪽으로 이동하지 않는다.

-

한 음절이라고 판단하는 기준은 L*V*T+M? 패턴에 따른다.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int hangul_syllable_len (const ucscharstr,
int max_len 
)
-
-
- -

한 음절에 해당하는 코드의 갯수를 구하는 함수

-
매개변수:
- - - -
str음절의 길이를 구할 스트링
max_lenstr 에서 읽을 길이의 제한값
-
-
-
반환값:
한 음절에 해당하는 코드의 갯수
-

이 함수는 str 에서 한 음절에 해당하는 코드의 갯수를 구한다. 한 음절에 해당하는 코드의 갯수가 max_len 보다 많다면 max_len 을 반환한다. 한 음절이라고 판단하는 기준은 L*V*T+ 패턴에 따른다. 이 패턴은 regular expression의 컨벤션을 따른 것으로, 1개 이상의 초성과 중성, 0개 이상의 종성이 모인 자모 스트링을 한 음절로 인식한다는 뜻이다. 예를 들면 다음과 같은 자모 스트링도 한 음절로 인식한다.

-

예) "ㅂ ㅂ ㅜ ㅔ ㄹ ㄱ" -> "쀍"

-

따라서 위 경우에는 6을 반환하게 된다.

-

일반적으로는 방점(U+302E, U+302F)까지 한 음절로 인식하겠지만, 이 함수는 음절과 자모간 변환을 편리하게 하기 위해 구현된 것으로 방점은 다른 음절로 인식한다.

-

str 이 자모 코드에 해당하지 않는 경우에는 1을 반환한다.

-

이 함수는 자모 스트링에서 총 음절의 갯수를 구하는 함수가 아님에 주의한다.

- -

다음에 의해서 참조됨 : hangul_jamos_to_syllables().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void hangul_syllable_to_jamo (ucschar syllable,
ucscharchoseong,
ucscharjungseong,
ucscharjongseong 
)
-
-
- -

음절을 자모로 분해

-
매개변수:
- - -
syllable분해할 음절
-
-
-
반환값:
- - - - -
choseong음절에서 초성 부분의 코드
jungseong음절에서 중성 부분의 코드
jongseong음절에서 종성 부분의 코드, 종성이 없으면 0을 반환한다
-
-
-
반환값:
없음
-

이 함수는 syllable 로 주어진 음절 코드를 분해하여 자모 코드를 반환한다. 반환하는 값은 choseong, jungseong, jongseong 의 포인터에 대입하여 리턴한다. 종성이 없는 음절인 경우에는 jongseong 에 0을 반환한다.

- -

다음을 참조함 : hangul_is_syllable().

- -

다음에 의해서 참조됨 : hangul_syllable_to_jaso().

- -
-
-
- - - - - - diff --git a/doc/html/group__hangulic.html b/doc/html/group__hangulic.html deleted file mode 100644 index 185eac0..0000000 --- a/doc/html/group__hangulic.html +++ /dev/null @@ -1,621 +0,0 @@ - - - - - -libhangul: 한글 입력 기능 구현 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - -
-
- -
-
한글 입력 기능 구현
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-타입정의

typedef struct _HangulInputContext HangulInputContext
 í•œê¸€ 입력 상태를 관리하기 위한 오브젝트

-함수

bool hangul_ic_process (HangulInputContext *hic, int ascii)
 í‚¤ 입력을 처리하여 실제로 한글 조합을 하는 함수
const ucscharhangul_ic_get_preedit_string (HangulInputContext *hic)
 í˜„재 상태의 preedit string을 구하는 함수
const ucscharhangul_ic_get_commit_string (HangulInputContext *hic)
 í˜„재 상태의 commit string을 구하는 함수
void hangul_ic_reset (HangulInputContext *hic)
 HangulInputContext 를 초기상태로 되돌리는 함수
const ucscharhangul_ic_flush (HangulInputContext *hic)
 HangulInputContext 의 입력 상태를 완료하는 함수
bool hangul_ic_backspace (HangulInputContext *hic)
 HangulInputContext 가 backspace 키를 처리하도록 하는 함수
bool hangul_ic_is_empty (HangulInputContext *hic)
 HangulInputContext 가 조합중인 글자를 가지고 있는지 확인하는 함수
bool hangul_ic_has_choseong (HangulInputContext *hic)
 HangulInputContext 가 조합중인 초성을 가지고 있는지 확인하는 함수
bool hangul_ic_has_jungseong (HangulInputContext *hic)
 HangulInputContext 가 조합중인 중성을 가지고 있는지 확인하는 함수
bool hangul_ic_has_jongseong (HangulInputContext *hic)
 HangulInputContext 가 조합중인 종성을 가지고 있는지 확인하는 함수
void hangul_ic_select_keyboard (HangulInputContext *hic, const char *id)
 HangulInputContext 의 자판 배열을 바꾸는 함수
HangulInputContexthangul_ic_new (const char *keyboard)
 HangulInputContext 오브젝트를 생성한다.
void hangul_ic_delete (HangulInputContext *hic)
 HangulInputContext 를 삭제하는 함수
bool hangul_ic_is_transliteration (HangulInputContext *hic)
 ì£¼ì–´ì§„ hic가 transliteration method인지 판별
-

상세한 설명

-

-Hangul Input Context의 사용법

-

이 섹션에서는 한글 입력 기능을 구현하는 핵심 기능에 대해 설명한다.

-

먼저 preedit string과 commit string 이 두 용어에 대해서 설멍하겠다. 이 두가지 용어는 Unix 계열의 입력기 framework에서 널리 쓰이는 표현이다.

-

preedit string은 아직 조합중으로 어플리케이션에 완전히 입력되지 않은 스트링을 가리킨다. 일반적으로 한글 입력기에서는 역상으로 보이고 일본 중국어 입력기에서는 underline이 붙어 나타난다. 아직 완성이 되지 않은 스트링이므로 어플리케이션에 전달이 되지 않고 사라질 수도 있다.

-

commit string은 조합이 완료되어 어플리케이션에 전달되는 스트링이다. 이 스트링은 실제 어플리케이션의 텍스트로 인식이 되므로 이 이후에는 더이상 입력기가 관리할 수 있는 데이터가 아니다.

-

한글 입력과정은 다음과 같은 과정을 거치게 된다. 입력된 영문 키를 그에 해댱하는 한글 자모로 변환한후 한글 자모를 모아 하나의 음절을 만든다. 여기까지 이루어지는 과정을 preedit string 형태로 사용자에게 계속 보이게 하는 것이 필요하다. 그리고는 한글 음절이 완성되고나면 그 글자를 어플리케이션에 commit string 형태로 보내여 입력을 완료하는 것이다. 다음 키를 받게 되면 이 과정을 반복해서 수행한다.

-

libhangul에서 한글 조합 기능은 HangulInputContext 를 이용해서 구현하게 되는데 기본 적인 방법은 HangulInputContext 에 사용자로부터의 입력을 순서대로 전달하면서 그 상태가 바뀜에 따라서 preedit 나 commit 스트링을 상황에 맞게 변화시키는 것이다.

-

입력 코드들은 GUI 코드와 밀접하게 붙어 있어서 키 이벤트를 받아서 처리하도록 구현하는 것이 보통이다. 그런데 유닉스에는 많은 입력 프레임웍들이 난립하고 있는 상황이어서 매 입력 프레임웍마다 한글 조합 루틴을 작성해서 넣는 것은 비효율적이다. 간단한 API를 구현하여 여러 프레임웍에서 바로 사용할 수 있도록 구현하는 편이 사용성이 높아지게 된다.

-

그래서 libhangul에서는 키 이벤트를 따로 재정의하지 않고 ASCII 코드를 직접 사용하는 방향으로 재정의된 데이터가 많지 않도록 하였다. 실제 사용 방법은 말로 설명하는 것보다 샘플 코드를 사용하는 편이 이해가 빠를 것이다. 그래서 대략적인 진행 과정을 샘플 코드로 작성하였다.

-

아래 예제는 실제로는 존재하지 않는 GUI 라이브러리 코드를 사용하였다. 실제 GUI 코드를 사용하면 코드가 너무 길어져서 설명이 어렵고 코드가 길어지면 핵심을 놓치기 쉽기 때문에 가공의 함수를 사용하였다. 또한 텍스트의 encoding conversion 관련된 부분도 생략하였다. 여기서 사용한 가공의 GUI 코드는 TWin으로 시작하게 하였다.

-
    HangulInputContext* hic = hangul_ic_new("2");
-    ...
-
-    // 아래는 키 입력만 처리하는 이벤트 루프이다.
-    // 실제 GUI코드는 이렇게 단순하진 않지만
-    // 편의상 키 입력만 처리하는 코드로 작성하였다.
-
-    TWinKeyEvent event = TWinGetKeyEvent(); // 키이벤트를 받는 이런 함수가
-                                            // 있다고 치자
-    while (ascii != 0) {
-        bool res;
-        if (event.isBackspace()) {
-            // backspace를 ascii로 변환하기가 좀 꺼림직해서
-            // libhangul에서는 backspace 처리를 위한 
-            // 함수를 따로 만들었다.
-            res = hangul_ic_backspace(hic);
-        } else {
-            // 키 입력을 해당하는 ascii 코드로 변환한다.
-            // libhangul에서는 이 ascii 코드가 키 이벤트
-            // 코드와 마찬가지다.
-            int ascii = event.getAscii();
-
-            // 키 입력을 받았으면 이것을 hic에 먼저 보낸다.
-            // 그래야 hic가 이 키를 사용할 것인지 아닌지를 판단할 수 있다.
-            // 함수가 true를 리턴하면 이 키를 사용했다는 의미이므로 
-            // GUI 코드가 이 키 입력을 프로세싱하지 않도록 해야 한다.
-            // 그렇지 않으면 한 키입력이 두번 프로세싱된다.
-            res = hangul_ic_process(hic, ascii);
-        }
-        
-        // hic는 한번 키입력을 받고 나면 내부 상태 변화가 일어나고
-        // 완성된 글자를 어플리케이션에 보내야 하는 상황이 있을 수 있다.
-        // 이것을 HangulInputContext에서는 commit 스트링이 있는지로
-        // 판단한다. commit 스트링을 받아봐서 스트링이 있다면 
-        // 그 스트링으로 입력이 완료된 걸로 본다.
-        const ucschar commit;
-        commit = hangul_ic_get_commit_string(hic);
-        if (commit[0] != 0) {   // 스트링의 길이를 재서 commit 스트링이 있는지
-                                // 판단한다.
-            TWinInputUnicodeChars(commit);
-        }
-
-        // 키입력 후에는 preedit string도 역시 변화하게 되는데
-        // 입력기 프레임웍에서는 이 스트링을 화면에 보여주어야
-        // 조합중인 글자가 화면에 표시가 되는 것이다.
-        const ucschar preedit;
-        preedit = hangul_ic_get_preedit_string(hic);
-        // 이 경우에는 스트링의 길이에 관계없이 항상 업데이트를 
-        // 해야 한다. 왜냐하면 이전에 조합중이던 글자가 있다가
-        // 조합이 완료되면서 조합중인 상태의 글자가 없어질 수도 있기 때문에
-        // 스트링의 길이에 관계없이 현재 상태의 스트링을 preedit 
-        // 스트링으로 보여주면 되는 것이다.
-        TWinUpdatePreeditString(preedit);
-
-        // 위 두작업이 끝난후에는 키 이벤트를 계속 프로세싱해야 하는지 
-        // 아닌지를 처리해야 한다.
-        // hic가 키 이벤트를 사용하지 않았다면 기본 GUI 코드에 계속해서
-        // 키 이벤트 프로세싱을 진행하도록 해야 한다.
-        if (!res)
-            TWinForwardKeyEventToUI(ascii);
-
-        ascii = GetKeyEvent();
-    }
-
-    hangul_ic_delete(hic);
-

타입정의 문서화

- -
-
- - - - -
HangulInputContext
-
-
- -

한글 입력 상태를 관리하기 위한 오브젝트

-

libhangul에서 제공하는 한글 조합 루틴에서 상태 정보를 저장하는 opaque 데이타 오브젝트이다. 이 오브젝트에 키입력 정보를 순차적으로 보내주면서 preedit 스트링이나, commit 스트링을 받아서 처리하면 한글 입력 기능을 손쉽게 구현할 수 있다. 내부의 데이터 멤버는 공개되어 있지 않다. 각각의 멤버는 accessor 함수로만 참조하여야 한다.

- -
-
-

함수 문서화

- -
-
- - - - - - - - -
bool hangul_ic_backspace (HangulInputContexthic)
-
-
- -

HangulInputContext 가 backspace 키를 처리하도록 하는 함수

-
매개변수:
- - -
hicHangulInputContext 를 가리키는 포인터
-
-
-
반환값:
hic가 키를 사용했으면 true, 사용하지 않았으면 false
-

이 함수는 hic가 가리키는 HangulInputContext 의 조합중이던 글자를 뒤에서부터 하나 지우는 기능을 한다. backspace 키를 눌렀을 때 발생하는 동작을 한다. 따라서 이 함수를 부르고 나면 preedit string이 바뀌므로 반드시 업데이트를 해야 한다.

-
Remarks:
이 함수는 HangulInputContext 의 상태를 변화 시킨다.
- -
-
- -
-
- - - - - - - - -
void hangul_ic_delete (HangulInputContexthic)
-
-
- -

HangulInputContext 를 삭제하는 함수

-
매개변수:
- - -
hicHangulInputContext 오브젝트
-
-
-

hic가 가리키는 HangulInputContext 오브젝트의 메모리를 해제한다. hangul_ic_new() 함수로 생성된 모든 HangulInputContext 오브젝트는 이 함수로 메모리해제를 해야 한다. 메모리 해제 과정에서 상태 변화는 일어나지 않으므로 마지막 입력된 조합중이던 내용은 사라지게 된다.

- -
-
- -
-
- - - - - - - - -
const ucschar* hangul_ic_flush (HangulInputContexthic)
-
-
- -

HangulInputContext 의 입력 상태를 완료하는 함수

-
매개변수:
- - -
hicHangulInputContext 를 가리키는 포인터
-
-
-
반환값:
조합 완료된 스트링, 스트링의 길이가 0이면 조합 완료된 스트링이 없는 것
-

이 함수는 hic가 가리키는 HangulInputContext 의 입력 상태를 완료한다. 조합중이던 스트링을 완성하여 리턴한다. 그리고 입력 상태가 초기 상태로 되돌아 간다. 조합중이던 글자를 강제로 commit하고 싶을때 사용하는 함수다. 보통의 경우 입력 framework에서 focus가 나갈때 이 함수를 불러서 마지막 상태를 완료해야 조합중이던 글자를 잃어버리지 않게 된다.

-

비교: hangul_ic_reset()

-
Remarks:
이 함수는 HangulInputContext 의 상태를 변화 시킨다.
- -
-
- -
-
- - - - - - - - -
const ucschar* hangul_ic_get_commit_string (HangulInputContexthic)
-
-
- -

현재 상태의 commit string을 구하는 함수

-
매개변수:
- - -
hiccommit string을 구하고자하는 입력 상태 object
-
-
-
반환값:
UCS4 commit 스트링, 이 스트링은 hic 내부의 데이터이므로 수정하거나 free해서는 안된다.
-

이 함수는 hic 내부의 현재 상태의 commit string을 리턴한다. 따라서 hic가 다른 키 이벤트를 처리하고 나면 그 내용이 바뀔 수 있다.

-
Remarks:
이 함수는 HangulInputContext 의 상태를 변화 시키지 않는다.
- -
-
- -
-
- - - - - - - - -
const ucschar* hangul_ic_get_preedit_string (HangulInputContexthic)
-
-
- -

현재 상태의 preedit string을 구하는 함수

-
매개변수:
- - -
hicpreedit string을 구하고자하는 입력 상태 object
-
-
-
반환값:
UCS4 preedit 스트링, 이 스트링은 hic 내부의 데이터이므로 수정하거나 free해서는 안된다.
-

이 함수는 hic 내부의 현재 상태의 preedit string을 리턴한다. 따라서 hic가 다른 키 이벤트를 처리하고 나면 그 내용이 바뀔 수 있다.

-
Remarks:
이 함수는 HangulInputContext 의 상태를 변화 시키지 않는다.
- -
-
- -
-
- - - - - - - - -
bool hangul_ic_has_choseong (HangulInputContexthic)
-
-
- -

HangulInputContext 가 조합중인 초성을 가지고 있는지 확인하는 함수

-
매개변수:
- - -
hicHangulInputContext 를 가리키는 포인터
-
-
-

HangulInputContext 가 조합중인 글자가 초성이 있으면 true를 리턴한다.

-
Remarks:
이 함수는 HangulInputContext 의 상태를 변화 시키지 않는다.
- -
-
- -
-
- - - - - - - - -
bool hangul_ic_has_jongseong (HangulInputContexthic)
-
-
- -

HangulInputContext 가 조합중인 종성을 가지고 있는지 확인하는 함수

-
매개변수:
- - -
hicHangulInputContext 를 가리키는 포인터
-
-
-

HangulInputContext 가 조합중인 글자가 종성이 있으면 true를 리턴한다.

-
Remarks:
이 함수는 HangulInputContext 의 상태를 변화 시키지 않는다.
- -
-
- -
-
- - - - - - - - -
bool hangul_ic_has_jungseong (HangulInputContexthic)
-
-
- -

HangulInputContext 가 조합중인 중성을 가지고 있는지 확인하는 함수

-
매개변수:
- - -
hicHangulInputContext 를 가리키는 포인터
-
-
-

HangulInputContext 가 조합중인 글자가 중성이 있으면 true를 리턴한다.

-
Remarks:
이 함수는 HangulInputContext 의 상태를 변화 시키지 않는다.
- -
-
- -
-
- - - - - - - - -
bool hangul_ic_is_empty (HangulInputContexthic)
-
-
- -

HangulInputContext 가 조합중인 글자를 가지고 있는지 확인하는 함수

-
매개변수:
- - -
hicHangulInputContext 를 가리키는 포인터
-
-
-

HangulInputContext 가 조합중인 글자가 있으면 true를 리턴한다.

-
Remarks:
이 함수는 HangulInputContext 의 상태를 변화 시키지 않는다.
- -
-
- -
-
- - - - - - - - -
bool hangul_ic_is_transliteration (HangulInputContexthic)
-
-
- -

주어진 hic가 transliteration method인지 판별

-
매개변수:
- - -
hic상태를 알고자 하는 HangulInputContext 포인터
-
-
-
반환값:
hic가 transliteration method인 경우 true를 리턴, 아니면 false
-

이 함수는 hic 가 transliteration method인지 판별하는 함수다. 이 함수가 false를 리턴할 경우에는 process 함수에 keycode를 넘기기 전에 키보드 자판 배열에 독립적인 값으로 변환한 후 넘겨야 한다. 그렇지 않으면 유럽어 자판과 한국어 자판을 같이 쓸때 한글 입력이 제대로 되지 않는다.

- -
-
- -
-
- - - - - - - - -
HangulInputContext* hangul_ic_new (const char * keyboard)
-
-
- -

HangulInputContext 오브젝트를 생성한다.

-
매개변수:
- - -
keyboard사용하고자 하는 키보드, 사용 가능한 값에 대해서는 hangul_ic_select_keyboard() 함수 설명을 참조한다.
-
-
-
반환값:
새로 생성된 HangulInputContext 에 대한 포인터
-

이 함수는 한글 조합 기능을 제공하는 HangulInputContext 오브젝트를 생성한다. 생성할때 지정한 자판은 나중에 hangul_ic_select_keyboard() 함수로 다른 자판으로 변경이 가능하다. 더이상 사용하지 않을 때에는 hangul_ic_delete() 함수로 삭제해야 한다.

- -

다음을 참조함 : hangul_ic_select_keyboard().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
bool hangul_ic_process (HangulInputContexthic,
int ascii 
)
-
-
- -

키 입력을 처리하여 실제로 한글 조합을 하는 함수

-
매개변수:
- - - -
hicHangulInputContext 오브젝트
ascii키 이벤트
-
-
-
반환값:
HangulInputContext 가 이 키를 사용했으면 true, 사용하지 않았으면 false
-

ascii 값으로 주어진 키 이벤트를 받아서 내부의 한글 조합 상태를 변화시키고, preedit, commit 스트링을 저장한다.

-

libhangul의 키 이벤트 프로세스는 ASCII 코드 값을 기준으로 처리한다. 이 키 값은 US Qwerty 자판 배열에서의 키 값에 해당한다. 따라서 유럽어 자판을 사용하는 경우에는 해당 키의 ASCII 코드를 직접 전달하면 안되고, 그 키가 US Qwerty 자판이었을 경우에 발생할 수 있는 ASCII 코드 값을 주어야 한다. 또한 ASCII 코드 이므로 Shift 상태는 대문자로 전달이 된다. Capslock이 눌린 경우에는 대소문자를 뒤바꾸어 보내주지 않으면 마치 Shift가 눌린 것 처럼 동작할 수 있으므로 주의한다. preedit, commit 스트링은 hangul_ic_get_preedit_string(), hangul_ic_get_commit_string() 함수를 이용하여 구할 수 있다.

-

이 함수의 사용법에 대한 설명은 Hangul Input Context의 사용법 부분을 참조한다.

-
Remarks:
이 함수는 HangulInputContext 의 상태를 변화 시킨다.
- -
-
- -
-
- - - - - - - - -
void hangul_ic_reset (HangulInputContexthic)
-
-
- -

HangulInputContext 를 초기상태로 되돌리는 함수

-
매개변수:
- - -
hicHangulInputContext 를 가리키는 포인터
-
-
-

이 함수는 hic가 가리키는 HangulInputContext 의 상태를 처음 상태로 되돌린다. preedit 스트링, commit 스트링, flush 스트링이 없어지고, 입력되었던 키에 대한 기록이 없어진다. 영어 상태로 바뀌는 것이 아니다.

-

비교: hangul_ic_flush()

-
Remarks:
이 함수는 HangulInputContext 의 상태를 변화 시킨다.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void hangul_ic_select_keyboard (HangulInputContexthic,
const char * id 
)
-
-
- -

HangulInputContext 의 자판 배열을 바꾸는 함수

-
매개변수:
- - - -
hicHangulInputContext 오브젝트
id선택하고자 하는 자판, 아래와 같은 값을 선택할 수 있다. -libhangul이 지원하는 자판에 대한 정보는 한글 자판 페이지를 참조하라.
-
-
-
반환값:
없음
-

이 함수는 HangulInputContext 의 자판을 id로 지정된 것으로 변경한다.

-
Remarks:
이 함수는 HangulInputContext 의 내부 조합 상태에는 영향을 미치지 않는다. 따라서 입력 중간에 자판을 변경하더라도 조합 상태는 유지된다.
- -

다음에 의해서 참조됨 : hangul_ic_new().

- -
-
-
- - - - - - diff --git a/doc/html/group__hangulkeyboards.html b/doc/html/group__hangulkeyboards.html deleted file mode 100644 index e2e14c3..0000000 --- a/doc/html/group__hangulkeyboards.html +++ /dev/null @@ -1,1355 +0,0 @@ - - - - - -libhangul: 한글 자판 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - -
-
-
-
한글 자판
-
-
-

libhangul에서 builtin으로 지원하는 자판은 두벌식, 두벌식 옛글, 세벌식 최종, 세벌식 390, 세벌식 순아래, 세벌식 옛글, 안마태, 로마자 자판 이다.

-

아래의 자판 배열은 libhangul에서 지원하는 자판을 알아보기 쉽게 그림형태로 나타낸 것이다.

-
    -
  • 각 네모에 표시된 글자중 위에 있는 글자는 shift와 함께 눌렀을때 입력되는 글자고 아래에 있는 글자는 그냥 눌렀을때 입력되는 글자다.
  • -
  • 초성, 중성, 종성은 각각 붉은색, 녹색, 파란색(RGB 순서)으로 표시하였다.
  • -
  • 한글이 아닌 것은 검은색으로 표시하였다.
  • -
- - - - -

-두벌식

-

이 자판은 표준 두벌식을 구현한 것이다. 그러나 표준 자판과 조금 다른 동작이 있다. 된소리 ㅃㅉㄸㄲㅆ들은 shift와 함께 누르는 방법 이외에도 반복해서 누르면 입력된다.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
~
`
!
1
@
2
#
3
$
4
%
5
^
6
&
7
*
8
(
9
)
0
_
-
+
=
Backspace
Tab









{
[
}
]
|
\
Caps Lock








:
;
"
'
Enter
Shift






<
,
>
.
?
/
Shift
- -

-두벌식 옛글

-

이 자판은 옛한글을 입력하기 위한 두벌식 자판이다. 아래한글의 두벌식 옛글 자판과 같은 배열을 가지도록 만들었다. 두벌식 자판과 마찬가지로 된소리를 두번 누르는 방법으로 입력할 수 있다.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
~
`
!
1
@
2
#
3
$
4
%
5
^
6
&
7
*
8
(
9
)
0
_
-
+
=
Backspace
Tab









{
[
}
]
|
\
Caps Lock
ᅝᅠ



ᅟᆃ



:
;
"
'
Enter
Shiftᄼᅠ
ᄾᅠ
ᅎᅠ
ᅐᅠ
ᅔᅠ
ᅕᅠ

<
,
>
.
?
/
Shift
- -

-세벌식 최종

-

이 자판은 세벌식 최종 자판을 구현한 것이다. 원래 방식대로라면 왼쪽의 ㅗㅜ는 다른 모음과 조합되지 않아야 하지만, libhangul에서는 좌우의 ㅗㅜ를 구분하지 않고 다른 모음과 조합된다.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

*





=


'
~
;
)
+
>
Backspace
Tab




5
6
7
8
9
%
(
/
<
\
:
Caps Lock




0
1
2
3
4
·
Enter
Shift



?
-
"

,

.
!
Shift
- -

-세벌식 390

-

이 자판은 세벌식 390 자판을 구현한 것이다. 원래 방식대로라면 왼쪽의 ㅗㅜ는 다른 모음과 조합되지 않아야 하지만, libhangul에서는 좌우의 ㅗㅜ를 구분하지 않고 다른 모음과 조합된다.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
~
`

@
#
$
%
^
&
*
(
)
_
-
+
=
Backspace
Tab



;
<
7
8
9
>
{
[
}
]
|
\
Caps Lock



/
'
4
5
6
:
"
Enter
Shift



!
0
1
2
,
3
.
?
Shift
- -

-세벌식 순아래

-

이 자판은 세벌식 순아래 자판을 구현한 것이다.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
~
`
!
@
#
$
%
^
&
*
(
)
_
+
Backspace
Tab



;
<
7
8
9
>
{
}
|
Caps Lock
[
]

/
'
4
5
6
:
"
Enter
Shift-
=
\

!
0
1
2
,
3
.
?
Shift
- -

-세벌식 옛글

-

이 자판은 세벌식 옛글 자판을 구현한 것이다. 자판 배열은 아래한글의 세벌식 옛글 자판과 동일하다.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ᅟᅠᇰ
ᅟᅠᇹ

ᅟᅠᇫ
#
$
%

&
*
(
)
_
-
+
=
Backspace
Tab



;
<
·
ᅔᅠ
ᅕᅠ
>
{
[
}
]
|
\
Caps Lock




'

ᅎᅠ
ᅐᅠ
:
"
Enter
Shift



!


ᄼᅠ
,
ᄾᅠ
.
?
Shift
- -

-세벌식 두벌배열

-

이 자판은 두벌식 자판의 배열을 그대로 사용하면서 shift와 함께 자음을 누르면 종성으로 입력되도록 만든 자판이다. 일반 사용을 위해 만들어진 것이 아니고 두벌식 사용자가 손쉽게 세벌식 자판의 테스트를 할 수 있도록 하기 위해서 만든 자판이다.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

`
!
1
@
2
#
3
$
4
%
5
^
6
&
7
*
8
(
9
)
0
_
-
+
=
Backspace
Tab









{
[
}
]
|
\
Caps Lock








:
;
"
'
Enter
Shift






<
,
>
.
?
/
Shift
- -

-안마태

-

이 자판은 안마태 자판을 구현한 것이다. libhangul의 안마태 자판 구현은 안마태 자판의 규격을 충실하게 구현한 것은 아니고 적당한 수준에서 사용가능하게 만든 것이다. 키입력이 동시에 일어났는지 판단하여 입력을 하는 방식이 아니고, 키를 순서대로 입력하여도 자모를 조합하도록 구현하여, 안마태 자판과 유사한 동작을 하도록 구현하였다.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
~
`
!
1
@
2
#
3
$
4
%
5
^
6
&
7
*
8
(
9
)
0
_
-
+
=
Backspace
Tab




;
'
/
[
]
{
,
}
?
|
\
Caps Lock








:
"
.
Enter
Shift



ᅟᅠᇰ
ᅟᅠᇫ

<
>
ᅟᅠᇹ
Shift
- -

-로마자

-

이 자판은 현재 자판 배열의 라틴 문자를 음차하여 한글로 입력되도록 만든 자판이다. 예를 들면 'an'을 치면 '안'이 입력되는 방식이다. 로마자 자판은 다른 한글자판과 달리 Transliteration 방식으로 작동하는 자판이므로 별도의 레이아웃이 없다. 이 입력 자판에서 사용한 알파벳과 한글 자모의 대응은 기본적으로 한글 로마자 표기법과 유사하지만 동일하지는 않다. 로마자 자판은 한글을 입력하기 위한 것이므로 한글을 그럴듯 하게 표기하기 위한 로마자 표기법과는 목적이 다르다. 주로 한글 자모를 모두 입력할 수 있도록 하는 것을 우선적으로 고려하였다. 따라서 아래 자판의 대응대로 한글을 로마자로 표기하는 것은 로마자 표기법으로는 적절하지 않다.

-

한글 자모와 알파벳의 대응은 아래와 같다.

-
    -
  • ㄱ : g
  • -
  • ㄴ : n
  • -
  • ㄷ : d
  • -
  • ㄹ : r, l
  • -
  • ㅁ : m
  • -
  • ㅂ : b, v
  • -
  • ㅅ : s
  • -
  • ㅇ : ng
  • -
  • ㅈ : j
  • -
  • ㅊ : c, ch
  • -
  • ㅋ : k, q
  • -
  • ㅌ : t
  • -
  • ㅍ : f, p
  • -
  • ㅎ : h
  • -
-
    -
  • ㄲ : gg
  • -
  • ㄸ : dd
  • -
  • ㅃ : bb
  • -
  • ㅆ : ss
  • -
  • ㅉ : jj
  • -
  • ㅊ : ch
  • -
-
    -
  • ㅏ : a
  • -
  • ㅐ : ae, ai
  • -
  • ㅑ : ya, ia
  • -
  • ㅒ : yae, yai, iae, iai
  • -
  • ㅓ : eo
  • -
  • ㅔ : e
  • -
  • ㅕ : yeo, ieo
  • -
  • ㅖ : ye, ie
  • -
  • ㅗ : o
  • -
  • ㅘ : oa, wa
  • -
  • ㅙ : oae, oai
  • -
  • ㅚ : oi
  • -
  • ㅛ : yo, io
  • -
  • ㅜ : u, w
  • -
  • ㅝ : ueo, weo, uo
  • -
  • ㅞ : ue
  • -
  • ㅟ : ui, wi
  • -
  • ㅠ : yu, iu
  • -
  • ㅡ : eu
  • -
  • ㅢ : eui
  • -
  • ㅣ : i, y
  • -
-

그 외에 다음과 같은 조합 규칙이 있다.

-
    -
  • 자음없이 모음만 먼저 입력하면 초성 ㅇ이 추가된다. 예를 들어 'a'만 눌러도 '아'로 입력된다.
  • -
  • ng 는 종성 ㅇ으로 입력된다.
  • -
  • x는 음절의 시작에서는 초성 ㅈ, 끝에서는 종성 ㄳ으로 입력된다.
  • -
  • 종성의 자음군은 앞음절의 글자로 입력된다. 예를 들어 'banga'는 '방아'로 입력된다.
  • -
  • 대문자를 입력하면 음절의 시작으로 인식한다. 예를 들어 'banga'는 '방아'로, 'banGa'는 '반가'로 입력된다. 'beos'는 '벗'으로 'beOs'는 '베옷'으로 입력된다.
  • -
  • 자음군으로 음절이 시작되면 ㅡ를 자동으로 추가한다. 예를 들어 'string'을 입력하면 s와 t에 ㅡ가 붙게 되어 '스트링'으로 입력된다.
  • -
-
참고:
다음 위키 페이지를 참조하라.
- http://en.wikipedia.org/wiki/Korean_romanization
- http://en.wikipedia.org/wiki/Revised_Romanization_of_Korean
-
- - - - - - diff --git a/doc/html/group__hanjadictionary.html b/doc/html/group__hanjadictionary.html deleted file mode 100644 index d1b32ce..0000000 --- a/doc/html/group__hanjadictionary.html +++ /dev/null @@ -1,630 +0,0 @@ - - - - - -libhangul: 한자 사전 검색 기능 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - -
-
- -
-
한자 사전 검색 기능
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-타입정의

typedef struct _Hanja Hanja
 í•œìž 사전 검색 결과의 최소 단위
typedef struct _HanjaList HanjaList
 í•œìž 사전의 검색 결과를 전달하는데 사용하는 오브젝트
typedef struct _HanjaTable HanjaTable
 í•œìž 사전을 관리하는데 사용하는 오브젝트

-함수

const char * hanja_get_key (const Hanja *hanja)
 Hanja 의 키를 찾아본다.
const char * hanja_get_value (const Hanja *hanja)
 Hanja 의 값을 찾아본다.
const char * hanja_get_comment (const Hanja *hanja)
 Hanja 의 설명을 찾아본다.
HanjaTablehanja_table_load (const char *filename)
 í•œìž 사전 파일을 로딩하는 함수
void hanja_table_delete (HanjaTable *table)
 í•œìž 사전 object를 free하는 함수
HanjaListhanja_table_match_exact (const HanjaTable *table, const char *key)
 í•œìž 사전에서 매치되는 키를 가진 엔트리를 찾는 함수
HanjaListhanja_table_match_prefix (const HanjaTable *table, const char *key)
 í•œìž 사전에서 앞부분이 매치되는 키를 가진 엔트리를 찾는 함수
HanjaListhanja_table_match_suffix (const HanjaTable *table, const char *key)
 í•œìž 사전에서 뒷부분이 매치되는 키를 가진 엔트리를 찾는 함수
-int hanja_list_get_size (const HanjaList *list)
 HanjaList 가 가지고 있는 아이템의 갯수를 구하는 함수
const char * hanja_list_get_key (const HanjaList *list)
 HanjaList 가 생성될때 검색함수에서 사용한 키를 구하는 함수
const Hanjahanja_list_get_nth (const HanjaList *list, unsigned int n)
 HanjaList 의 n번째 Hanja 아이템의 포인터를 구하는 함수
const char * hanja_list_get_nth_key (const HanjaList *list, unsigned int n)
 HanjaList 의 n번째 아이템의 키를 구하는 함수
const char * hanja_list_get_nth_value (const HanjaList *list, unsigned int n)
 HanjaList 의 n번째 아이템의 값를 구하는 함수
const char * hanja_list_get_nth_comment (const HanjaList *list, unsigned int n)
 HanjaList 의 n번째 아이템의 설명을 구하는 함수
void hanja_list_delete (HanjaList *list)
 í•œìž 사전 검색 함수가 리턴한 결과를 free하는 함수
-

상세한 설명

-

-한자 사전 루틴의 사용 방법

-

libhangul에서는 한자 사전 파일과 그 사전 파일을 검색할 수 있는 몇가지 함수의 셋을 제공한다. 여기에서 사용되는 모든 스트링은 UTF-8 인코딩을 사용한다. libhangul에서 사용하는 한자 사전 파일의 포맷은 HanjaTable 섹션을 참조한다.

-

그 개략적인 사용 방법은 다음과 같다.

-
    // 지정된 위치의 한자 사전 파일을 로딩한다.
-    // 아래 코드에서는 libhangul의 한자 사전 파일을 로딩하기 위해서
-    // NULL을 argument로 준다.
-    HanjaTable* table = hanja_table_load(NULL);
-
-    // "삼국사기"에 해당하는 한자를 찾는다.
-    HanjaList* list = hanja_table_match_exact(table, "삼국사기");
-    if (list != NULL) {
-        int i;
-        int n = hanja_list_get_size(list);
-        for (i = 0; i < n; ++i) {
-            const char* hanja = hanja_list_get_nth_value(list);
-            printf("한자: %s\n", hanja);
-        }
-        hanja_list_delete(list);
-    }
-    
-    hanja_table_delete(table);
-

타입정의 문서화

- -
-
- - - - -
Hanja
-
-
- -

한자 사전 검색 결과의 최소 단위

-

Hanja 오브젝트는 한자 사전 파일의 각 엔트리에 해당한다. 각 엔트리는 키(key), 밸류(value) 페어로 볼 수 있는데, libhangul에서는 약간 확장을 하여 설명(comment)도 포함하고 있다. 한자 사전 포맷은 HanjaTable 부분을 참조한다.

-

한자 사전을 검색하면 결과는 Hanja 오브젝트의 리스트 형태로 전달된다. HanjaList 에서 각 엔트리의 내용을 하나씩 확인할 수 있다. Hanja 의 멤버는 직접 참조할 수 없고, hanja_get_key(), hanja_get_value(), hanja_get_comment() 함수로 찾아볼 수 있다. char 스트링으로 전달되는 내용은 모두 UTF-8 인코딩으로 되어 있다.

- -
-
- -
-
- - - - -
HanjaList
-
-
- -

한자 사전의 검색 결과를 전달하는데 사용하는 오브젝트

-

한자 사전의 검색 함수를 사용하면 이 타입으로 결과를 리턴한다. 이 오브젝트에서 hanja_list_get_nth()함수를 이용하여 검색 결과를 이터레이션할 수 있다. 내부 구현 내용은 외부로 노출되어 있지 않다. HanjaList 가 가지고 있는 아이템들은 accessor 함수들을 이용해서 참조한다.

-

참조: hanja_list_get_nth(), hanja_list_get_nth_key(), hanja_list_get_nth_value(), hanja_list_get_nth_comment()

- -
-
- -
-
- - - - -
HanjaTable
-
-
- -

한자 사전을 관리하는데 사용하는 오브젝트

-

libhangul에서 한자 사전을 관리하는데 사용하는 오브젝트로 내부 구현 내용은 외부로 노출되어 있지 않다.

-

libhangul에서 사용하는 한자 사전 파일의 포맷은 다음과 같은 형식이다.

-
 # comment
- key1:value1:comment1
- key2:value2:comment2
- key3:value3:comment3
- ...
-

각 필드는 : 으로 구분하고, 첫번째 필드는 각 한자를 찾을 키값이고 두번째 필드는 그 키값에 해당하는 한자 스트링, 세번째 필드는 이 키와 값에 대한 설명이다. # 으로 시작하는 라인은 주석으로 무시된다.

-

실제 예를 들면 다음과 같은 식이다.

-
 삼국사기:三國史記:삼국사기
- 한자:漢字:한자
-

그 내용은 키값에 대해서 sorting 되어야 있어야 한다. 파일의 인코딩은 UTF-8이어야 한다.

- -
-
-

함수 문서화

- -
-
- - - - - - - - -
const char* hanja_get_comment (const Hanjahanja)
-
-
- -

Hanja 의 설명을 찾아본다.

-
반환값:
hanja 오브젝트의 comment 필드, UTF-8
-

일반적으로 Hanja 아이템의 설명은 한글과 그 한자에 대한 설명이다. 파일에 따라서 내용이 없을 수 있다. 리턴되는 스트링은 hanja 오브젝트 내부적으로 관리하는 데이터로 수정하거나 free되어서는 안된다.

- -

다음에 의해서 참조됨 : hanja_list_get_nth_comment().

- -
-
- -
-
- - - - - - - - -
const char* hanja_get_key (const Hanjahanja)
-
-
- -

Hanja 의 키를 찾아본다.

-
반환값:
hanja 오브젝트의 키, UTF-8
-

일반적으로 Hanja 아이템의 키는 한글이다. 리턴되는 스트링은 hanja 오브젝트 내부적으로 관리하는 데이터로 수정하거나 free 되어서는 안된다.

- -

다음에 의해서 참조됨 : hanja_list_get_nth_key().

- -
-
- -
-
- - - - - - - - -
const char* hanja_get_value (const Hanjahanja)
-
-
- -

Hanja 의 값을 찾아본다.

-
반환값:
hanja 오브젝트의 값, UTF-8
-

일반적으로 Hanja 아이템의 값은 key에 대응되는 한자다. 리턴되는 스트링은 hanja 오브젝트 내부적으로 관리하는 데이터로 수정하거나 free되어서는 안된다.

- -

다음에 의해서 참조됨 : hanja_list_get_nth_value().

- -
-
- -
-
- - - - - - - - -
void hanja_list_delete (HanjaListlist)
-
-
- -

한자 사전 검색 함수가 리턴한 결과를 free하는 함수

-
매개변수:
- - -
listfree할 HanjaList
-
-
-

libhangul의 모든 한자 사전 검색 루틴이 리턴한 결과는 반드시 이 함수로 free해야 한다.

- -
-
- -
-
- - - - - - - - -
const char* hanja_list_get_key (const HanjaListlist)
-
-
- -

HanjaList 가 생성될때 검색함수에서 사용한 키를 구하는 함수

-
반환값:
HanjaList 의 key 스트링
-

한자 사전 검색 함수로 HanjaList 를 생성하면 HanjaList 는 그 검색할때 사용한 키를 기억하고 있다. 이 값을 확인할때 사용한다. 주의할 점은, 각 Hanja 아이템들은 각각의 키를 가지고 있지만, 이것이 반드시 HanjaList 와 일치하지는 않는다는 것이다. 검색할 당시에 사용한 함수가 prefix나 suffix계열이면 더 짧은 키로도 검색하기 때문에 HanjaList 의 키와 검색 결과의 키와 다른 것들도 가지고 있게 된다.

-

리턴된 스트링 포인터는 HanjaList 에서 관리하는 스트링으로 수정하거나 free해서는 안된다.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
const Hanja* hanja_list_get_nth (const HanjaListlist,
unsigned int n 
)
-
-
- -

HanjaList 의 n번째 Hanja 아이템의 포인터를 구하는 함수

-
매개변수:
- - - -
listHanjaList 를 가리키는 포인터
n참조할 아이템의 인덱스
-
-
-
반환값:
Hanja 를 가리키는 포인터
-

이 함수는 list가 가리키는 HanjaList 의 n번째 Hanja 오브젝트를 가리키는 포인터를 리턴한다. HanjaList 의 각 아이템은 정수형 인덱스로 각각 참조할 수 있다. HanjaList 가 가진 엔트리 갯수를 넘어서는 인덱스를 주면 NULL을 리턴한다. 리턴된 Hanja 오브젝트는 HanjaList 가 관리하는 오브젝트로 free하거나 수정해서는 안된다.

-

다음의 예제는 list로 주어진 HanjaList 의 모든 값을 프린트 하는 코드다.

-
 int i;
- int n = hanja_list_get_size(list);
- for (i = 0; i < n; i++) {
-        Hanja* hanja = hanja_list_get_nth(i);
-        const char* value = hanja_get_value(hanja);
-        printf("Hanja: %s\n", value);
-        // 또는 hanja에서 다른 정보를 참조하거나
-        // 다른 작업을 할 수도 있다.
- }
-
-

다음에 의해서 참조됨 : hanja_list_get_nth_comment(), hanja_list_get_nth_key(), hanja_list_get_nth_value().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
const char* hanja_list_get_nth_comment (const HanjaListlist,
unsigned int n 
)
-
-
- -

HanjaList 의 n번째 아이템의 설명을 구하는 함수

-
반환값:
n번째 아이템의 설명(comment), UTF-8
-

HanjaList_get_nth()의 convenient 함수

- -

다음을 참조함 : hanja_get_comment(), hanja_list_get_nth().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
const char* hanja_list_get_nth_key (const HanjaListlist,
unsigned int n 
)
-
-
- -

HanjaList 의 n번째 아이템의 키를 구하는 함수

-
반환값:
n번째 아이템의 키, UTF-8
-

HanjaList_get_nth()의 convenient 함수

- -

다음을 참조함 : hanja_get_key(), hanja_list_get_nth().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
const char* hanja_list_get_nth_value (const HanjaListlist,
unsigned int n 
)
-
-
- -

HanjaList 의 n번째 아이템의 값를 구하는 함수

-
반환값:
n번째 아이템의 값(value), UTF-8
-

HanjaList_get_nth()의 convenient 함수

- -

다음을 참조함 : hanja_get_value(), hanja_list_get_nth().

- -
-
- -
-
- - - - - - - - -
void hanja_table_delete (HanjaTabletable)
-
-
- -

한자 사전 object를 free하는 함수

-
매개변수:
- - -
tablefree할 한자 사전 object
-
-
- -
-
- -
-
- - - - - - - - -
HanjaTable* hanja_table_load (const char * filename)
-
-
- -

한자 사전 파일을 로딩하는 함수

-
매개변수:
- - -
filename로딩할 사전 파일의 위치, 또는 NULL
-
-
-
반환값:
한자 사전 object 또는 NULL
-

이 함수는 한자 사전 파일을 로딩하는 함수로 filename으로 지정된 파일을 로딩한다. 한자 사전 파일은 libhangul에서 사용하는 포맷이어야 한다. 한자 사전 파일의 포맷에 대한 정보는 HanjaTable을 참조한다.

-

filename은 locale에 따른 인코딩으로 되어 있어야 한다. UTF-8이 아닐 수 있으므로 주의한다.

-

filename 에 NULL을 주면 libhangul에서 디폴트로 배포하는 사전을 로딩한다. 파일이 없거나, 포맷이 맞지 않으면 로딩에 실패하고 NULL을 리턴한다. 한자 사전이 더이상 필요없으면 hanja_table_delete() 함수로 삭제해야 한다.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
HanjaList* hanja_table_match_exact (const HanjaTabletable,
const char * key 
)
-
-
- -

한자 사전에서 매치되는 키를 가진 엔트리를 찾는 함수

-
매개변수:
- - - -
table한자 사전 object
key찾을 키, UTF-8 인코딩
-
-
-
반환값:
찾은 결과를 HanjaList object로 리턴한다. 찾은 것이 없거나 에러가 있으면 NULL을 리턴한다.
-

key 값과 같은 키를 가진 엔트리를 검색한다. 리턴된 결과는 다 사용하고 나면 반드시 hanja_list_delete() 함수로 free해야 한다.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
HanjaList* hanja_table_match_prefix (const HanjaTabletable,
const char * key 
)
-
-
- -

한자 사전에서 앞부분이 매치되는 키를 가진 엔트리를 찾는 함수

-
매개변수:
- - - -
table한자 사전 object
key찾을 키, UTF-8 인코딩
-
-
-
반환값:
찾은 결과를 HanjaList object로 리턴한다. 찾은 것이 없거나 에러가 있으면 NULL을 리턴한다.
-

key 값과 같거나 앞부분이 같은 키를 가진 엔트리를 검색한다. 그리고 key를 뒤에서부터 한자씩 줄여가면서 검색을 계속한다. 예로 들면 "삼국사기"를 검색하면 "삼국사기", "삼국사", "삼국", "삼"을 각각 모두 검색한다. 리턴된 결과는 다 사용하고 나면 반드시 hanja_list_delete() 함수로 free해야 한다.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
HanjaList* hanja_table_match_suffix (const HanjaTabletable,
const char * key 
)
-
-
- -

한자 사전에서 뒷부분이 매치되는 키를 가진 엔트리를 찾는 함수

-
매개변수:
- - - -
table한자 사전 object
key찾을 키, UTF-8 인코딩
-
-
-
반환값:
찾은 결과를 HanjaList object로 리턴한다. 찾은 것이 없거나 에러가 있으면 NULL을 리턴한다.
-

key 값과 같거나 뒷부분이 같은 키를 가진 엔트리를 검색한다. 그리고 key를 앞에서부터 한자씩 줄여가면서 검색을 계속한다. 예로 들면 "삼국사기"를 검색하면 "삼국사기", "국사기", "사기", "기"를 각각 모두 검색한다. 리턴된 결과는 다 사용하고 나면 반드시 hanja_list_delete() 함수로 free해야 한다.

- -
-
-
- - - - - - diff --git a/doc/html/hangul_8h-source.html b/doc/html/hangul_8h-source.html deleted file mode 100644 index bd32178..0000000 --- a/doc/html/hangul_8h-source.html +++ /dev/null @@ -1,185 +0,0 @@ - - -libhangul: hangul.h 소스 파일 - - - - - - -

hangul.h

00001 /* libhangul
-00002  * Copyright (C) 2004 - 2007 Choe Hwanjin
-00003  *
-00004  * This library is free software; you can redistribute it and/or
-00005  * modify it under the terms of the GNU Lesser General Public
-00006  * License as published by the Free Software Foundation; either
-00007  * version 2.1 of the License, or (at your option) any later version.
-00008  *
-00009  * This library is distributed in the hope that it will be useful,
-00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00012  * Lesser General Public License for more details.
-00013  *
-00014  * You should have received a copy of the GNU Lesser General Public
-00015  * License along with this library; if not, write to the Free Software
-00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-00017  */
-00018 
-00019 #ifndef libhangul_hangul_h
-00020 #define libhangul_hangul_h
-00021 
-00022 #include <stdbool.h>
-00023 #include <inttypes.h>
-00024 
-00025 #ifdef __GNUC__
-00026 #define LIBHANGUL_DEPRECATED __attribute__((deprecated));
-00027 #else
-00028 #define LIBHANGUL_DEPRECATED
-00029 #endif
-00030 
-00031 #ifdef __cplusplus
-00032 extern "C" {
-00033 #endif
-00034 
-00035 /* hangulctype.c */
-00036 enum {
-00037     HANGUL_CHOSEONG_FILLER  = 0x115f,   /* hangul choseong filler */
-00038     HANGUL_JUNGSEONG_FILLER = 0x1160    /* hangul jungseong filler */
-00039 };
-00040 
-00041 typedef uint32_t ucschar;
-00042 
-00043 bool hangul_is_choseong(ucschar c);
-00044 bool hangul_is_jungseong(ucschar c);
-00045 bool hangul_is_jongseong(ucschar c);
-00046 bool hangul_is_choseong_conjoinable(ucschar c);
-00047 bool hangul_is_jungseong_conjoinable(ucschar c);
-00048 bool hangul_is_jongseong_conjoinable(ucschar c);
-00049 bool hangul_is_syllable(ucschar c);
-00050 bool hangul_is_jamo(ucschar c);
-00051 bool hangul_is_cjamo(ucschar c);
-00052 
-00053 ucschar hangul_jamo_to_cjamo(ucschar ch);
-00054 
-00055 const ucschar* hangul_syllable_iterator_prev(const ucschar* str,
-00056                                              const ucschar* begin);
-00057 const ucschar* hangul_syllable_iterator_next(const ucschar* str,
-00058                                              const ucschar* end);
-00059 
-00060 int     hangul_syllable_len(const ucschar* str, int max_len);
-00061 
-00062 ucschar hangul_jamo_to_syllable(ucschar choseong,
-00063                                 ucschar jungseong,
-00064                                 ucschar jongseong);
-00065 void    hangul_syllable_to_jamo(ucschar syllable,
-00066                                 ucschar* choseong,
-00067                                 ucschar* jungseong,
-00068                                 ucschar* jongseong);
-00069 int     hangul_jamos_to_syllables(ucschar* dest, int destlen,
-00070                                   const ucschar* src, int srclen);
-00071 
-00072 /* hangulinputcontext.c */
-00073 typedef struct _HangulKeyboard        HangulKeyboard;
-00074 typedef struct _HangulCombination     HangulCombination;
-00075 typedef struct _HangulBuffer          HangulBuffer;
-00076 typedef struct _HangulInputContext    HangulInputContext;
-00077 
-00078 enum {
-00079     HANGUL_OUTPUT_SYLLABLE,
-00080     HANGUL_OUTPUT_JAMO
-00081 };
-00082 
-00083 enum {
-00084     HANGUL_KEYBOARD_TYPE_JAMO,
-00085     HANGUL_KEYBOARD_TYPE_JASO,
-00086     HANGUL_KEYBOARD_TYPE_ROMAJA
-00087 };
-00088 
-00089 /* keyboard */
-00090 HangulKeyboard* hangul_keyboard_new(void);
-00091 void    hangul_keyboard_delete(HangulKeyboard *keyboard);
-00092 void    hangul_keyboard_set_value(HangulKeyboard *keyboard,
-00093                                   int key, ucschar value);
-00094 void    hangul_keyboard_set_type(HangulKeyboard *keyboard, int type);
-00095 
-00096 /* combination */
-00097 HangulCombination* hangul_combination_new(void);
-00098 void hangul_combination_delete(HangulCombination *combination);
-00099 bool hangul_combination_set_data(HangulCombination* combination, 
-00100                      ucschar* first, ucschar* second, ucschar* result, unsigned int n);
-00101 
-00102 /* input context */
-00103 HangulInputContext* hangul_ic_new(const char* keyboard);
-00104 void hangul_ic_delete(HangulInputContext *hic);
-00105 bool hangul_ic_process(HangulInputContext *hic, int ascii);
-00106 void hangul_ic_reset(HangulInputContext *hic);
-00107 bool hangul_ic_backspace(HangulInputContext *hic);
-00108 
-00109 bool hangul_ic_is_empty(HangulInputContext *hic);
-00110 bool hangul_ic_has_choseong(HangulInputContext *hic);
-00111 bool hangul_ic_has_jungseong(HangulInputContext *hic);
-00112 bool hangul_ic_has_jongseong(HangulInputContext *hic);
-00113 bool hangul_ic_is_transliteration(HangulInputContext *hic);
-00114 
-00115 void hangul_ic_set_output_mode(HangulInputContext *hic, int mode);
-00116 void hangul_ic_set_keyboard(HangulInputContext *hic,
-00117                             const HangulKeyboard *keyboard);
-00118 void hangul_ic_select_keyboard(HangulInputContext *hic,
-00119                                const char* id);
-00120 void hangul_ic_set_combination(HangulInputContext *hic,
-00121                                const HangulCombination *combination);
-00122 void hangul_ic_connect_callback(HangulInputContext* hic, const char* event,
-00123                                 void* callback, void* user_data);
-00124 
-00125 unsigned    hangul_ic_get_n_keyboards();
-00126 const char* hangul_ic_get_keyboard_id(unsigned index_);
-00127 const char* hangul_ic_get_keyboard_name(unsigned index_);
-00128 
-00129 const ucschar* hangul_ic_get_preedit_string(HangulInputContext *hic);
-00130 const ucschar* hangul_ic_get_commit_string(HangulInputContext *hic);
-00131 const ucschar* hangul_ic_flush(HangulInputContext *hic);
-00132 
-00133 /* hanja.c */
-00134 typedef struct _Hanja Hanja;
-00135 typedef struct _HanjaList HanjaList;
-00136 typedef struct _HanjaTable HanjaTable;
-00137 
-00138 HanjaTable*  hanja_table_load(const char *filename);
-00139 HanjaList*   hanja_table_match_exact(const HanjaTable* table, const char *key);
-00140 HanjaList*   hanja_table_match_prefix(const HanjaTable* table, const char *key);
-00141 HanjaList*   hanja_table_match_suffix(const HanjaTable* table, const char *key);
-00142 void         hanja_table_delete(HanjaTable *table);
-00143 
-00144 int          hanja_list_get_size(const HanjaList *list);
-00145 const char*  hanja_list_get_key(const HanjaList *list);
-00146 const Hanja* hanja_list_get_nth(const HanjaList *list, unsigned int n);
-00147 const char*  hanja_list_get_nth_key(const HanjaList *list, unsigned int n);
-00148 const char*  hanja_list_get_nth_value(const HanjaList *list, unsigned int n);
-00149 const char*  hanja_list_get_nth_comment(const HanjaList *list, unsigned int n);
-00150 void         hanja_list_delete(HanjaList *list);
-00151 
-00152 const char*  hanja_get_key(const Hanja* hanja);
-00153 const char*  hanja_get_value(const Hanja* hanja);
-00154 const char*  hanja_get_comment(const Hanja* hanja);
-00155 
-00156 #ifdef __cplusplus
-00157 }
-00158 #endif
-00159 
-00160 #undef LIBHANGUL_DEPRECATED
-00161 
-00162 #endif /* libhangul_hangul_h */
-

생성시간 : Wed Nov 23 23:31:45 2011, 프로젝트명 : libhangul, 생성자 :   - -doxygen 1.5.3-20071008
- - diff --git a/doc/html/hangul_8h_source.html b/doc/html/hangul_8h_source.html deleted file mode 100644 index 7421a9d..0000000 --- a/doc/html/hangul_8h_source.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - -libhangul: hangul.h 소스 파일 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - - - -
-
-
-
hangul.h
-
-
-
00001 /* libhangul
-00002  * Copyright (C) 2004 - 2007 Choe Hwanjin
-00003  *
-00004  * This library is free software; you can redistribute it and/or
-00005  * modify it under the terms of the GNU Lesser General Public
-00006  * License as published by the Free Software Foundation; either
-00007  * version 2.1 of the License, or (at your option) any later version.
-00008  *
-00009  * This library is distributed in the hope that it will be useful,
-00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00012  * Lesser General Public License for more details.
-00013  *
-00014  * You should have received a copy of the GNU Lesser General Public
-00015  * License along with this library; if not, write to the Free Software
-00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-00017  */
-00018 
-00019 #ifndef libhangul_hangul_h
-00020 #define libhangul_hangul_h
-00021 
-00022 #include <stdbool.h>
-00023 #include <inttypes.h>
-00024 
-00025 #ifdef __GNUC__
-00026 #define LIBHANGUL_DEPRECATED __attribute__((deprecated));
-00027 #else
-00028 #define LIBHANGUL_DEPRECATED
-00029 #endif
-00030 
-00031 #ifdef __cplusplus
-00032 extern "C" {
-00033 #endif
-00034 
-00035 /* hangulctype.c */
-00036 enum {
-00037     HANGUL_CHOSEONG_FILLER  = 0x115f,   /* hangul choseong filler */
-00038     HANGUL_JUNGSEONG_FILLER = 0x1160    /* hangul jungseong filler */
-00039 };
-00040 
-00041 typedef uint32_t ucschar;
-00042 
-00043 bool hangul_is_choseong(ucschar c);
-00044 bool hangul_is_jungseong(ucschar c);
-00045 bool hangul_is_jongseong(ucschar c);
-00046 bool hangul_is_choseong_conjoinable(ucschar c);
-00047 bool hangul_is_jungseong_conjoinable(ucschar c);
-00048 bool hangul_is_jongseong_conjoinable(ucschar c);
-00049 bool hangul_is_syllable(ucschar c);
-00050 bool hangul_is_jamo(ucschar c);
-00051 bool hangul_is_cjamo(ucschar c);
-00052 
-00053 ucschar hangul_jamo_to_cjamo(ucschar ch);
-00054 
-00055 const ucschar* hangul_syllable_iterator_prev(const ucschar* str,
-00056                                              const ucschar* begin);
-00057 const ucschar* hangul_syllable_iterator_next(const ucschar* str,
-00058                                              const ucschar* end);
-00059 
-00060 int     hangul_syllable_len(const ucschar* str, int max_len);
-00061 
-00062 ucschar hangul_jamo_to_syllable(ucschar choseong,
-00063                                 ucschar jungseong,
-00064                                 ucschar jongseong);
-00065 void    hangul_syllable_to_jamo(ucschar syllable,
-00066                                 ucschar* choseong,
-00067                                 ucschar* jungseong,
-00068                                 ucschar* jongseong);
-00069 int     hangul_jamos_to_syllables(ucschar* dest, int destlen,
-00070                                   const ucschar* src, int srclen);
-00071 
-00072 /* hangulinputcontext.c */
-00073 typedef struct _HangulKeyboard        HangulKeyboard;
-00074 typedef struct _HangulCombination     HangulCombination;
-00075 typedef struct _HangulBuffer          HangulBuffer;
-00076 typedef struct _HangulInputContext    HangulInputContext;
-00077 
-00078 enum {
-00079     HANGUL_OUTPUT_SYLLABLE,
-00080     HANGUL_OUTPUT_JAMO
-00081 };
-00082 
-00083 enum {
-00084     HANGUL_KEYBOARD_TYPE_JAMO,
-00085     HANGUL_KEYBOARD_TYPE_JASO,
-00086     HANGUL_KEYBOARD_TYPE_ROMAJA
-00087 };
-00088 
-00089 /* keyboard */
-00090 HangulKeyboard* hangul_keyboard_new(void);
-00091 void    hangul_keyboard_delete(HangulKeyboard *keyboard);
-00092 void    hangul_keyboard_set_value(HangulKeyboard *keyboard,
-00093                                   int key, ucschar value);
-00094 void    hangul_keyboard_set_type(HangulKeyboard *keyboard, int type);
-00095 
-00096 /* combination */
-00097 HangulCombination* hangul_combination_new(void);
-00098 void hangul_combination_delete(HangulCombination *combination);
-00099 bool hangul_combination_set_data(HangulCombination* combination, 
-00100                      ucschar* first, ucschar* second, ucschar* result, unsigned int n);
-00101 
-00102 /* input context */
-00103 HangulInputContext* hangul_ic_new(const char* keyboard);
-00104 void hangul_ic_delete(HangulInputContext *hic);
-00105 bool hangul_ic_process(HangulInputContext *hic, int ascii);
-00106 void hangul_ic_reset(HangulInputContext *hic);
-00107 bool hangul_ic_backspace(HangulInputContext *hic);
-00108 
-00109 bool hangul_ic_is_empty(HangulInputContext *hic);
-00110 bool hangul_ic_has_choseong(HangulInputContext *hic);
-00111 bool hangul_ic_has_jungseong(HangulInputContext *hic);
-00112 bool hangul_ic_has_jongseong(HangulInputContext *hic);
-00113 bool hangul_ic_is_transliteration(HangulInputContext *hic);
-00114 
-00115 void hangul_ic_set_output_mode(HangulInputContext *hic, int mode);
-00116 void hangul_ic_set_keyboard(HangulInputContext *hic,
-00117                             const HangulKeyboard *keyboard);
-00118 void hangul_ic_select_keyboard(HangulInputContext *hic,
-00119                                const char* id);
-00120 void hangul_ic_set_combination(HangulInputContext *hic,
-00121                                const HangulCombination *combination);
-00122 void hangul_ic_connect_callback(HangulInputContext* hic, const char* event,
-00123                                 void* callback, void* user_data);
-00124 
-00125 unsigned    hangul_ic_get_n_keyboards();
-00126 const char* hangul_ic_get_keyboard_id(unsigned index_);
-00127 const char* hangul_ic_get_keyboard_name(unsigned index_);
-00128 
-00129 const ucschar* hangul_ic_get_preedit_string(HangulInputContext *hic);
-00130 const ucschar* hangul_ic_get_commit_string(HangulInputContext *hic);
-00131 const ucschar* hangul_ic_flush(HangulInputContext *hic);
-00132 
-00133 /* hanja.c */
-00134 typedef struct _Hanja Hanja;
-00135 typedef struct _HanjaList HanjaList;
-00136 typedef struct _HanjaTable HanjaTable;
-00137 
-00138 HanjaTable*  hanja_table_load(const char *filename);
-00139 HanjaList*   hanja_table_match_exact(const HanjaTable* table, const char *key);
-00140 HanjaList*   hanja_table_match_prefix(const HanjaTable* table, const char *key);
-00141 HanjaList*   hanja_table_match_suffix(const HanjaTable* table, const char *key);
-00142 void         hanja_table_delete(HanjaTable *table);
-00143 
-00144 int          hanja_list_get_size(const HanjaList *list);
-00145 const char*  hanja_list_get_key(const HanjaList *list);
-00146 const Hanja* hanja_list_get_nth(const HanjaList *list, unsigned int n);
-00147 const char*  hanja_list_get_nth_key(const HanjaList *list, unsigned int n);
-00148 const char*  hanja_list_get_nth_value(const HanjaList *list, unsigned int n);
-00149 const char*  hanja_list_get_nth_comment(const HanjaList *list, unsigned int n);
-00150 void         hanja_list_delete(HanjaList *list);
-00151 
-00152 const char*  hanja_get_key(const Hanja* hanja);
-00153 const char*  hanja_get_value(const Hanja* hanja);
-00154 const char*  hanja_get_comment(const Hanja* hanja);
-00155 
-00156 #ifdef __cplusplus
-00157 }
-00158 #endif
-00159 
-00160 #undef LIBHANGUL_DEPRECATED
-00161 
-00162 #endif /* libhangul_hangul_h */
-
- - - - - - - diff --git a/doc/html/hangulctype_8c.html b/doc/html/hangulctype_8c.html deleted file mode 100644 index 2138ccd..0000000 --- a/doc/html/hangulctype_8c.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - -libhangul: hangulctype.c 파일 참조 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - - - -
-
- -
-
hangulctype.c 파일 참조
-
-
-
#include <stdlib.h>
-#include "hangul.h"
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-함수

bool hangul_is_choseong (ucschar c)
 ì´ˆì„±ì¸ì§€ 확인하는 함수
bool hangul_is_jungseong (ucschar c)
 ì¤‘성인지 확인하는 함수
bool hangul_is_jongseong (ucschar c)
 ì¢…성인지 확인하는 함수
-bool hangul_is_combining_mark (ucschar c)
-bool hangul_is_choseong_conjoinable (ucschar c)
 ì´ˆì„±ì´ê³  조합 가능한지 확인
-bool hangul_is_jungseong_conjoinable (ucschar c)
 ì¤‘성이고 조합 가능한지 확인
-bool hangul_is_jongseong_conjoinable (ucschar c)
 ì¢…성이고 조합 가능한지 확인
bool hangul_is_syllable (ucschar c)
 í•œê¸€ 음절 인지 확
bool hangul_is_jamo (ucschar c)
 ìžëª¨ 인지 확인
bool hangul_is_cjamo (ucschar c)
 í˜¸í™˜ 자모인지 확인
ucschar hangul_jamo_to_cjamo (ucschar c)
 ìžëª¨ 코드를 대응하는 호환 자모로 변환
-ucschar hangul_choseong_to_jongseong (ucschar c)
-ucschar hangul_jongseong_to_choseong (ucschar c)
-void hangul_jongseong_decompose (ucschar c, ucschar *jong, ucschar *cho)
-void hangul_jongseong_dicompose (ucschar c, ucschar *jong, ucschar *cho)
-ucschar hangul_jongseong_get_diff (ucschar prevjong, ucschar jong)
ucschar hangul_jamo_to_syllable (ucschar choseong, ucschar jungseong, ucschar jongseong)
 ìžëª¨ 코드를 조합하여 한글 음절로 변환
void hangul_syllable_to_jamo (ucschar syllable, ucschar *choseong, ucschar *jungseong, ucschar *jongseong)
 ìŒì ˆì„ 자모로 분해
void hangul_syllable_to_jaso (ucschar syllable, ucschar *choseong, ucschar *jungseong, ucschar *jongseong)
int hangul_syllable_len (const ucschar *str, int max_len)
 í•œ 음절에 해당하는 코드의 갯수를 구하는 함수
const ucscharhangul_syllable_iterator_prev (const ucschar *iter, const ucschar *begin)
 iter를 기준으로 이전 음절의 첫자모 글자에 대한 포인터를 구하는 함수
const ucscharhangul_syllable_iterator_next (const ucschar *iter, const ucschar *end)
 iter를 기준으로 다음 음절의 첫자모 글자에 대한 포인터를 구하는 함수
int hangul_jamos_to_syllables (ucschar *dest, int destlen, const ucschar *src, int srclen)
 ìžëª¨ 스트링을 음절 스트링으로 변환
-

상세한 설명

-

함수 문서화

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void hangul_syllable_to_jaso (ucschar syllable,
ucscharchoseong,
ucscharjungseong,
ucscharjongseong 
)
-
-
-
잘못된 코드:
이 함수 대신 hangul_syllable_to_jamo함수를 사용한다.
- -

다음을 참조함 : hangul_syllable_to_jamo().

- -
-
-
- - - - - - - diff --git a/doc/html/hangulinputcontext_8c.html b/doc/html/hangulinputcontext_8c.html deleted file mode 100644 index 69e4779..0000000 --- a/doc/html/hangulinputcontext_8c.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - -libhangul: hangulinputcontext.c 파일 참조 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - - - -
-
- -
-
hangulinputcontext.c 파일 참조
-
-
-
#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-#include <inttypes.h>
-#include <limits.h>
-#include "hangul-gettext.h"
-#include "hangul.h"
-#include "hangulinternals.h"
-#include "hangulkeyboard.h"
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-매크로

-#define TRUE   1
-#define FALSE   0
-#define HANGUL_KEYBOARD_TABLE_SIZE   0x80

-타입정의

-typedef void(* HangulOnTranslate )(HangulInputContext *, int, ucschar *, void *)
-typedef bool(* HangulOnTransition )(HangulInputContext *, ucschar, const ucschar *, void *)
-typedef struct
-_HangulCombinationItem 
HangulCombinationItem

-함수

-HangulKeyboard * hangul_keyboard_new ()
-void hangul_keyboard_set_value (HangulKeyboard *keyboard, int key, ucschar value)
-void hangul_keyboard_set_type (HangulKeyboard *keyboard, int type)
-void hangul_keyboard_delete (HangulKeyboard *keyboard)
-HangulCombination * hangul_combination_new ()
-void hangul_combination_delete (HangulCombination *combination)
-bool hangul_combination_set_data (HangulCombination *combination, ucschar *first, ucschar *second, ucschar *result, unsigned int n)
-ucschar hangul_combination_combine (const HangulCombination *combination, ucschar first, ucschar second)
bool hangul_ic_process (HangulInputContext *hic, int ascii)
 í‚¤ 입력을 처리하여 실제로 한글 조합을 하는 함수
const ucscharhangul_ic_get_preedit_string (HangulInputContext *hic)
 í˜„재 상태의 preedit string을 구하는 함수
const ucscharhangul_ic_get_commit_string (HangulInputContext *hic)
 í˜„재 상태의 commit string을 구하는 함수
void hangul_ic_reset (HangulInputContext *hic)
 HangulInputContext 를 초기상태로 되돌리는 함수
const ucscharhangul_ic_flush (HangulInputContext *hic)
 HangulInputContext 의 입력 상태를 완료하는 함수
bool hangul_ic_backspace (HangulInputContext *hic)
 HangulInputContext 가 backspace 키를 처리하도록 하는 함수
bool hangul_ic_is_empty (HangulInputContext *hic)
 HangulInputContext 가 조합중인 글자를 가지고 있는지 확인하는 함수
bool hangul_ic_has_choseong (HangulInputContext *hic)
 HangulInputContext 가 조합중인 초성을 가지고 있는지 확인하는 함수
bool hangul_ic_has_jungseong (HangulInputContext *hic)
 HangulInputContext 가 조합중인 중성을 가지고 있는지 확인하는 함수
bool hangul_ic_has_jongseong (HangulInputContext *hic)
 HangulInputContext 가 조합중인 종성을 가지고 있는지 확인하는 함수
-void hangul_ic_set_output_mode (HangulInputContext *hic, int mode)
-void hangul_ic_connect_translate (HangulInputContext *hic, HangulOnTranslate callback, void *user_data)
-void hangul_ic_connect_transition (HangulInputContext *hic, HangulOnTransition callback, void *user_data)
-void hangul_ic_connect_callback (HangulInputContext *hic, const char *event, void *callback, void *user_data)
-void hangul_ic_set_keyboard (HangulInputContext *hic, const HangulKeyboard *keyboard)
void hangul_ic_select_keyboard (HangulInputContext *hic, const char *id)
 HangulInputContext 의 자판 배열을 바꾸는 함수
-void hangul_ic_set_combination (HangulInputContext *hic, const HangulCombination *combination)
HangulInputContexthangul_ic_new (const char *keyboard)
 HangulInputContext 오브젝트를 생성한다.
void hangul_ic_delete (HangulInputContext *hic)
 HangulInputContext 를 삭제하는 함수
-unsigned int hangul_ic_get_n_keyboards ()
-const char * hangul_ic_get_keyboard_id (unsigned index_)
-const char * hangul_ic_get_keyboard_name (unsigned index_)
bool hangul_ic_is_transliteration (HangulInputContext *hic)
 ì£¼ì–´ì§„ hic가 transliteration method인지 판별
-

상세한 설명

-
- - - - - - - diff --git a/doc/html/hanja_8c.html b/doc/html/hanja_8c.html deleted file mode 100644 index 79d66df..0000000 --- a/doc/html/hanja_8c.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - -libhangul: hanja.c 파일 참조 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - - - -
-
- -
-
hanja.c 파일 참조
-
-
-
#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include "hangul.h"
-#include "hangulinternals.h"
-#include "hanjacompatible.h"
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-매크로

-#define TRUE   1
-#define FALSE   0

-타입정의

-typedef struct _HanjaIndex HanjaIndex
-typedef struct _HanjaPair HanjaPair
-typedef struct _HanjaPairArray HanjaPairArray

-함수

const char * hanja_get_key (const Hanja *hanja)
 Hanja 의 키를 찾아본다.
const char * hanja_get_value (const Hanja *hanja)
 Hanja 의 값을 찾아본다.
const char * hanja_get_comment (const Hanja *hanja)
 Hanja 의 설명을 찾아본다.
HanjaTablehanja_table_load (const char *filename)
 í•œìž 사전 파일을 로딩하는 함수
void hanja_table_delete (HanjaTable *table)
 í•œìž 사전 object를 free하는 함수
HanjaListhanja_table_match_exact (const HanjaTable *table, const char *key)
 í•œìž 사전에서 매치되는 키를 가진 엔트리를 찾는 함수
HanjaListhanja_table_match_prefix (const HanjaTable *table, const char *key)
 í•œìž 사전에서 앞부분이 매치되는 키를 가진 엔트리를 찾는 함수
HanjaListhanja_table_match_suffix (const HanjaTable *table, const char *key)
 í•œìž 사전에서 뒷부분이 매치되는 키를 가진 엔트리를 찾는 함수
-int hanja_list_get_size (const HanjaList *list)
 HanjaList 가 가지고 있는 아이템의 갯수를 구하는 함수
const char * hanja_list_get_key (const HanjaList *list)
 HanjaList 가 생성될때 검색함수에서 사용한 키를 구하는 함수
const Hanjahanja_list_get_nth (const HanjaList *list, unsigned int n)
 HanjaList 의 n번째 Hanja 아이템의 포인터를 구하는 함수
const char * hanja_list_get_nth_key (const HanjaList *list, unsigned int n)
 HanjaList 의 n번째 아이템의 키를 구하는 함수
const char * hanja_list_get_nth_value (const HanjaList *list, unsigned int n)
 HanjaList 의 n번째 아이템의 값를 구하는 함수
const char * hanja_list_get_nth_comment (const HanjaList *list, unsigned int n)
 HanjaList 의 n번째 아이템의 설명을 구하는 함수
void hanja_list_delete (HanjaList *list)
 í•œìž 사전 검색 함수가 리턴한 결과를 free하는 함수
-size_t hanja_compatibility_form (ucschar *hanja, const ucschar *hangul, size_t n)
-size_t hanja_unified_form (ucschar *str, size_t n)
-

상세한 설명

-
- - - - - - - diff --git a/doc/html/index.html b/doc/html/index.html deleted file mode 100644 index 093d171..0000000 --- a/doc/html/index.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - -libhangul: 메인 페이지 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - -
-
-
-
libhangul 문서화
-
-
-

-libhangul 소개

-

libhangul은 기본적인 한글 관련 루틴들을 구현한 라이브러리다. 주로 한글 입력기능을 구현한 것으로 이 라이브러리를 사용하면 비교적 손쉽게 한글 입력기를 구현할 수 있다. 현재 많은 linux의 입력기들이 이 라이브러리로 구현되어 있다.

-

-개발 문서

-

libhangul에서 제공하는 기능들은 다음 레퍼런스에서 찾아볼 수 있다.

-
    -
  • 한글 글자 조작 : 유니코드로된 한글 글자를 구분하고 조작하는 함수이다. 이 함수들을 이용하면 자모 코드를 음절로 조합할 수 있고 또 음절을 자모 코드로 분리할 수 있다.
  • -
  • Hangul Input Context의 사용법 : 한글 입력 기능을 제공한다. 이 함수들을 이용하여 키 입력에 따른 한글 조합 기능을 손쉽게 구현할 수 있다.
  • -
  • 한자 사전 루틴의 사용 방법 : 한자 사전 파일 관련 기능을 제공한다. 이 함수들을 이용하여 libhangul에서 제공하는 한자 사전 파일을 찾아볼 수 있다.
  • -
  • 한글 자판 : libhangul에서 제공하는 한글 자판에 대한 설명이다.
  • -
-

-다운로드

-

최근 릴리스들은 libhangul의 프로젝트 페이지에서 받을 수 있다.

-

http://code.google.com/p/libhangul/downloads/list

-

개발버젼의 소스는 github의 repository에서 받을 수 있다.

-
git clone git://github.com/choehwanjin/libhangul.git
-

-버그리포트

-

libhangul의 버그는 Google code의 버그트래커로 관리하고 있다.

-

버그트래커: http://code.google.com/p/libhangul/issues/list

-

-웹주소

-

libhangul은 Google code에서 호스팅되고 있다.

-

Project page: http://code.google.com/p/libhangul/

-
- - - - - - diff --git a/doc/html/modules.html b/doc/html/modules.html deleted file mode 100644 index 395cb27..0000000 --- a/doc/html/modules.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - -libhangul: 모듈 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - -
-
-
-
모듈
-
- - - - - - - diff --git a/doc/html/nav_f.png b/doc/html/nav_f.png deleted file mode 100644 index 1b07a16207e67c95fe2ee17e7016e6d08ac7ac99..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 159 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQfZzpjv*C{Z|{2YIT`Y>1X`Eg z-tTbne1`SITM8Q!Pb(<)UFZ(m>wMzvKZQqKM~~GcZ=A7j<~E6K62>ozFS=cD3)mf8 z9WX0+R&m(l9KUsLdTx4?9~({T__KA%`}olPJ^N;y|F^pHgs_K%!rj~{8>RwnWbkzL Kb6Mw<&;$VTdq1fF diff --git a/doc/html/nav_h.png b/doc/html/nav_h.png deleted file mode 100644 index 01f5fa6a596e36bd12c2d6ceff1b0169fda7e699..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 97 zcmeAS@N?(olHy`uVBq!ia0vp^j6lr8!2~3AUOE6t1`SUa$B+ufw|6&kG8phMJMJ~w va4>Y+bZ&9QY?(VEUPY_cGd9nQ`um^ZSUyYpAAuKhL7F^W{an^LB{Ts5DmojT diff --git a/doc/html/open.png b/doc/html/open.png deleted file mode 100644 index 7b35d2c2c389743089632fe24c3104f2173d97af..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 118 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{Vww^AIAr*{o=Nbw!DDW^(zOibV zl!F8B0?t?i!vld4k#$~0_AX3zElaokn - - - - -libhangul: 관련된 페이지 - - - - - - - - -
- - -
- - - - - - - - - - - -
-
libhangul -  Version 0.1.0 -
- -
-
- - - -
-
-
-
관련된 페이지
-
-
-
다음은 관련된 모든 문서화 페이지들의 목록입니다.:
-
- - - - - - diff --git a/doc/html/tab_a.png b/doc/html/tab_a.png deleted file mode 100644 index 2d99ef23fed78c7683f0b5aa803d937060d288c4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!Qo)`sjv*C{Z|CmjY;X`^DSv)) z;hc^cTF;t%XWXdwWP5+kt?jQ5uhqKtjd^EY`^^-S;M%tFAj_l)EwVTK)E@1LSD0{e q?a6($SGQTzz1#QBzr0NMKf^0WCX-0bi?u-G89ZJ6T-G@yGywp8?ljB* diff --git a/doc/html/tab_b.gif b/doc/html/tab_b.gif deleted file mode 100644 index 0d623483ffdf5f9f96900108042a7ab0643fe2a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 35 ncmZ?wbhEHbWMp7uXkcJy*>IeJfk6j|fqX^=1|}vKMh0sDa2W*H diff --git a/doc/html/tab_b.png b/doc/html/tab_b.png deleted file mode 100644 index b2c3d2be3c7e518fbca6bb30f571882e72fc506d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 178 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!Qk9-Ajv*C{Z|~mbJ)|JfaM8Xd zIP7xAmLwau9@iXhZTrl-TjWj9jM#?{xt`6uU{<)jb9Suc^QnbhJ(o{ib8=j9u0_mE8M7kgF7f<7W7IEf=8(L_qx|g0H;V7iPxm&Q@G7p8W2Kx&iT|YUM=ITC zY<0Qbr;u&AtXD{o@41wH=7&d8=2Z_{M9Tsa=g*t*@A3H$UOlxZk7?f6RUWpx>Fc_L s#LQ{edY3MpIXkMeV^&YV=9fR%8Jv|Kya=#u06K}m)78&qol`;+0RKEt)&Kwi diff --git a/doc/html/tab_l.gif b/doc/html/tab_l.gif deleted file mode 100644 index 9b1e6337c9299a700401a2a78a2c6ffced475216..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 706 zcmZ?wbhEHbZT`}F1e&(Gg}Y(8=I;HA5#Z$3JI=gGB)FQ#odI(O&E^@q;x zK6mr*m3xOS-#u~t!I@i+u0DKm^U160k6t`|^WpV}&n+8{U%dD9&a>B#U%!9-@yol< zU%&tQ{rk_K|NsC0`}dE5ET99@1@a36+kb~?0UJ*yc&I3X_m z!ND^5$O7$#8OFRuDhG}!?8z?cdZK&!`PWjdR;Aj^wZ` zeK{IEYHBJ)6K8VIp1`BVt++swf6j+=L{p1*nO(VhE`pFexG@5$|>uaCcd z`0m=9m+yak{QmXN#Sc$^{$X9h9&q2jiKAI|&T)a;PPx2K9p`YIdw8HtR5k2Q$2-O2 z*;3y{MQ-RnJTgJfI&R5|O)AHxDf_00XbPvDZPy4t=hHd)nfLPvms&O`Ok(sD()5v$ z5U@&h;a=#xbxVbo2~X&Xj0Ie(f{v>vERH+qC+nTG=B8Nca=wU-O$?1&vUgV~9=!H; zx>3p9Yn%*<>t~sk+&0xfyS8RsPfYBd<~wWK%j-LmpU>O7yX^h#UCp1x-p#i7@bE;py8XI6 zmY<)m>~)W~yIWcMVoiPg{duuf<*)9qZ9l$m*Ph&W&$jlv*Vpa+{pH@n=IQ$L?0$ax ec60Ul|8o2P|NVbd{6P)#weSbE3}s?04AuZvx_~SI diff --git a/doc/html/tab_r.gif b/doc/html/tab_r.gif deleted file mode 100644 index ce9dd9f533cb5486d6941844f442b59d4a9e9175..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2585 zcmbV}`9Bkk1ILFF--w5zJc=ZZT(zjE=;2|_S)Qm~rCWz1Pc)KPl;jv%A#&v2*x}yc zmf2~Jm~&=xjJY?PqwIN}f8qQ2{r$uH{c*nJbmr{cR5??*egHrs-B=MzCF`3%e{FAW z{oL5xTHn~5TM{jaB;@|_Ue5F&Zb@p(kMyG{*;gWDg zyeL|eZf7Qd8=#bXzSiR{yzRgLSj-fJS8>lBjVHN z^o-0eS=nE6a`W;LChBs=`+QAJP~{b93>H^eRb5kCSC1zUNezun%`L5M?RDzv#%jk7 zYVRX=vATPD`+oEfum^{RM@GjuP?-r=yh0!p;Vx^T9G7~`7%5ydH%70=jyJ;;`d;hv92x3R=z{xp+Lg2!*@OK*K15-t&okoPtSED)h&$RLxdbA zseWm^C3d%-yRNi-ryk^!ek+C`n&~cd$#ZWct_cUL{l~i+Nzx^5d!n94(>bW-iL~Rl z&8r)?q|1DIo=0=judQ{FaGcfLERz8gfn3-Qt<2lksh{mzpT}DXxUuR^z=^key&q4! z+wWI45vL0k$R^(F#{qfqhUsN@WA+w-V?LPH33!Q?WFSB3)WBojE@hK41Nb?KfS+Qo zXgrzfsP$wr4Qzy*{OD>uJBjdgGM@VMml5)2f~_}lD*YyOb}Hjeobhz#4c`w(l^>KK zr?Ud;W~Z}*w;%hZ|2^p^+f06gJDJQD zeIhGADbDmm&6arh(q>EZ<7mjzg7l|z$hRL8=1>)Nv=S7CY$B}iYJ&*T_-T_OG*L1q ztZ3Lana33?y3AKnyq^YCF|4x%Rb5WU&2qcl{TFKey%QJeMxn^SdT!hZ5+0i1zeusiYVp-phBl7b5+Px-X&LhByq z0F&<;K0l2+v>qiHlXb#$jXMv$uK-dEGE9L~qtdU(XeRXmvu*K2Q&6!fD**JxYP4b4BR7FdJ$Qx9G9`J%-_X!a#LGpp3g9)VWytGCa;7`S1_e8F~!R+aSJ zOF17p2`H?2kPs8Q`_;U}+D%3p zs2-0BTqFwpUoBk`?P;iPQ(IbEA|JmMx!P&YYG|R@S=5Mnw;-?A6rEEVyV%d7{iU4a zNk`i!%F(Ykpm`}#oH;BjY->@b8vQedv;pza2FL&*6ufjd+*3Ute&>kes~TU?^KkojsTh(o~(3tk1Y6>4(yn( z#U*ID9@eg-beKo1B;HXe+}{Z%n@7m0+yxivuqk9~;!1LGQlah)xYK4>wgL}l6dsaN zIxlRlq`*`j9PG4*0hD6YV_b_2w5b#)o7J?`q#{GjvvKlD`T*dWcZx<-s(ZvLB44E# z=!|sw!?)@%y$oRNL#25WS3lzdii}TuQ3?CLnvQ1_n};2sT_;Y;#d3=+-(O% zMN$>O!3;ke(UuLR%h_&)N zs^!-@A>QR}4yB1bPp`9S19ikTbZ~O{&FF-yHK{En;mmShDUIEw03`j(DBIsM}Rjki2J#SQa3gFZTKBPDeIiLt9Z z%bL3(B@Qw%(B`wSMS~dPh$=R`(}lBoFXKy(s|*{#ru$wjsBc_O#zxNk9w+UUHmx(U zmJ8+M+ndtnZ<7|VU9Mbt61zpo9T&3%Wx&XII=#QJxjR`CZf22ac3d51Z?GD%LEe_&*t46Qf;4`bZ7p2K(Ab5>GfT^}4! zBT&HZD`^PEgWoI&{~o-ID0F?O`75sm(87x%A{(}Ch1)QlzdJ)1B-eqe5a(weg0`4lQIf1evjvbBY50DVbzO7CLf|vP z2#0(U-|jZ`H{y5N^o7%iK6H>_HEGN->U6^!)1{XpJV!!4(Ig7wzZQ*9WYF4X1rG0x z=1uA@i`rIAciubDC{;~b(|&|A@xkjRP5aRcvRU9tvIm}jDB6J eQ0-6-y)mpwdT=ayS0tBxKDA*~;EWmo diff --git a/doc/html/tab_s.png b/doc/html/tab_s.png deleted file mode 100644 index 978943ac807718de0e69e5a585a8f0a1e5999285..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 189 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QZ1e?jv*C{Z|}b5Yzkm-c<7z3 zq^cq0=~}Z;b(!Zvb5Z%sTRFKGlz1=qOFg;myyu?$r`wZb^irPsN1a)6)TwB0r+)wb zPL25;=adu89?fTK`qDR>$D*)b_WOmdKI;Vst02j(hg8%>k diff --git a/doc/html/tabs.css b/doc/html/tabs.css deleted file mode 100644 index 2192056..0000000 --- a/doc/html/tabs.css +++ /dev/null @@ -1,59 +0,0 @@ -.tabs, .tabs2, .tabs3 { - background-image: url('tab_b.png'); - width: 100%; - z-index: 101; - font-size: 13px; -} - -.tabs2 { - font-size: 10px; -} -.tabs3 { - font-size: 9px; -} - -.tablist { - margin: 0; - padding: 0; - display: table; -} - -.tablist li { - float: left; - display: table-cell; - background-image: url('tab_b.png'); - line-height: 36px; - list-style: none; -} - -.tablist a { - display: block; - padding: 0 20px; - font-weight: bold; - background-image:url('tab_s.png'); - background-repeat:no-repeat; - background-position:right; - color: #283A5D; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; - outline: none; -} - -.tabs3 .tablist a { - padding: 0 10px; -} - -.tablist a:hover { - background-image: url('tab_h.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); - text-decoration: none; -} - -.tablist li.current a { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} -- 2.7.4