ImeGprot.h
107 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2005
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*****************************************************************************
*
* Filename:
* ---------
* ImeGprot.h
*
* Project:
* --------
* Maui_Software
*
* Description:
* ------------
*
* Author:
* -------
* -------
*
*============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
dear Sikun,
I have checked in code in input server for calling correct toggle state , but because of wrong call sequencing in imc_pen , it gets removed.As discussed ,please help to check the flow in pen.you may need to make sure the call to setup and set active row id is made only once
Thanks
[Keyu 5/22]
Dear Manik,
UC will set the enter key style as "IME_VK_ENTER_KEY_STYLE_DONE" for this "To" editor, and the enter key will be enabled after user input a valid recipient. Please help to check the enter key behavier on VK , thanks!
[Load Path]
\\mtksdd01.gslb.mediatek.inc\high_priority\sw_releases\W12.20\11B\KHAN50_V11_DEMO_GPRS(12864_COSMOS_WQVGA_CN)
* removed!
*
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
Dear Sikun,
i have checked in parser in 11B , the enum will have _SHIFT added , please fix the issue , let me know if its ok , i will checkin in 20mp once u say its ok.
Thanks
[dear manik]
this is similar issue with previous one, please help to generate new enum for thai shift keyboard, and give me the enum for check in, thank you.
[Load Path]
\\Mtksdd01.gslb.mediatek.inc\high_priority\sw_releases\W12.18\11B\official
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
I implement that api and checked in, you can get it form peforce thank you.
[Kuldeep 5/2]
Dear Sikun,
I have done my part and checkin done.
Please help to complete your part and let me know when you are done,
Thanks
[Manik]
dear Kuldeep,
Please help to take care of this issuein coomscreens.c
[Manik]
deart Kuldeep,
The issue needs addition of a new function in commonscreens.c which would show in the context menu of editor , we cannot be calling imc_pen api here , as this one needs to attach to screen group .
here is how to go about it :
Make a new screen exaclt like wlanguage , now you need 3 things
1) event handlers 3) menu stirngs 3) calls to event handler in mmi_imc_options_menu_handler
instead of tweaking the exisitng menus , i suggest add new one with new streing names , it will be much faster ,
on sikuns part , he will esxpose an api which would provide you the list and event handler to be called when an item is selected.
as this is commonscreens code , and not the imc_pen popup ,
another thing , this screen is not going to be same as the one shown from vk , this will be like other editor context screens , it will only have wlanguages + for chinese instead of wlang , the input mode and handwriting .
it will not show any switch vk style or settings button ( i think this is obvious , just writing to clarify )
feel free to discuss with me if any issue.
Thanks
[Kuldeep 4/25]
Dear Sikun,
Please help to check this imc pen implementation issue.
thanks
[Manik]
dear kuldeep,
as discussed , we should be showing the list the same list which gets shown for change mode key ,please call the same api from coomnscreens to get the data for imev3.
Thanks
[Kuldeep 4/19]
Dear Sikun,
You have already implemented input method list on pluto and done all related handling so It would be better if you implement same list and releated handling on this menu item as you done previously.
thanks
[Xianghe]
Dear Kuldeep,
This is IMEv3 issue, please check it. Thanks~
[Raghav]
Dear Xianghe,
This behaviour (i.e. On selecting Message Editor-> Options -> Input method -> show Multi-language) was not expected and always input modes are displayed, but if this is the desired behaviour please help to change the class to change feature.
P.S. We already have Writing language screen on Message Editor-> Options -> Input method Options-> Writing language
Thanks.
[Xianghe]
Deaer Raghav,
There it should show the multi-languages, but not the input methods of a language.
About the UE behavior, I think you can contact Joy Wu.
Thanks~
[Raghav]
Dear Xianghe,
Please let me know the desired behaviour. As I think the behaviopur is as expected when __MMI_PREFER_WRITING_LANG__ is ON
Thanks.
[Kuldeep 4/18]
Dear Raghav,
Please help to check the strings passes by IMM.
If not related to imev3 modify the category.
Thanks
[sikun]
dear kuldeep,
please help to check this problem on setting side, thank you.
[Load Path]
\\mtksdd01.gslb.mediatek.inc\high_priority\sw_releases\W12.16\11B\temp\p9
* removed!
*
* removed!
* removed!
I implement that api and checked in, you can get it form peforce thank you.
[Kuldeep 5/2]
Dear Sikun,
I have done my part and checkin done.
Please help to complete your part and let me know when you are done,
Thanks
[Manik]
dear Kuldeep,
Please help to take care of this issuein coomscreens.c
[Manik]
deart Kuldeep,
The issue needs addition of a new function in commonscreens.c which would show in the context menu of editor , we cannot be calling imc_pen api here , as this one needs to attach to screen group .
here is how to go about it :
Make a new screen exaclt like wlanguage , now you need 3 things
1) event handlers 3) menu stirngs 3) calls to event handler in mmi_imc_options_menu_handler
instead of tweaking the exisitng menus , i suggest add new one with new streing names , it will be much faster ,
on sikuns part , he will esxpose an api which would provide you the list and event handler to be called when an item is selected.
as this is commonscreens code , and not the imc_pen popup ,
another thing , this screen is not going to be same as the one shown from vk , this will be like other editor context screens , it will only have wlanguages + for chinese instead of wlang , the input mode and handwriting .
it will not show any switch vk style or settings button ( i think this is obvious , just writing to clarify )
feel free to discuss with me if any issue.
Thanks
[Kuldeep 4/25]
Dear Sikun,
Please help to check this imc pen implementation issue.
thanks
[Manik]
dear kuldeep,
as discussed , we should be showing the list the same list which gets shown for change mode key ,please call the same api from coomnscreens to get the data for imev3.
Thanks
[Kuldeep 4/19]
Dear Sikun,
You have already implemented input method list on pluto and done all related handling so It would be better if you implement same list and releated handling on this menu item as you done previously.
thanks
[Xianghe]
Dear Kuldeep,
This is IMEv3 issue, please check it. Thanks~
[Raghav]
Dear Xianghe,
This behaviour (i.e. On selecting Message Editor-> Options -> Input method -> show Multi-language) was not expected and always input modes are displayed, but if this is the desired behaviour please help to change the class to change feature.
P.S. We already have Writing language screen on Message Editor-> Options -> Input method Options-> Writing language
Thanks.
[Xianghe]
Deaer Raghav,
There it should show the multi-languages, but not the input methods of a language.
About the UE behavior, I think you can contact Joy Wu.
Thanks~
[Raghav]
Dear Xianghe,
Please let me know the desired behaviour. As I think the behaviopur is as expected when __MMI_PREFER_WRITING_LANG__ is ON
Thanks.
[Kuldeep 4/18]
Dear Raghav,
Please help to check the strings passes by IMM.
If not related to imev3 modify the category.
Thanks
[sikun]
dear kuldeep,
please help to check this problem on setting side, thank you.
[Load Path]
\\mtksdd01.gslb.mediatek.inc\high_priority\sw_releases\W12.16\11B\temp\p9
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*============================================================================
****************************************************************************/
#include "MMI_features.h"
//DOM-NOT_FOR_SDK-BEGIN
#ifndef __IMEGROT_H__
#define __IMEGROT_H__
#include "mmi_frm_gprot.h"
#include "gdi_datatype.h"
#ifdef __MMI_TOUCH_SCREEN__
#include "gui_virtual_keyboard_language_type.h"
#endif /* __MMI_TOUCH_SCREEN__ */
#ifdef __MMI_CLIPBOARD__
#include "ems.h"
#endif /* __MMI_CLIPBOARD__ */
#include "ImeGprotEnums.h"
#include "MenuCuiGprot.h"
/*****************************************************************************
* Defines
*****************************************************************************/
#if defined(__MMI_EDITOR_OPTION_MENU_STYLE_3__) && defined(__MMI_SMART_ALPHABETIC_INPUT_METHODS__)&& ( defined(__MMI_ZI__) || ( defined(__MMI_T9__)&& defined(__MMI_IME_USER_DATABASE__) ) )
#ifndef __MMI_IME_AUTO_COMPLETION_SETTING__
#define __MMI_IME_AUTO_COMPLETION_SETTING__
#endif
#endif
#if defined(__MMI_EDITOR_OPTION_MENU_STYLE_3__) && defined(__MMI_IME_AUTO_CAPITALIZATION__)
#ifndef __MMI_IME_AUTO_CAPITALIZATION_SETTING__
#define __MMI_IME_AUTO_CAPITALIZATION_SETTING__
#endif
#endif
#if defined(__MMI_SMART_ALPHABETIC_INPUT_METHODS__) && defined(__MMI_IME_ENGLISH__)
#define __MMI_IME_AUTO_SPACE_SETTING__
#endif
#if defined(__MMI_EDITOR_OPTION_MENU_STYLE_3__) && defined(__MMI_SMART_PHONETIC_INPUT_METHODS__)
#ifndef __MMI_IME_PHONETIC_PREDICTION_SETTING__
#define __MMI_IME_PHONETIC_PREDICTION_SETTING__
#endif
#endif
#if defined(__MMI_EDITOR_OPTION_MENU_STYLE_3__) && defined(__MMI_SMART_ALPHABETIC_INPUT_METHODS__)&& ! defined (__MMI_CSTAR__) && defined (__MMI_ALPHABETIC_WORD_PREDICTION__)
#ifndef __MMI_IME_ALPHABETIC_PREDICTION_SETTING__
#define __MMI_IME_ALPHABETIC_PREDICTION_SETTING__
#endif
#endif
#if defined(__MMI_EDITOR_OPTION_MENU_STYLE_3__) && defined(__MMI_IME_FTE_ENHANCE__) && defined(__MMI_TOUCH_SCREEN__)
#ifndef __MMI_IME_INPUT_PATTERN_SETTING__
#define __MMI_IME_INPUT_PATTERN_SETTING__
#endif
#endif
#if defined (__MMI_IME_PLUG_IN_SETTING__) || defined (__MMI_IME_AUTO_COMPLETION_SETTING__) || defined (__MMI_IME_AUTO_CAPITALIZATION_SETTING__) || defined (__MMI_IME_ALPHABETIC_PREDICTION_SETTING__) || defined (__MMI_IME_PHONETIC_PREDICTION_SETTING__)
#ifndef __MMI_IME_INPUT_ADVANCED_SETTING__
#define __MMI_IME_INPUT_ADVANCED_SETTING__
#endif
#endif
#if !defined(__MMI_ZI__) && !defined(__MMI_T9__) && !defined(__MMI_CSTAR__)&& !defined(__MMI_GUOBI__)
#define __MMI_NO_IME_VENDOR__
#endif
#if defined(__MMI_IME_SMART_WITH_INPUT_AREA__) || defined(__MMI_SMART_ALPHABETIC_RESELECTION__)
#define __MMI_IME_CANDIDATE_FILTER__
#endif
#if defined(__MMI_CSTAR_USER_DICT__) && !defined(__MMI_TOUCH_SCREEN__) && !defined(__MMI_IME_USER_DATABASE__)
#define __MMI_IME_USER_DATABASE__
#endif
#if defined(__MMI_IME_FTE_ENHANCE__) && \
(((defined(__MMI_ZI_MULTITAP_PHONETIC_INPUT__) || defined(__MMI_ZI_SMART_PHONETIC_INPUT__)) && defined(__MMI_ZI_TR_CHINESE__)) || \
((defined(__MMI_GB_MULTITAP_PHONETIC_INPUT__) || defined(__MMI_GB_SMART_PHONETIC_INPUT__)) && defined(__MMI_GB_TR_CHINESE__)) || \
((defined(__MMI_T9_MULTITAP_PHONETIC_INPUT__) || defined(__MMI_T9_SMART_PHONETIC_INPUT__)) && defined(__MMI_T9_TR_CHINESE__)) || \
((defined(__MMI_CSTAR_MULTITAP_PHONETIC_INPUT__) || defined(__MMI_CSTAR_SMART_PHONETIC_INPUT__)) && defined(__MMI_CSTAR_TR_CHINESE__))) && \
((defined(__MMI_MAINLCD_240X320__)) || (defined(__MMI_MAINLCD_240X400__))||(defined(__MMI_MAINLCD_320X480__) && defined(__COSMOS_MMI_PACKAGE__)) || \
(defined(__MMI_MAINLCD_480X800__)))
#define __MMI_IME_ZHUYIN_HALF_QWERTY_VK__
#endif
/*****************************************************************************
* Global variables
*****************************************************************************/
/*****************************************************************************
* Enums
*****************************************************************************/
typedef enum
{
IMM_KEYPAD_ALPHANUMERIC,
IMM_KEYPAD_QWERTY,
IMM_KEYPAD_HANDWRITING,
IMM_KEYPAD_END_OF_ENUM
}mmi_imm_keypadtype_enum;
typedef enum {
MMI_IMC_MESSAGE_NONE = 0x0,
MMI_IMC_MESSAGE_INSERT_STRING,
MMI_IMC_MESSAGE_INSERT_CHAR,
MMI_IMC_MESSAGE_INSERT_NEW_LINE,
MMI_IMC_MESSAGE_INSERT_MULTITAP_CHAR,
MMI_IMC_MESSAGE_INSERT_MULTITAP_STRING,
MMI_IMC_MESSAGE_DELETE_CHAR,
MMI_IMC_MESSAGE_DELETE_STRING,
MMI_IMC_MESSAGE_CLEAR_ALL,
MMI_IMC_MESSAGE_CLEAR_HILIGHT,
MMI_IMC_MESSAGE_MOVE_CURSOR,
MMI_IMC_MESSAGE_HILIGHT_BFCURSOR,
MMI_IMC_MESSAGE_GET_INPUT_BOX_RECT,
MMI_IMC_MESSAGE_GET_HANDWRITING_RECT,
MMI_IMC_MESSAGE_GET_HANDWRITING_STYLE,
MMI_IMC_MESSAGE_RESET_MULTITAP_STATE,
MMI_IMC_MESSAGE_RESIZE,
MMI_IMC_MESSAGE_MOVE,
MMI_IMC_MESSAGE_REDRAW,
MMI_IMC_MESSAGE_UPDATE_SOFTKEY,
MMI_IMC_MESSAGE_KEY_EVENT,
MMI_IMC_MESSAGE_PEN_EVENT,
MMI_IMC_MESSAGE_MODE_CHANGED,
MMI_IMC_MESSAGE_CHANGE_TO_INITIAL,
MMI_IMC_MESSAGE_GET_TEXT,
MMI_IMC_MESSAGE_IS_EDITOR_EMPTY,
MMI_IMC_MESSAGE_INSERT_SPELLING_DIRECTLY,
MMI_IMC_MESSAGE_GET_PREVIOUS_CHAR,
MMI_IMC_MESSAGE_GET_STRING_BEFORE_CANDIDATE,
MMI_IMC_MESSAGE_HIDE_MULTITAP_CANDIDATE_BOX,
MMI_IMC_MESSAGE_INSERT_CHAR_AT_DESIRED_POSITION,
MMI_IMC_MESSAGE_DELETE_CHAR_AT_DESIRED_POSITION,
MMI_IMC_MESSAGE_GET_CHAR_AT_DESIRED_POSITION,
MMI_IMC_MESSAGE_CHECK_FLOAT,
MMI_IMC_MESSAGE_SET_KEY,
MMI_IMC_MESSAGE_SET_MULTITAP_STATE,
MMI_IMC_MESSAGE_SET_MASK,
MMI_IMC_MESSAGE_DECIAML_CHECK,
MMI_IMC_MESSAGE_DECIMAL_INPUT,
MMI_IMC_MESSAGE_INSERT_DECIMAL_SYMBOL,
MMI_IMC_MESSAGE_INSERT_SPACE,
MMI_IMC_MESSAGE_DRAW_INFORMATION_BAR,
MMI_IMC_MESSAGE_DRAW_IME_HINT,
MMI_IMC_MESSAGE_IS_SOFTKEY_HIDE,
MMI_IMC_MESSAGE_CHECK_CSK_ENABLE,
MMI_IMC_MESSAGE_CHECK_INFO_BAR_ENABL,
MMI_IMC_MESSAGE_CHECK_MULTITAP_STATE,
MMI_IMC_MESSAGE_START_SMART_ALPHABETIC,
MMI_IMC_MESSAGE_STOP_SMART_ALPHABETIC,
MMI_IMC_MESSAGE_WCSS_CHECK,
MMI_IMC_MESSAGE_IS_LAST_POSITION,
MMI_IMC_MESSAGE_IS_OVERWRITE_MODE,
MMI_IMC_MESSAGE_GET_TEXT_PTR_BEFORE_CANDIDATE,
MMI_IMC_MESSGAE_IS_WRITING_LANG_SELECTION_SCREEN_DISABLED,
MMI_IMC_MESSGAE_GET_EXT_INPUT_BOX_RECT,
MMI_IMC_MESSAGE_IS_THERE_CURSOR,
MMI_IMC_MESSAGE_INSERT_STRING_NO_DRAW,
MMI_IMC_MESSAGE_REPLACE_HIGHLIGHT_STRING,
MMI_IMC_MESSAGE_CLIPBOARD_LOCATE_CURSOR_P_BY_POS,
MMI_IMC_MESSAGE_CLIPBOARD_SET_START_CURSOR_P,
MMI_IMC_MESSAGE_CLIPBOARD_MARK_TEXT,
MMI_IMC_MESSAGE_CLIPBOARD_SAVE_STATUS,
MMI_IMC_MESSAGE_CLIPBOARD_RESTORE_STATUS,
MMI_IMC_MESSAGE_CLIPBOARD_MOVE_CORSOR,
MMI_IMC_MESSAGE_CLIPBOARD_INSERT_STRING_WITH_LENGTH,
MMI_IMC_MESSAGE_CLIPBOARD_IS_TEXT_HIGHLIGHT,
MMI_IMC_MESSAGE_CLIPBOARD_GET_ALL_TEXT,
MMI_IMC_MESSAGE_CLIPBOARD_GET_HIGHLIGHT_TEXT,
MMI_IMC_MESSAGE_CLIPBOARD_IS_READ_ONLY_EDITOR,
MMI_IMC_MESSAGE_CLIPBOARD_IS_PASSWORD_EDITOR,
MMI_IMC_MESSAGE_CLIPBOARD_SET_HIGHLIGHT,
MMI_IMC_MESSAGE_CLIPBOARD_GET_EDITOR_TYPE,
MMI_IMC_MESSAGE_CLIPBOARD_CUT_HIGHLIGHT_STRING,
MMI_IMC_MESSAGE_CLIPBOARD_CUT_ALL,
MMI_IMC_MESSAGE_CLIPBOARD_ADJUST_VIEW,
MMI_IMC_MESSAGE_CLIPBOARD_IS_DISABLE,
MMI_IMC_MESSAGE_CLIPBOARD_GET_HILITE_RECT,
MMI_IMC_MESSAGE_CLIPBOARD_IS_ALLOWED_CUT_ALL,
MMI_IMC_MESSAGE_GET_HIGHLIGHT_WORD,
MMI_IMC_MESSAGE_IS_LOCK_GDI_FRAME_BUFFER_DISABLED,
MMI_IMC_MESSAGE_INSERT_PAIRED_SYMBOLS,
MMI_IMC_MESSAGE_IS_BACKSPACE_DISABLED,
MMI_IMC_MESSAGE_IS_AUTO_CLEAR_HIGHLIGHT_WORD_MODE,
MMI_IMC_MESSAGE_IMUI_RECTANGLE_IS_UPDATED,
MMI_IMC_MESSAGE_CONFIG_EDITOR_SHOW,
MMI_IMC_MESSAGE_MOVE_CURSOR_TO_HIGHLIGHT_START,
MMI_IMC_MESSAGE_GET_EDITOR_SCROLL_BAR_WIDTH,
MMI_IMC_MESSAGE_VK_HIDE,
MMI_IMC_MESSAGE_GET_TEXT_PTR_BEFORE_CURSOR,
MMI_IMC_MESSAGE_HAS_SSP_ACTED,
MMI_IMC_MESSAGE_GET_TEXT_LENGTH,
MMI_IMC_MESSAGE_GET_CURSOR_RECT,
MMI_IMC_MESSAGE_IS_EDITOR_IN_REPLACE_MODE,
MMI_IMC_MESSAGE_FLOATING_UI_APPEAR_INDICATION,
MMI_IMC_MESSAGE_GET_STOP_CURSOR_CALLBACK_FUNCPTR,
MMI_IMC_MESSAGE_GET_START_CURSOR_CALLBACK_FUNCPTR,
MMI_IMC_MESSAGE_IS_SKIP_GENERAL_PEN_UP_EVENT,
MMI_IMC_MESSAGE_BACKSPACE_KEY_EVENT,
MMI_IMC_MESSAGE_ACTIVATE,
MMI_IMC_MESSAGE_DEACTIVATE,
MMI_IMC_MESSAGE_VK_STATUS,
MMI_IMC_MESSAGE_REDRAW_FLOATING_AREA
} mmi_imc_editor_message_id_enum;
/*
notification: MMI_IMC_MESSAGE_INSERT_STRING
remark: insert a character into editor
param_0: [IN] (UI_string_type) Ucs2 string pointer
param_1: reserved
return: reserved
notification: MMI_IMC_MESSAGE_DELETE_CHAR
remark: delete characters before cursor
param_0: [IN] (U32) string length
param_1: reserved
return: reserved
notification: IMC_MESSAGE_MOVE_CURSOR
remark: move cursor
param_0: [IN] (U32) start position
param_1: [IN] (U32) move step count,
negative value indicates backward direction,
positive value indicates forward direction
return: reserved
notification: IMC_MESSAGE_HILIGHT_BFCURSOR
remark: highlight characters before cursor
param_0: [IN] (U32) highlight character count
param_1: [IN] (MMI_BOOL) whether move cursor at the same time
return: reserved
notification: IMC_MESSAGE_RESIZE
remark: resize editor's height
param_0: [IN] (U32) width
param_1: [IN] (U32) height
return: reserved
notification: IMC_MESSAGE_REDRAW
remark: redraw editor
param_0: reserved
param_1: reserved
return: reserved
notification: IMC_MESSAGE_UPDATE_SOFTKEY
remark: change softkey caption and icon
param_0: [IN] (U16) High Part - string id
[IN] (U16) Low Part - image id
param_1: [IN] (WGUI_SOFTKEY_ENUM) softkey type (refference to wgui_softkeys.h)
return: reserved
notification: IMC_MESSAGE_KEY_EVENT
remark: forwarding key event
param_0: [IN] (U32) key value
param_1: [IN] (U32) key type
return: (MMI_BOOL) indicates whether disposed?
notification: MMI_IMC_MESSAGE_MODE_CHANGED
remark: input mode changed
param_0: input mode value
param_1: input type value
return: reserved
notification: MMI_IMC_MESSAGE_INSERT_MULTITAP_CHAR
remark: insert multitap character
param_0: the candidate character
param_1: NULL
return: (MMI_BOOL) indicates insertion success or fail
notification: MMI_IMC_MESSAGE_INSERT_MULTITAP_STRING
remark: insert multitap string used for multigraph
param_0: the candidate string
param_1: NULL
return: (MMI_BOOL) indicates insertion success or fail
notification: MMI_IMC_MESSAGE_IS_EDITOR_EMPTY
remark: to check if editor is empty or not
return: (MMI_BOOL) MMI_TRUE: editor is empty else empty is not empty.
notification: MMI_IMC_MESSAGE_GET_STRING_BEFORE_CANDIDATE
remake: to get string with its length being n before the candidate.
param_0: the desired character count.
param_1: the buffer to put the character. the size of the buffer should be large then the desired count.
return:
*/
typedef enum {
MMI_IMC_EDITOR_PEN_EVENT_NONE,
MMI_IMC_EDITOR_PEN_EVENT_TEXT_DOWN,
MMI_IMC_EDITOR_PEN_EVENT_TEXT_UP,
MMI_IMC_EDITOR_PEN_EVENT_SCROLL_BAR,
MMI_IMC_EDITOR_PEN_EVENT_CONTROL_AREA,
MMI_IMC_EDITOR_PEN_EVENT_MAX
} mmi_imc_editor_pen_event_enum;
typedef enum
{
MMI_IMC_EDITOR_CURSOR_UP,
MMI_IMC_EDITOR_CURSOR_DOWN,
MMI_IMC_EDITOR_CURSOR_LEFT,
MMI_IMC_EDITOR_CURSOR_RIGHT
}mmi_imc_editor_cusor_move_direction_enum;
#if defined(__MMI_QWERTY_KEYPAD_SUPPORT__)
#define MMI_IMM_QWERTY_MAX_MMI_KEY_ON_ONE_DEVICE_KEY (2)
//#define MMI_IMM_QWERTY_MAX_ATTRIBUTE_NUM (4)
#if defined __MMI_LANG_SA_PORTUGUESE__|| \
defined __MMI_LANG_PORTUGUESE__
#define MMI_IMM_QWERTY_MAX_ATTRIBUTE_NUM (23)
#elif defined __MMI_LANG_THAI__
#define MMI_IMM_QWERTY_MAX_ATTRIBUTE_NUM (17)
#elif defined __MMI_LANG_FINNISH__ || \
defined __MMI_LANG_HUNGARIAN__ || \
defined __MMI_LANG_MACEDONIAN__ || \
defined __MMI_LANG_NORWEGIAN__ || \
defined __MMI_LANG_VIETNAMESE__
#define MMI_IMM_QWERTY_MAX_ATTRIBUTE_NUM (16)
#elif defined __MMI_LANG_ARMENIAN__ || \
defined __MMI_LANG_CA_FRENCH__ || \
defined __MMI_LANG_CATALAN__ || \
defined __MMI_LANG_CROATIAN__ || \
defined __MMI_LANG_DUTCH__ || \
defined __MMI_LANG_ESTONIAN__ || \
defined __MMI_LANG_FRENCH__ || \
defined __MMI_LANG_GERMAN__ || \
defined __MMI_LANG_LITHUANIAN__ || \
defined __MMI_LANG_ROMANIAN__ || \
defined __MMI_LANG_ICELANDIC__ || \
defined __MMI_LANG_SLOVAK__ || \
defined __MMI_LANG_SLOVENIAN__ || \
defined __MMI_LANG_POLISH__ || \
defined __MMI_LANG_CZECH__ || \
defined __MMI_LANG_SPANISH__ || \
defined __MMI_LANG_SWEDISH__
#define MMI_IMM_QWERTY_MAX_ATTRIBUTE_NUM (14)
#elif defined __MMI_LANG_UKRAINIAN__
#define MMI_IMM_QWERTY_MAX_ATTRIBUTE_NUM (13)
#elif defined __MMI_LANG_ASSAMESE__ || \
defined __MMI_LANG_AZERBAIJANI__ || \
defined __MMI_LANG_BENGALI__ || \
defined __MMI_LANG_BULGARIAN__ || \
defined __MMI_LANG_GREEK__ || \
defined __MMI_LANG_GUJARATI__ || \
defined __MMI_LANG_HAUSA__ || \
defined __MMI_LANG_GALICIAN__ || \
defined __MMI_LANG_BASQUE__ || \
defined __MMI_LANG_IGBO__ || \
defined __MMI_LANG_FILIPINO__ || \
defined __MMI_LANG_IRISH__ || \
defined __MMI_LANG_HINDI__ || \
defined __MMI_LANG_ITALIAN__ || \
defined __MMI_LANG_KANNADA__ || \
defined __MMI_LANG_KAZAKH__ || \
defined __MMI_LANG_LATVIAN__ || \
defined __MMI_LANG_MALAYALAM__ || \
defined __MMI_LANG_MARATHI__ || \
defined __MMI_LANG_ORIYA__ || \
defined __MMI_LANG_PUNJABI__ || \
defined __MMI_LANG_SERBIAN__ || \
defined __MMI_LANG_TAMIL__ || \
defined __MMI_LANG_TELUGU__ || \
defined __MMI_LANG_TURKISH__ || \
defined __MMI_LANG_YORUBA__
#undef MMI_IMM_QWERTY_MAX_ATTRIBUTE_NUM
#define MMI_IMM_QWERTY_MAX_ATTRIBUTE_NUM (12)
#else
#define MMI_IMM_QWERTY_MAX_ATTRIBUTE_NUM (11) /*imev3 add output char flag*/
#endif
#define MMI_IMM_QWERTY_MAX_MULTITAP_CHAR_NUM (9)
#endif
#define MMI_IMM_MAX_DISABLE_CHARACTER_NUM (20)
#define MMI_IMM_MAX_ALLOWED_CHARACTER_NUM (100)
#define MMI_IMC_UI_STYLE_FLOAT_ON 0x01
#define MMI_IMC_UI_STYLE_VK_ON 0x02
typedef enum {
IME_WRITING_LANG_NONE,
IME_WRITING_LANG_123,
IME_WRITING_LANG_ABC, /* English */
IME_WRITING_LANG_HABC, /* HINGLISH */
IME_WRITING_LANG_AF, /* Afrilaans */
IME_WRITING_LANG_AR, /* ARABIC */
IME_WRITING_LANG_AS, /* ASSAMESE */
IME_WRITING_LANG_AZ, /* Azerbaijani */
IME_WRITING_LANG_BE, /* Bengali */
IME_WRITING_LANG_BG, /* BULGARIAN */
IME_WRITING_LANG_CA, /* Catalan */
IME_WRITING_LANG_CS, /* CZECH */
IME_WRITING_LANG_DA, /* DANISH */
IME_WRITING_LANG_DE, /* GERMAN */
IME_WRITING_LANG_EL, /* GREEK */
IME_WRITING_LANG_ENUK, /* UK English */
IME_WRITING_LANG_ES, /* SPANISH */
IME_WRITING_LANG_ESSA, /* LA SPANISH */
IME_WRITING_LANG_ET, /* Estonian */
IME_WRITING_LANG_EU, /* Basques*/
IME_WRITING_LANG_FI, /* FINNISH */
IME_WRITING_LANG_FIL, /* FILIPINO */
IME_WRITING_LANG_FR, /* French */
IME_WRITING_LANG_FRCA, /* CA French */
IME_WRITING_LANG_GA, /* Galician*/
IME_WRITING_LANG_GL, /* Irish */
IME_WRITING_LANG_GU, /* Gujarati */
IME_WRITING_LANG_HA, /* Hausa */
IME_WRITING_LANG_HE, /* HEBREW */
IME_WRITING_LANG_HI, /* HINDI */
IME_WRITING_LANG_HU, /* HUNGARIAN */
IME_WRITING_LANG_HY, /* Armenian */
IME_WRITING_LANG_ID, /* INDONESIAN */
IME_WRITING_LANG_IG, /* IGBO */
IME_WRITING_LANG_IS, /* ICELANDIC */
IME_WRITING_LANG_IT, /* ITALIAN */
IME_WRITING_LANG_KA, /* Georgian */
IME_WRITING_LANG_KK, /* Kazakh */
IME_WRITING_LANG_KM, /* Khmer */
IME_WRITING_LANG_KN, /* Kannada */
IME_WRITING_LANG_KR,/*Korean*/
IME_WRITING_LANG_LO, /* Lao */
IME_WRITING_LANG_LT, /* Lithuanian */
IME_WRITING_LANG_LV, /* Latvian */
IME_WRITING_LANG_MK, /* Macedonian */
IME_WRITING_LANG_ML, /* malayalam */
IME_WRITING_LANG_MO, /* Moldovan */
IME_WRITING_LANG_MR, /* MARATHI */
IME_WRITING_LANG_MS, /* MALAY */
IME_WRITING_LANG_MY, /* Myanmar */
IME_WRITING_LANG_NL, /*DUTCH */
IME_WRITING_LANG_NO, /* NORWEGIAN */
IME_WRITING_LANG_OR, /* oriya */
IME_WRITING_LANG_PA, /* Punjabi */
IME_WRITING_LANG_PL, /* POLISH */
IME_WRITING_LANG_PS, /* PERSIAN */
IME_WRITING_LANG_PT, /* PORTUGUESE */
IME_WRITING_LANG_PTBZ, /* BZ PORTUGUESE */
IME_WRITING_LANG_RO, /* ROMANIAN */
IME_WRITING_LANG_RU, /* RUSSIAN */
IME_WRITING_LANG_SH, /* CROATIAN */
IME_WRITING_LANG_SK, /*SLOVAK */
IME_WRITING_LANG_SL, /* SLOVENIAN */
IME_WRITING_LANG_SQ, /* Albanian */
IME_WRITING_LANG_SR, /* SERBIAN */
IME_WRITING_LANG_ST, /* Sesotho */
IME_WRITING_LANG_SV, /* SWEDISH */
IME_WRITING_LANG_SW, /* Swahili */
IME_WRITING_LANG_TA, /* Tamil */
IME_WRITING_LANG_TE, /* Telugu */
IME_WRITING_LANG_TH, /* Thai */
IME_WRITING_LANG_TL, /* Tagalog */
IME_WRITING_LANG_TR, /* TURKISH */
IME_WRITING_LANG_UK, /* UKRAINIAN */
IME_WRITING_LANG_UR, /* URDU */
IME_WRITING_LANG_VI, /* VIETNAMESE */
IME_WRITING_LANG_XH, /* Xhosa */
IME_WRITING_LANG_YO, /* Yoruba */
IME_WRITING_LANG_ZHCN, /* Simpled Chinese */
IME_WRITING_LANG_ZHHK, /* HongKong (Cantonese) Chinese */
IME_WRITING_LANG_ZHTW, /* Traditional Chinese */
IME_WRITING_LANG_ZU, /* Zulu */
IME_WRITING_LANG_TOTAL
} mmi_imm_support_writing_lang_enum;
#if defined(__MMI_IME_FUZZY_PINYIN__)
#if defined __MMI_GUOBI__
typedef enum
{
IME_FUZZY_PINYIN_H_F = 0x0001,
IME_FUZZY_PINYIN_N_L = 0x0002,
IME_FUZZY_PINYIN_NG_N = 0x0004,
IME_FUZZY_PINYIN_XH_X = 0x0008,
IME_FUZZY_PINYIN_K_G = 0x0010,
IME_FUZZY_PINYIN_R_L = 0x0100,
IME_FUZZY_PINYIN_MAX = 6
}mmi_imm_fuzzy_pinyin_enum;
#else
typedef enum
{
IME_FUZZY_PINYIN_Z_ZH = 0x0001,
IME_FUZZY_PINYIN_C_CH = 0x0002,
IME_FUZZY_PINYIN_S_SH = 0x0004,
IME_FUZZY_PINYIN_H_F = 0x0008,
IME_FUZZY_PINYIN_N_L = 0x0010,
IME_FUZZY_PINYIN_IN_ING = 0x0100,
IME_FUZZY_PINYIN_EN_ENG = 0x0200,
IME_FUZZY_PINYIN_AN_ANG = 0x0400,
IME_FUZZY_PINYIN_IAN_IANG = 0x0800,
IME_FUZZY_PINYIN_UAN_UANG = 0x1000,
IME_FUZZY_PINYIN_MAX = 10
}mmi_imm_fuzzy_pinyin_enum;
#endif
#endif
typedef enum
{
IMM_HANDWRITING_TYPE_NONE = 0,
IMM_HANDWRITING_TYPE_TRADITIONAL_CHINESE,
IMM_HANDWRITING_TYPE_SIMPLIFIED_CHINESE,
IMM_HANDWRITING_TYPE_UPPER_CASE_ENGLISH,
IMM_HANDWRITING_TYPE_LOWER_CASE_ENGLISH,
IMM_HANDWRITING_TYPE_UPPER_CASE_RUSSIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_RUSSIAN,
IMM_HANDWRITING_TYPE_THAI,
IMM_HANDWRITING_TYPE_UPPER_CASE_SPANISH,
IMM_HANDWRITING_TYPE_LOWER_CASE_SPANISH,
IMM_HANDWRITING_TYPE_UPPER_CASE_FRENCH,
IMM_HANDWRITING_TYPE_LOWER_CASE_FRENCH,
IMM_HANDWRITING_TYPE_UPPER_CASE_GERMAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_GERMAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_ITALIC,
IMM_HANDWRITING_TYPE_LOWER_CASE_ITALIC,
IMM_HANDWRITING_TYPE_ARABIC,
IMM_HANDWRITING_TYPE_UPPER_CASE_TURKEY,
IMM_HANDWRITING_TYPE_LOWER_CASE_TURKEY,
IMM_HANDWRITING_TYPE_UPPER_CASE_PORTUGESE,
IMM_HANDWRITING_TYPE_LOWER_CASE_PORTUGESE,
IMM_HANDWRITING_TYPE_UPPER_CASE_BULGARIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_BULGARIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_DUTCH,
IMM_HANDWRITING_TYPE_LOWER_CASE_DUTCH,
IMM_HANDWRITING_TYPE_UPPER_CASE_CZECH,
IMM_HANDWRITING_TYPE_LOWER_CASE_CZECH,
IMM_HANDWRITING_TYPE_UPPER_CASE_DANISH,
IMM_HANDWRITING_TYPE_LOWER_CASE_DANISH,
IMM_HANDWRITING_TYPE_UPPER_CASE_FINNISH,
IMM_HANDWRITING_TYPE_LOWER_CASE_FINNISH,
IMM_HANDWRITING_TYPE_UPPER_CASE_GREEK,
IMM_HANDWRITING_TYPE_LOWER_CASE_GREEK,
IMM_HANDWRITING_TYPE_UPPER_CASE_HUNGARIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_HUNGARIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_INDONESIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_INDONESIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_MALAY,
IMM_HANDWRITING_TYPE_LOWER_CASE_MALAY,
IMM_HANDWRITING_TYPE_UPPER_CASE_CATALAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_CATALAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_SERBIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_SERBIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_TAGALOG,
IMM_HANDWRITING_TYPE_LOWER_CASE_TAGALOG,
IMM_HANDWRITING_TYPE_UPPER_CASE_AFRIKAANS,
IMM_HANDWRITING_TYPE_LOWER_CASE_AFRIKAANS,
IMM_HANDWRITING_TYPE_UPPER_CASE_CROATIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_CROATIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_ESTONIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_ESTONIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_LATVIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_LATVIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_LITHUANIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_LITHUANIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_MALDOVAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_MALDOVAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_NORWEGIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_NORWEGIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_POLISH,
IMM_HANDWRITING_TYPE_LOWER_CASE_POLISH,
IMM_HANDWRITING_TYPE_UPPER_CASE_ROMANIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_ROMANIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_SLOVAKIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_SLOVAKIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_SLOVENIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_SLOVENIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_SWAHILI,
IMM_HANDWRITING_TYPE_LOWER_CASE_SWAHILI,
IMM_HANDWRITING_TYPE_UPPER_CASE_SWEDISH,
IMM_HANDWRITING_TYPE_LOWER_CASE_SWEDISH,
IMM_HANDWRITING_TYPE_UPPER_CASE_UKRANIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_UKRANIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_XHOSA,
IMM_HANDWRITING_TYPE_LOWER_CASE_XHOSA,
IMM_HANDWRITING_TYPE_UPPER_CASE_ZULU,
IMM_HANDWRITING_TYPE_LOWER_CASE_ZULU,
IMM_HANDWRITING_TYPE_UPPER_CASE_BASQUE,
IMM_HANDWRITING_TYPE_LOWER_CASE_BASQUE,
IMM_HANDWRITING_TYPE_UPPER_CASE_GALICIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_GALICIAN,
IMM_HANDWRITING_TYPE_UPPER_CASE_ALBANIAN,
IMM_HANDWRITING_TYPE_LOWER_CASE_ALBANIAN,
IMM_HANDWRITING_TYPE_PUNCTUATION,
IMM_HANDWRITING_TYPE_NUMBER,
IMM_HANDWRITING_TYPE_KOREAN,
IMM_HANDWRITING_TYPE_NUM_AND_PUNCTUATION, /* pure english character. no number and symbol. */
IMM_HANDWRITING_TYPE_ENGLISH_NUM_PUNCTUATION /* English/number/symbol */
} mmi_imc_pen_handwriting_type_enum;
typedef enum
{
IMM_MESSAGE_ID_NONE,
IMM_MESSAGE_ID_ERROR,
IMM_MESSAGE_ID_MAX
}mmi_imm_message_id_enum;
typedef enum
{
MMI_IMC_PEN_HANDWRITING_STYLE_FULL_SCREEN,
MMI_IMC_PEN_HANDWRITING_STYLE_MULTI_BLOCK,
MMI_IMC_PEN_HANDWRITING_STYLE_SINGLE_BLOCK
} mmi_imc_pen_handwriting_style_enum;
#ifdef __MMI_CLIPBOARD__
typedef enum {
MMI_IMC_CLIPBOARD_RET_NONE = 0,
MMI_IMC_CLIPBOARD_RET_OK,
MMI_IMC_CLIPBOARD_RET_MEMORY_NOT_ENOUGH,
MMI_IMC_CLIPBOARD_RET_MEMORY_ERROR,
MMI_IMC_CLIPBOARD_RET_NO_TEXT,
MMI_IMC_CLIPBOARD_RET_NO_TEXT_HIGHLIGH,
MMI_IMC_CLIPBOARD_RET_COPY_FAIL,
MMI_IMC_CLIPBOARD_RET_CUT_UNSUPPRT_CONTENT,
MMI_IMC_CLIPBOARD_RET_END
} mmi_imc_clipboard_ret_enum;
typedef enum
{
INPUTBOX_MULTILINE = 0,
INPUTBOX_MULTILINE_EBOOK,
INPUTBOX_MULTILINE_MMS_VIEWER,
INPUTBOX_EMS,
MMI_IMC_CLIPBOARD_INPUTBOX_END
} mmi_imc_clipboard_inputbox_enum;
typedef enum
{
MARK_TEXT_BY_KEY = 0,
MARK_TEXT_BY_PEN,
MARK_TEXT_BY_END
} mmi_imc_clipboard_mark_text_enum;
#endif /* __MMI_CLIPBOARD__ */
typedef enum
{
MMI_IMC_PEN_INPUT_STYLE_NONE, /* only key input */
MMI_IMC_PEN_INPUT_STYLE_VK_QWERTY,
MMI_IMC_PEN_INPUT_STYLE_VK_ALPHANUMERIC,
MMI_IMC_PEN_INPUT_STYLE_HW,
MMI_IMC_PEN_INPUT_STYLE_MAX
} mmi_imc_pen_input_style_enum;
typedef enum{
MMI_IME_WORD_CAPITAL_STATE_NONE, /* don't care, follow the input mode case */
MMI_IME_WORD_CAPITAL_STATE_LOWER,
MMI_IME_WORD_CAPITAL_STATE_FIRST_UPPER,
MMI_IME_WORD_CAPITAL_STATE_UPPER,
MMI_IME_WORD_CAPITAL_STATE_MAX
} mmi_ime_word_capital_state_enum;
typedef enum
{
MMI_IMC_VK_PRESENT_DEFAULT,
MMI_IMC_VK_DEFAULT_HIDE,
MMI_IMC_VK_DEFAULT_ENLARGE,
MMI_IMC_VK_PRESENT_MAX
} mmi_imc_vk_present_enum;
typedef enum
{
MMI_IME_EDITOR_TYPE_NONE,
MMI_IME_EDITOR_TYPE_UNKNOWN,
MMI_IME_EDITOR_TYPE_MULTILINE,
MMI_IME_EDITOR_TYPE_SINGLELINE,
MMI_IME_EDITOR_TYPE_MAX
} mmi_ime_editor_type_enum;
typedef enum
{
MMI_IMC_VK_DIALER_PEN_0,
MMI_IMC_VK_DIALER_PEN_1,
MMI_IMC_VK_DIALER_PEN_2,
MMI_IMC_VK_DIALER_PEN_3,
MMI_IMC_VK_DIALER_PEN_4,
MMI_IMC_VK_DIALER_PEN_5,
MMI_IMC_VK_DIALER_PEN_6,
MMI_IMC_VK_DIALER_PEN_7,
MMI_IMC_VK_DIALER_PEN_8,
MMI_IMC_VK_DIALER_PEN_9,
MMI_IMC_VK_DIALER_PEN_STAR,
MMI_IMC_VK_DIALER_PEN_POUND,
MMI_IMC_VK_DIALER_PEN_CALL1,
MMI_IMC_VK_DIALER_PEN_CALL2,
MMI_IMC_VK_DIALER_PEN_VIDEO_CALL,
MMI_IMC_VK_DIALER_NORMAL_CALL,
MMI_IMC_VK_DIALER_EMERGENCY_CALL,
/* Add dialer pen code above this */
MMI_IMC_VK_DIALER_PEN_MAX
} mmi_imc_dialer_pen_code_enum;
#if defined(__MMI_TOUCH_SCREEN__) && !defined(__MMI_NO_HANDWRITING__)
typedef enum
{
MMI_IMM_PEN_SPEED_FAST,
MMI_IMM_PEN_SPEED_MEDIUM,
MMI_IMM_PEN_SPEED_SLOW,
MMI_IMM_PEN_SPEED_MAX,
} mmi_imm_pen_speed_enum;
#endif
/*****************************************************************************
* Typedef
*****************************************************************************/
/* typedef void (*FuncPtr) (void); Needed to avoid conflict with mmidatatype.h */
typedef struct
{
U32 param_0;
U32 param_1;
U8 message_id;
} mmi_imc_message_struct, *mmi_imc_message_struct_p;
#ifdef __MMI_TOUCH_SCREEN__
typedef struct
{
mmi_pen_event_type_enum mmi_pen_event;
mmi_pen_point_struct pos;
mmi_imc_editor_pen_event_enum editor_pen_event;
}mmi_imc_editor_pen_event_struct, *mmi_imc_editor_pen_event_struct_p;
#endif /* __MMI_TOUCH_SCREEN__ */
typedef U32 (*mmi_imc_message_funcptr)( void *, mmi_imc_message_struct_p );
typedef void (*mmi_imui_draw_back_ground_funcptr)(S32 x1, S32 y1, S32 x2, S32 y2);
typedef MMI_BOOL (*mmi_imc_stop_cursor_funcptr)(S32 x1, S32 y1, S32 x2, S32 y2);
typedef void (*mmi_imc_start_cursor_funcptr)(void);
typedef struct
{
S32 x;
S32 y;
S32 width;
S32 height;
} mmi_imc_rect, *mmi_imc_rect_p;
#ifdef __MMI_CLIPBOARD_FLOATING_MENU__
typedef struct
{
S16 s_x;
S16 s_y;
S16 e_x;
S16 e_y;
} mmi_imc_clipboard_hilite_rect, *mmi_imc_clipboard_hilite_rect_p;
#endif
typedef struct
{
U8 state;
mmi_imm_input_mode_enum input_mode;
#ifdef __MMI_VIRTUAL_KEYBOARD__
gui_virtual_keyboard_language_enum vk_type;
#endif
#if defined(__MMI_IMC_CAPITAL_SWITCH__)
mmi_imm_support_writing_lang_enum writing_lang;
#endif
#if defined(__MMI_IME_FTE_ENHANCE__)
MMI_BOOL is_vk_on;
mmi_imc_pen_input_style_enum input_style;
#endif
#if defined(__MMI_IME_AUTO_CAPITALIZATION__)
MMI_BOOL skip_auto_cap_first_filter;
#endif
} mmi_imc_history, *mmi_imc_history_p;
typedef MMI_BOOL (*mmi_imc_pre_key_handler)(U16, U16);
#if defined(__MMI_QWERTY_KEYPAD_SUPPORT__)
typedef struct
{
U32 translated_code;
U32 switch_flags;
}mmi_imm_qwerty_key_attribute_struct, *mmi_imm_qwerty_key_attribute_struct_p;
typedef struct
{
S16 mmi_key_code;
mmi_imm_qwerty_key_attribute_struct attributes[MMI_IMM_QWERTY_MAX_ATTRIBUTE_NUM];
}mmi_imm_qwerty_key_struct, *mmi_imm_qwerty_key_struct_p;
typedef struct
{
mmi_imm_support_writing_lang_enum lang;
mmi_imm_qwerty_key_struct_p qwerty_table;
}mmi_imm_qwerty_lang_struct, *mmi_imm_qwerty_lang_struct_p;
#endif
#ifdef __MMI_CLIPBOARD__
typedef struct
{
UI_buffer_type ccp_start_cursor_p;
UI_buffer_type ccp_end_cursor_p;
UI_buffer_type pre_highlight_start_cursor_p;
UI_buffer_type pre_highlight_end_cursor_p;
UI_buffer_type visible_start_p; /* For MMS view copy all visible text */
UI_buffer_type visible_end_p; /* For MMS view copy all visible text */
#if defined(UI_EMS_SUPPORT)
EMSPosition ems_start_p;
EMSPosition ems_end_p;
EMSPosition ems_pre_highlight_start_p;
EMSPosition ems_pre_highlight_end_p;
#endif
S32 highlight_text_length; /* hightlight_end - highlight_start, maybe <0 */
U32 pre_flags;
U8 is_saved;
U8 close_flag; /* Used when close editor option cascading menu and return to editor screen*/
} mmi_imc_clipboard_data_struct, *mmi_imc_clipboard_data_struct_p;
#endif /* __MMI_CLIPBOARD__ */
typedef struct
{
#ifdef __MMI_CLIPBOARD__
MMI_BOOL is_read_only;
MMI_BOOL is_empty;
MMI_BOOL is_paging;
MMI_BOOL is_wcss;
MMI_BOOL is_password;
S32 editor_type;
S32 editor_sub_type;
#endif /* __MMI_CLIPBOARD__ */
U16 editor_screen_id;
mmi_imm_input_type_enum input_type;
S16 input_ext_type;
mmi_imm_input_mode_enum *input_mode_list;
mmi_imm_input_mode_enum input_mode;
#if defined(__MMI_IMC_CAPITAL_SWITCH__)
mmi_imm_support_writing_lang_enum writing_lang;
#endif
#if defined(__MMI_IME_FTE_ENHANCE__)
MMI_BOOL is_hw_disable : 1;
MMI_BOOL is_vk_disable : 1;
#endif
void (*ScreenCloseFunction) (void);
} mmi_imc_editor_menu_history_data_struct, *mmi_imc_editor_menu_history_data_struct_p;
typedef struct
{
S32 imui_bottom;
S32 imui_x;
S32 imui_width;
S32 imui_bottom_border;
S32 imui_floating_x;
S32 imui_floating_width;
S32 imui_floating_bottom;
}mmi_imui_param_struct, *mmi_imui_param_struct_p;
typedef struct
{
U32 param_0;
U32 param_1;
U8 message_id;
} mmi_imui_message_struct, *mmi_imui_message_struct_p;
typedef struct
{
UI_character_type allowed_characters[MMI_IMM_MAX_ALLOWED_CHARACTER_NUM];
UI_character_type disabled_characters[MMI_IMM_MAX_DISABLE_CHARACTER_NUM];
#ifdef __MMI_TOUCH_SCREEN__
gui_virtual_keyboard_pen_enum allowed_events[MMI_IMM_MAX_ALLOWED_CHARACTER_NUM];
gui_virtual_keyboard_pen_enum disabled_events[MMI_IMM_MAX_DISABLE_CHARACTER_NUM];
#endif
}mmi_imm_allowed_character_list_struct, *mmi_imm_allowed_character_list_struct_p;
typedef struct
{
S32 x;
S32 y;
} mmi_imc_point, *mmi_imc_point_p;
typedef enum
{
MMI_IME_LEFT_SOFTKEY,
MMI_IME_RIGHT_SOFTKEY,
MMI_IME_CENTER_SOFTKEY,
MMI_IME_MAX_SOFTKEYS
} mmi_ime_softkey_enum;
/*****************************************************************************
* Global Functions
*****************************************************************************/
/* imc functions */
extern void mmi_imc_post_process_handler(void);
#if defined(__ATV_SMS_SUPPORT__)
extern void (* matv_init_fptr_ime)();
extern void (* matv_exit_fptr_ime)();
void matv_set_func(void (*func1)(), void (*func2)());
void matv_reset_func(void);
#endif
extern MMI_BOOL mmi_imc_init_all( void );
extern void mmi_imc_deinit_all( void );
#ifdef __MMI_PREFER_INPUT_METHOD__
extern void mmi_phnset_set_pref_input_mode_menu_hint(MMI_ID menucui_id);
#endif
extern MMI_BOOL mmi_imc_change_input_mode( mmi_imm_input_mode_enum input_mode, U32 reserved );
extern MMI_BOOL mmi_imc_is_connected( void );
extern U32 mmi_imc_send_message( mmi_imc_message_struct_p msg_ptr ); /* Send message to editor */
extern void mmi_imc_draw_input_mode_infor(S32 x1, S32 y1, S32 x2, S32 y2);
extern U32 mmi_imc_get_ime_infor_width(void);
extern void mmi_imc_draw_input_mode_hint(S32 x1, S32 y1, S32 x2, S32 y2);
extern U32 mmi_imc_get_input_mode_hint_width(void);
extern U32 mmi_imc_get_input_mode_hint_height(void);
extern void mmi_imc_redraw_screen_by_state(void);
extern void mmi_imc_redraw_whole_screen(void);
extern MMI_BOOL mmi_imc_redraw_screen_by_state_ext(void);
extern void mmi_imc_disable_key_input(void);
extern void mmi_imc_disable_symbol_picker(void);
extern void mmi_imc_enable_symbol_picker(void);
extern MMI_BOOL mmi_imc_is_tone_character(UI_character_type code);
extern MMI_BOOL mmi_imc_is_ime_state(void);
extern void mmi_imc_show_disabled_vk(void);
extern void mmi_imc_set_fixed_input_box(void);
extern void mmi_imc_key_setup_lsk_text(void);
extern void mmi_imc_key_setup_rsk_text(void);
extern MMI_BOOL mmi_imc_key_is_current_symbol_key(S16 mmi_key_code);
extern void mmi_imc_reset_ime_state(void);
extern void mmi_imc_config_draw(MMI_BOOL draw);
extern MMI_BOOL mmi_imc_get_draw(void);
extern void mmi_imc_redraw_floating_ui_controls(void);
extern MMI_BOOL mmi_imc_get_ui_style(U32 style_flag);
extern void mmi_imc_key_setup_csk_text(void);
extern void mmi_imc_key_setup_csk_icon(void);
extern UI_string_type mmi_imc_key_get_lsk_text(void);
extern UI_string_type mmi_imc_key_get_rsk_text(void);
extern UI_string_type mmi_imc_key_get_csk_text(void);
extern void mmi_imc_key_set_pre_key_handler(mmi_imc_pre_key_handler key_handler);
extern mmi_imc_pre_key_handler mmi_imc_key_get_pre_key_handler(void);
extern MMI_BOOL mmi_imc_insert_char_by_symbol_picker(UI_character_type symbol);
#if defined(__MMI_SMART_ALPHABETIC_RESELECTION__)
extern S32 mmi_imc_get_max_reselection_word_length(void);
#endif
/* This function can only be called by editor's get history function */
extern void mmi_imc_get_input_method_history(mmi_imc_history_p history);
extern void mmi_imc_set_input_method_history(mmi_imc_history_p history);
extern void mmi_imc_key_setup_lsk_function(FuncPtr f);
extern void mmi_imc_key_setup_rsk_function(FuncPtr f);
extern void mmi_imc_key_setup_csk_function(FuncPtr f);
extern void mmi_imc_key_register_ime_keys(void);
extern void mmi_imc_exit_screen(void);
extern void mmi_imc_scan_and_add_new_words(UI_string_type str);
extern U32 mmi_imc_get_max_candidate_width(void);
extern MMI_BOOL mmi_imc_is_multitap_state(U8 state);
extern S32 mmi_imc_get_current_imui_height(void);
extern S32 mmi_imc_get_current_imui_height_skip_fixed_editor(void);
extern MMI_BOOL mmi_imc_is_append_one_more_space_input_mode(mmi_imm_input_mode_enum input_mode);
#ifdef __MMI_TOUCH_SCREEN__
extern void mmi_imc_disable_handwriting(void);
extern S32 mmi_imc_get_vk_area_height(void);
extern gui_virtual_keyboard_language_enum mmi_imc_get_current_vk_type(void);
extern void mmi_imc_set_desired_vk_type(gui_virtual_keyboard_language_enum vk_type);
extern void mmi_imc_set_inline_editor_full_height(S32 height);
extern S32 mmi_imc_get_inline_editor_full_height(void);
#if defined(__MMI_VIRTUAL_KEYBOARD__)
extern MMI_BOOL mmi_imc_pen_vk_hide(void);
#endif
#endif /* __MMI_TOUCH_SCREEN__ */
#if defined(__MMI_IME_USER_DATABASE__)
extern void mmi_imc_entry_add_new_word_screen(void);
#endif
#if defined(__MMI_SMART_ALPHABETIC_INPUT_METHODS__) || defined(__MMI_SMART_PHONETIC_INPUT_METHODS__)
extern void mmi_imc_entry_config_smart_input_method_screen(void);
extern void mmi_imc_exit_config_smart_input_method_screen(void);
#endif
#if defined(__MMI_SMART_ALPHABETIC_RESELECTION__)
extern MMI_BOOL mmi_imc_is_reselection_input_mode(mmi_imm_input_mode_enum input_mode);
extern MMI_BOOL mmi_imc_is_valid_alphabetic_word_of_current_input_mode(U8 *str_ptr, S32 str_len);
extern void mmi_imc_key_highlight_alphabetic_word(void);
extern void mmi_imc_key_unhighlight_alphabetic_word(void);
extern void mmi_imc_config_smart_alphabetic_word_reselection(MMI_BOOL is_enalbed);
extern MMI_BOOL mmi_imc_is_smart_alphabetic_word_reselection_enabled(void);
#endif
extern void mmi_imc_set_softkey_background_filler(mmi_imui_draw_back_ground_funcptr funcptr);
extern void mmi_imc_redraw_softkey_background(void);
extern void mmi_imc_set_softkey_function(void (*f) (void), mmi_key_types_enum k, mmi_ime_softkey_enum key);
extern void mmi_imc_set_softkey_label(UI_string_type s, mmi_ime_softkey_enum key);
extern void mmi_imc_set_softkey_icon(PU8 icon, mmi_ime_softkey_enum key);
extern void mmi_imc_redraw_floating_ui_within_rect(mmi_imc_rect_p rect);
extern MMI_BOOL mmi_imc_get_current_floating_ui_rect(mmi_imc_rect_p rect);
extern MMI_BOOL mmi_imc_is_spell_word_state(void);
extern mmi_ret mmi_imc_editor_cursor_movement_handler(mmi_event_struct* param);
#if defined(__MMI_IME_V3__)
extern mmi_ret mmi_ime_menu_handler(mmi_event_struct *param);
extern mmi_ret mmi_imesettings_menu_handler_ext(cui_menu_event_struct *evt, MMI_ID parent_gid);
extern void EntryInputMethodSetting(void);
#endif
// DOM-NOT_FOR_SDK-END
/*****************************************************************************
* FUNCTION
* mmi_imm_set_required_mode_list
* DESCRIPTION
* This API is for editor to configure list of input modes thatw ill be available to the application .
* PARAMETERS
* U32 input_type A 32 bit flag which defines what modes will be required , see input_type section for details.
* mmi_imm_input_mode_enum In case Application requires a list of modes which is not provided by input type , it
can explicitily set an array of modes . ( see Input Modes section fro avilable modes).
* history_input_mode is used when the editor screen reenters and wants to have previous mode which it had before leaving
as the current mode.
* RETURNS
* mmi_imm_message_id_enum Success or error.
*****************************************************************************/
extern mmi_imm_message_id_enum mmi_imm_set_required_mode_list(U32 input_type,
mmi_imm_input_mode_enum input_mode_array[],
mmi_imm_input_mode_enum history_input_mode);
extern MMI_BOOL mmi_imm_get_is_smart_input_mode_of_writing_language(void);
extern MMI_BOOL mmi_imm_get_is_smart_input_mode_allowed_of_curr_writing_language(void);
/*****************************************************************************
* FUNCTION
* mmi_imc_connect
* DESCRIPTION
* This API allows an Editor to connect to IME service
* PARAMETERS
* Pointer of the editor object.
* Callback to handle messages sent by IME to editor for exchange of information.
* RETURNS
*****************************************************************************/
extern MMI_BOOL mmi_imc_connect( void *handle, mmi_imc_message_funcptr msg_callback );
/*****************************************************************************
* FUNCTION
* mmi_imc_disconnect
* DESCRIPTION
* Once IME servicee is no longer required , Editor needs to call this.
* PARAMETERS
* NONE
* RETURNS
* NONE
*****************************************************************************/
extern void mmi_imc_disconnect( void );
/*****************************************************************************
* FUNCTION
* mmi_imc_get_char_info
* DESCRIPTION
* This is used to get information related to a chinese character , typical usage is pinyin search.
* PARAMETERS
* UI_character_type code of character of which information is required.
* UI_string_type info_buffer a buffer where information is copied.
* S32 size of buffer
* mmi_imm_input_mode_enum mode input mode for which information is required.
* RETURNS
*****************************************************************************/
extern MMI_BOOL mmi_imc_get_char_info(UI_character_type code, UI_string_type info_buffer, S32 buffer_size, mmi_imm_input_mode_enum mode);
/*****************************************************************************
* FUNCTION
* mmi_imm_phone_language_change_handler
* DESCRIPTION
* Callback to inform IME that phone language is being changed .Typical usage is that IME writing language will change
accordingly.
* PARAMETERS
* NONE
* RETURNS
* NONE
*****************************************************************************/
extern void mmi_imm_phone_language_change_handler(void);
// DOM-NOT_FOR_SDK-BEGIN
extern mmi_imm_message_id_enum mmi_imm_create_input_method_list(U32 input_type, mmi_imm_input_mode_enum input_mode_array[]);
extern mmi_imm_input_mode_enum mmi_imm_get_next_mode(void);
#if defined(__MMI_IME_V3__)
extern mmi_imm_input_mode_enum mmi_imm_get_next_writing_mode(void);
#endif
extern mmi_imm_input_mode_enum mmi_imm_get_curr_input_mode(void);
extern mmi_imm_input_type_enum mmi_imm_get_curr_input_type(void);
extern MMI_BOOL mmi_imm_set_current_input_mode(mmi_imm_input_mode_enum input_mode);
extern mmi_imm_input_mode_enum * mmi_imm_get_curr_user_specific_input_mode_list(void);
extern MMI_BOOL mmi_imm_is_curr_allow_input_mode(mmi_imm_input_mode_enum target);
extern S32 mmi_imm_is_system_supported_input_mode(mmi_imm_input_mode_enum target);
extern S32 mmi_imm_get_system_support_input_mode_list(mmi_imm_input_mode_enum *mode_array, S32 max);
extern S32 mmi_imm_get_curr_allow_input_mode_list(mmi_imm_input_mode_enum *mode_array, S32 max);
extern S32 mmi_imm_get_system_support_input_mode_string_list(U8 **strarray, S32 max);
extern S32 mmi_imm_get_prefer_input_mode_list(mmi_imm_input_mode_enum *mode_array, S32 max);
extern S32 mmi_imm_get_prefer_input_mode_string_list(U8 **strarray, S32 max);
extern S32 mmi_imm_get_curr_allow_input_mode_string_list(U16 *strarray, S32 max);
extern mmi_imm_input_mode_enum mmi_imm_get_user_desired_input_mode(void);
extern MMI_BOOL mmi_imm_check_mixed_lang_support(mmi_imm_input_mode_enum target);
extern MMI_BOOL mmi_imm_is_smart_input_method(mmi_imm_input_mode_enum target);
extern MMI_BOOL mmi_imm_is_chinese_input_method(mmi_imm_input_mode_enum target);
extern mmi_imm_message_id_enum mmi_imm_set_prefer_input_mode(mmi_imm_input_mode_enum desired_input_mode);
extern mmi_imm_input_mode_enum mmi_imm_get_prefer_input_mode(void);
extern mmi_imm_input_mode_enum mmi_imm_get_current_input_mode(void);
extern mmi_imm_message_id_enum mmi_imm_set_user_desired_input_mode(mmi_imm_input_mode_enum desired_input_mode);
extern mmi_imm_message_id_enum mmi_imm_set_app_desired_input_mode(mmi_imm_input_mode_enum desired_input_mode);
extern mmi_imm_message_id_enum mmi_imm_set_characters(
MMI_BOOL is_allowed,
const UI_character_type *characters_lsit);
extern mmi_imm_message_id_enum mmi_imm_set_default_input_mode(mmi_imm_input_mode_enum default_input_mode);
extern mmi_imm_input_mode_enum mmi_imm_get_default_input_mode(void);
extern S32 mmi_imm_get_current_allowed_input_mode_num(void);
extern MMI_BOOL mmi_imm_change_input_mode_for_wcss(mmi_imm_input_mode_enum mode);
extern void mmi_imm_config_change_input_mode(MMI_BOOL is_enabled);
extern void mmi_imc_delete_all(void);
extern S32 mmi_imm_get_curr_allow_writing_language_string_list(UI_string_type *strarray, S32 max);
extern U16 mmi_imm_get_curr_writing_language_index(void);
extern mmi_imm_support_writing_lang_enum mmi_imm_get_current_writing_language(void);
extern void mmi_imm_set_user_desired_writing_language(S32 index);
#if defined(__MMI_PREFER_WRITING_LANG__) || defined(__MMI_MIXED_LANG_SUPPORT__)
extern void mmi_imm_reset_user_desired_writing_language(void);
#endif
extern mmi_imm_support_writing_lang_enum mmi_imm_get_user_desired_writing_language(void);
extern void mmi_imm_set_writing_language_from_history(mmi_imm_support_writing_lang_enum writing_lang);
extern S32 mmi_imm_get_curr_allow_input_mode_string_list_of_curr_writing_lang(U16 *strarray, S32 max);
extern S32 mmi_imm_get_curr_allow_input_mode_list_of_curr_writing_lang(mmi_imm_input_mode_enum *mode_array, S32 max);
#if defined(__MMI_UI_VIRTUAL_KEYBOARD_DEFAULT_VERSION_3__)
extern S32 mmi_imm_get_curr_allow_input_mode_list_of_imev3(mmi_imm_input_mode_enum *mode_array, S32 max);
extern S32 mmi_imm_get_curr_allow_input_mode_string_list_of_imev3(U16 *strarray, S32 max);
#endif
#if defined(__MMI_IME_V3__)
typedef void (* confirm_func_ptr)(S32 selected_item);
extern void mmi_imc_popup_common_screen_change_mode_callback(S32 selected_item);
extern void mmi_imc_get_input_mode_setting_data(S32* item_count, U16* select_item, U8** item_list,confirm_func_ptr* confirm_call_back);
#endif
#ifdef __MMI_TOUCH_SCREEN__
extern mmi_imm_message_id_enum mmi_imm_set_events(
MMI_BOOL is_allowed,
const gui_virtual_keyboard_pen_enum *disable_event_keys_list);
#endif /* __MMI_TOUCH_SCREEN__ */
extern MMI_BOOL mmi_imm_test_input(UI_string_type cand, S32 cand_len);
extern void mmi_imm_test_input_ext(UI_string_type cand, S32 cand_len, MMI_BOOL *is_valid, S32 *valid_len);
extern MMI_BOOL mmi_imm_test_paste(UI_string_type cand, S32 cand_len);
#if defined(__MMI_PREFER_WRITING_LANG__) || defined(__MMI_MIXED_LANG_SUPPORT__)
extern void mmi_imm_set_main_lang(mmi_imm_support_writing_lang_enum main_lang);
extern mmi_imm_support_writing_lang_enum mmi_imm_get_main_lang(void);
#endif
#if defined(__MMI_MIXED_LANG_SUPPORT__)
extern void mmi_imm_set_sub_lang(mmi_imm_support_writing_lang_enum sub_lang);
extern mmi_imm_support_writing_lang_enum mmi_imm_get_sub_lang(void);
#endif
extern MMI_BOOL mmi_imc_check_multitap_state(void);
extern void mmi_imc_disable_csk(void);
#if defined(__MMI_SMART_ALPHABETIC_INPUT_METHODS__) || defined(__MMI_SMART_PHONETIC_INPUT_METHODS__)
extern MMI_BOOL mmi_imm_is_smart_alphabetic_input_modes_enabled(void);
extern void mmi_imm_config_smart_alphabetic_input_modes(MMI_BOOL is_enabled);
#endif
extern void mmi_imm_set_editor_type(mmi_ime_editor_type_enum editor_type);
/*****************************************************************************
* FUNCTION
* mmi_imm_is_auto_capitalization_enabled
* DESCRIPTION
* To check if auto-capitalization is enabled
* PARAMETERS
* RETURNS
*****************************************************************************/
extern MMI_BOOL mmi_imm_is_auto_capitalization_enabled(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_auto_capitalization
* DESCRIPTION
* Configure Auto completion Flag
* PARAMETERS
* MMI BOOL Enable/Disable
* RETURNS
* NONE
*****************************************************************************/
extern void mmi_imm_config_auto_capitalization(MMI_BOOL is_enabled);
/*****************************************************************************
* FUNCTION
* mmi_imm_is_auto_completion_enabled
* DESCRIPTION
* To check if auto-capitalization is enabled
* PARAMETERS
* RETURNS
*****************************************************************************/
extern MMI_BOOL mmi_imm_is_auto_completion_enabled(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_auto_completion
* DESCRIPTION
* Configure auto completion
* PARAMETERS
* MMI BOOL Enable/Disable
* RETURNS
* NONE
*****************************************************************************/
extern void mmi_imm_config_auto_completion(MMI_BOOL is_enabled);
/*****************************************************************************
* FUNCTION
* mmi_imm_is_alphabetic_word_prediction_enabled
* DESCRIPTION
* To check if auto-capitalization is enabled
* PARAMETERS
* RETURNS
*****************************************************************************/
extern MMI_BOOL mmi_imm_is_alphabetic_word_prediction_enabled(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_alphabetic_word_prediction
* DESCRIPTION
* Configure Alphabeticword prediction
* PARAMETERS
* MMI BOOL Enable/Disable
* RETURNS
* NONE
*****************************************************************************/
extern void mmi_imm_config_alphabetic_word_prediction(MMI_BOOL is_enabled);
/*****************************************************************************
* FUNCTION
* To check if chinese word prediction is enabled
* DESCRIPTION
* To check if chinese word prediction is enabled
* PARAMETERS
* RETURNS
*****************************************************************************/
extern MMI_BOOL mmi_imm_is_chinese_word_prediction_enabled(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_chinese_word_prediction
* DESCRIPTION
* Configure Chinese word prediction config Flag
* PARAMETERS
* MMI BOOL Enable/Disable
* RETURNS
* NONE
*****************************************************************************/
extern void mmi_imm_config_chinese_word_prediction(MMI_BOOL is_enabled);
#if defined(__MMI_IME_V3__)
/*****************************************************************************
* FUNCTION
* mmi_imm_config_chinese_word_prediction
* DESCRIPTION
* Configure Chinese word prediction config Flag
* PARAMETERS
* MMI BOOL Enable/Disable
* RETURNS
* NONE
*****************************************************************************/
extern MMI_BOOL mmi_imm_is_auto_space_enabled(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_chinese_word_prediction
* DESCRIPTION
* Configure Chinese word prediction config Flag
* PARAMETERS
* MMI BOOL Enable/Disable
* RETURNS
* NONE
*****************************************************************************/
extern MMI_BOOL mmi_imm_is_vibration_enabled(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_chinese_word_prediction
* DESCRIPTION
* Configure Chinese word prediction config Flag
* PARAMETERS
* MMI BOOL Enable/Disable
* RETURNS
* NONE
*****************************************************************************/
extern MMI_BOOL mmi_imm_is_sound_feedback_enabled(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_chinese_word_prediction
* DESCRIPTION
* Configure Chinese word prediction config Flag
* PARAMETERS
* MMI BOOL Enable/Disable
* RETURNS
* NONE
*****************************************************************************/
extern void mmi_imm_config_auto_space(MMI_BOOL is_enabled);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_chinese_word_prediction
* DESCRIPTION
* Configure Chinese word prediction config Flag
* PARAMETERS
* MMI BOOL Enable/Disable
* RETURNS
* NONE
*****************************************************************************/
extern void mmi_imm_config_vibration(MMI_BOOL is_enabled);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_chinese_word_prediction
* DESCRIPTION
* Configure Chinese word prediction config Flag
* PARAMETERS
* MMI BOOL Enable/Disable
* RETURNS
* NONE
*****************************************************************************/
extern void mmi_imm_config_sound_feedback(MMI_BOOL is_enabled);
#endif
/*****************************************************************************
* FUNCTION
* mmi_imm_config_keyboard_type
* DESCRIPTION
* Set keypad type
* PARAMETERS
* RETURNS
*****************************************************************************/
extern void mmi_imm_config_keyboard_type(mmi_imm_keypadtype_enum keyboard_type);
extern void mmi_imm_config_enabled_writing_languages(S32 lang_index , MMI_BOOL state);
/*****************************************************************************
* FUNCTION
* mmi_imm_get_keyboard_type
* DESCRIPTION
* Get keypad type
* PARAMETERS
* RETURNS
*****************************************************************************/
extern mmi_imm_keypadtype_enum mmi_imm_get_keyboard_type(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_map_wlang_ui_index_logical_index
* DESCRIPTION
* Gives writing lang index
* PARAMETERS
* RETURNS
*****************************************************************************/
extern S32 mmi_imm_map_wlang_ui_index_logical_index(S32 index);
/*****************************************************************************
* FUNCTION
* mmi_imm_map_wlang_logical_index_ui_index
* DESCRIPTION
* Gives writing lang index
* PARAMETERS
* RETURNS
*****************************************************************************/
extern S32 mmi_imm_map_wlang_logical_index_ui_index(S32 index);
/*****************************************************************************
* FUNCTION
* mmi_imm_map_wlang_logical_index_ui_index_for_sub
* DESCRIPTION
* Gives writing lang index for sub lang
* PARAMETERS
* RETURNS
*****************************************************************************/
extern S32 mmi_imm_map_wlang_logical_index_ui_index_for_sub(S32 index);
/*****************************************************************************
* FUNCTION
* mmi_imm_update_prefer_writing_language
* DESCRIPTION
* PARAMETERS
* RETURNS
*****************************************************************************/
extern void mmi_imm_update_prefer_writing_language(mmi_imm_support_writing_lang_enum writing_lang);
extern void mmi_imc_entry_edit_new_word_screen(void);
extern void mmi_imc_exit_edit_new_word_screen(void);
#if defined(__MMI_SMART_ALPHABETIC_INPUT_METHODS__) || defined(__MMI_SMART_PHONETIC_INPUT_METHODS__)
extern void mmi_imc_entry_config_smart_input_method_screen(void);
extern void mmi_imc_exit_config_smart_input_method_screen(void);
#endif
#if defined(__MMI_IME_USER_DATABASE__)
extern MMI_BOOL mmi_imm_does_current_lang_support_add_new_word(void);
#endif
extern UI_string_type mmi_imm_get_allowed_email_address_characters(void);
extern UI_string_type mmi_imm_get_allowed_voip_number_characters(void);
extern void mmi_imm_get_disabled_and_allowed_character_list(mmi_imm_allowed_character_list_struct_p list);
extern void mmi_imm_set_disabled_and_allowed_character_list(mmi_imm_allowed_character_list_struct_p list);
extern MMI_BOOL mmi_imm_is_smart_input_mode_valid(void);
extern void mmi_imm_config_first_uppercase_input_modes(MMI_BOOL is_enabled);
/* Multi-tap engine functions */
extern U16 mmi_ime_multitap_get_corresponding_key_code(mmi_imm_input_mode_enum input_mode, UI_character_type char_code);
extern U32 mmi_ime_multitap_get_alphabetic_keymap_table_size(void);
extern MMI_BOOL mmi_ime_multitap_create_alphabetic_keymap_table(U16 * buffer_ptr, U32 buffer_size);
extern U16 * mmi_ime_multitap_get_keymap(U16 * keymap_table, U16 key_code, U32 buffer_size);
extern void mmi_imc_set_backgroud_filler(mmi_imui_draw_back_ground_funcptr funcptr);
extern void mmi_imc_disable_virtual_keyboard(void);
extern mmi_imc_editor_menu_history_data_struct_p mmi_imc_get_editor_history_data(void);
#ifdef __MMI_CLIPBOARD__
extern mmi_imc_clipboard_data_struct g_imc_clipboard_data;
extern void mmi_imc_clipboard_enter_locate_start_cursor_state(void);
extern void mmi_imc_clipboard_enter_mark_text_state(mmi_imc_clipboard_mark_text_enum mark);
extern void mmi_imc_clipboard_go_back_to_initial(void);
extern void mmi_imc_clipboard_show_hide_edit_option_menu(mmi_imc_editor_menu_history_data_struct_p history);
extern mmi_imc_clipboard_ret_enum mmi_imc_clipboard_copy(void);
extern mmi_imc_clipboard_ret_enum mmi_imc_clipboard_copy_all(void);
extern mmi_imc_clipboard_ret_enum mmi_imc_clipboard_cut(void);
extern mmi_imc_clipboard_ret_enum mmi_imc_clipboard_cut_all(void);
extern mmi_imc_clipboard_ret_enum mmi_imc_clipboard_paste(void);
extern MMI_BOOL mmi_imc_clipboard_is_show_edit_option(U8 *history_buffer);
extern MMI_BOOL mmi_imc_clipboard_is_editor_read_only(void);
extern void mmi_imc_clipboard_save_keys(void);
extern void mmi_imc_clipboard_restore_keys(void);
#ifdef __MMI_TOUCH_SCREEN__
extern void mmi_imc_clipboard_pen_event_down_handler(mmi_pen_point_struct pos);
extern void mmi_imc_clipboard_pen_event_up_handler(mmi_pen_point_struct pos);
extern void mmi_imc_clipboard_pen_event_repeat_handler(mmi_pen_point_struct pos);
extern void mmi_imc_clipboard_pen_event_move_handler(mmi_pen_point_struct pos);
extern void mmi_imc_clipboard_pen_event_abort_handler(mmi_pen_point_struct pos);
#endif
/*****************************************************************************
* FUNCTION
* mmi_imc_clipboard_connect
* DESCRIPTION
* Connect IME for clipboard function. In Pluto, copy/cut/paste is bind with IME architecutre, so to support clipboard
* function, we need to connect IME.
* [Usage]: It should be called in category entry function.
* [WARNING]: Currently, we only support EMS/Multiline read only editor
* PARAMETERS
* type [IN] inputbox type.
* RETURNS
* void
*****************************************************************************/
extern void mmi_imc_clipboard_connect(mmi_imc_clipboard_inputbox_enum editor_type);
/*****************************************************************************
* FUNCTION
* mmi_imc_clipboard_disconnect
* DESCRIPTION
* Disconnect clipboard function.
* [Usage]: It should be called in category exit function.
* PARAMETERS
* void
* RETURNS
* void
*****************************************************************************/
extern void mmi_imc_clipboard_disconnect(void);
#endif /* __MMI_CLIPBOARD__ */
#if defined(__MMI_QWERTY_KEYPAD_SUPPORT__)
extern MMI_BOOL mmi_imm_qwerty_change_lang(mmi_imm_support_writing_lang_enum lang);
#endif
extern MMI_BOOL mmi_imc_is_clipboard_state(void);
#ifdef __MMI_VIRTUAL_KEYBOARD__
extern void mmi_imc_config_redraw_vk(MMI_BOOL b_show);
#endif
/* Pluto APIs for Venus */
extern void mmi_imc_key_group_key_down( void );
extern void mmi_imc_key_group_key_up( void );
extern void mmi_imc_key_group_key_repeat( void );
extern void mmi_imc_key_group_key_long( void );
#if defined(__MMI_QWERTY_KEYPAD_SUPPORT__)
extern MMI_BOOL mmi_imc_key_qwerty_group_key_handler(S16 mmi_key_code, S16 mmi_key_type, U16 ucs2_value, U32 special_key_flag);
extern mmi_ret mmi_imc_key_qwerty_key_proc(mmi_event_struct *evt);
#endif
#if !defined(__MMI_QWERTY_KEYPAD_SUPPORT__) || defined(__MMI_COSMOS_KEYPAD_SLIDER__)
extern MMI_BOOL mmi_imc_key_routing_event_handler(S16 mmi_key_code, S16 mmi_key_type, U16 ucs2_value, U32 special_key_flag);
#endif
#if defined(__MMI_TOUCH_SCREEN__)
extern void mmi_imc_pen_event_command_handler(mmi_imui_message_struct_p msg_ptr);
#endif
extern void mmi_imc_create_imui_controls(void);
extern void mmi_imc_set_imui_parameters(mmi_imui_param_struct *param);
extern void mmi_imc_get_imui_parameters(mmi_imui_param_struct *param);
extern S32 mmi_imc_get_floating_imui_height(void);
#if defined(__MMI_IME_FLOATING_CAND_BOX__)
extern MMI_BOOL mmi_imc_is_floating_candidate_box_enabled(void);
extern MMI_BOOL mmi_imui_get_floating_ui_position(mmi_imc_rect_p editor_rect, mmi_imc_rect_p cursor_rect, mmi_imc_point_p pos);
#if defined(__MMI_TOUCH_SCREEN__)
extern MMI_BOOL mmi_imc_check_floting_ui_contain_point(mmi_imc_point_p point);
#endif
#endif
extern U32 mmi_imc_get_current_floating_imui_control_set(void);
extern gdi_handle mmi_imc_get_extra_imui_layer_handler(void);
/* To check if an input mode is enabled in input mode list setting*/
extern MMI_BOOL mmi_imm_is_enabled_input_mode(mmi_imm_input_mode_enum input_mode) ;
/*To check if a writing language is enabled in writing language list setting*/
extern MMI_BOOL mmi_imm_is_enabled_writing_language(mmi_imm_input_mode_enum input_mode);
/* To check if smart input modes are enabled, replace mmi_imm_is_smart_alphabetic_input_modes_enalbed in imm.c*/
extern MMI_BOOL mmi_imm_is_smart_input_modes_enabled(void);
extern void mmi_imc_entry_edit_new_word_screen(void);
extern void mmi_imc_exit_edit_new_word_screen(void);
#if defined(__MMI_VUI_ENGINE__)
/* for vadp input server */
extern void mmi_imc_pen_event_pen_longtap_in_editor(mmi_pen_point_struct pos);
extern void mmi_imc_pen_event_pen_down_in_editor(mmi_pen_point_struct pos);
extern void mmi_imc_pen_event_pen_up_in_editor(mmi_pen_point_struct pos);
extern void mmi_imc_pen_event_pen_move_in_editor(mmi_pen_point_struct pos);
extern void mmi_imc_pen_event_pen_abort_in_editor(mmi_pen_point_struct pos);
#endif
#if defined(__MMI_IME_FTE_ENHANCE__)
extern mmi_imc_vk_present_enum mmi_imc_get_vk_present(void);
extern void mmi_imc_set_vk_present(mmi_imc_vk_present_enum style);
#if defined(__MMI_VIRTUAL_KEYBOARD__)
extern void mmi_imc_pen_show_popup_list_int(
S32 x,
S32 y,
S32 number_of_items,
U16 *list_of_items,
S32 highlighted_item,
FuncPtr confirm_callback,
FuncPtr cancel_callback);
#endif /* defined(__MMI_VIRTUAL_KEYBOARD__) */
#endif /* defined(__MMI_IME_FTE_ENHANCE__) */
#if defined(__MMI_VUI_ENGINE__)
extern void mmi_imc_pen_event_pen_down_in_editor(mmi_pen_point_struct pos);
extern void mmi_imc_pen_event_pen_move_in_editor(mmi_pen_point_struct pos);
extern void mmi_imc_pen_event_pen_up_in_editor(mmi_pen_point_struct pos);
extern void mmi_imc_pen_event_pen_abort_in_editor(mmi_pen_point_struct pos);
#endif /* defined(__MMI_VUI_ENGINE__) */
#if defined(__MMI_TOUCH_SCREEN__)
extern mmi_imc_pen_handwriting_style_enum mmi_imc_pen_get_handwriting_style(void);
#if !defined(__NO_HANDWRITING__)
extern void mmi_imc_pen_stroke_down_handler(mmi_pen_point_struct pos);
extern void mmi_imc_pen_stroke_up_handler(mmi_pen_point_struct pos);
extern void mmi_imc_pen_stroke_move_handler(mmi_pen_point_struct pos);
#endif /* !defined(__NO_HANDWRITING__) */
#endif /* defined(__MMI_TOUCH_SCREEN__) */
extern void mmi_imc_set_dialer_callback(MMI_BOOL (*funcptr)(mmi_imc_dialer_pen_code_enum pen_code, mmi_pen_event_type_enum pen_event));
extern void mmi_imc_send_current_input_mode_indication(void);
extern void mmi_imc_config_keymap_auto_test(MMI_BOOL is_on);
extern void mmi_imc_update_input_mode_by_cursor_pos(void);
extern void mmi_imc_editor_is_not_ready_when_connecting(void);
extern MMI_BOOL mmi_imc_is_editor_ready_when_connecting(void);
extern void mmi_imc_config_update_input_mode_by_cursor_pos(MMI_BOOL is_enabled);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_auto_capitalization_setting_changed
* DESCRIPTION
* Configure Auto capitalization is changed flag
* PARAMETERS
* RETURNS
*****************************************************************************/
extern void mmi_imm_config_auto_capitalization_setting_changed(MMI_BOOL is_enabled);
/*****************************************************************************
* FUNCTION
* mmi_imm_is_auto_capitalization_setting_changed
* DESCRIPTION
* To check if auto-capitalization setting was changed
* PARAMETERS
* RETURNS
*****************************************************************************/
MMI_BOOL mmi_imm_is_auto_capitalization_setting_changed(void);
extern mmi_ret mmi_imc_enter_spell_word_screen_handler(mmi_event_struct* param);
/*****************************************************************************
* FUNCTION
* mmi_imm_map_wlang_ui_index_sub_lang
* DESCRIPTION
* Gives sub writing lang from UI index
* PARAMETERS
* RETURNS
*****************************************************************************/
extern S32 mmi_imm_map_wlang_ui_index_sub_lang(S32 index);
/*****************************************************************************
* FUNCTION
* mmi_imm_wlang_change_handler
* DESCRIPTION
* for setting wlang from editors option menu
* PARAMETERS
* RETURNS
*****************************************************************************/
extern void mmi_imm_wlang_change_handler( S32 index);
extern MMI_BOOL mmi_imm_is_enabled_wlang(S32 wlang);
/*****************************************************************************
* FUNCTION
* mmi_imm_get_handwriting_setting
* DESCRIPTION
* Set whetehr or not hwsetting to be displayed
* PARAMETERS
* RETURNS
*****************************************************************************/
extern MMI_BOOL mmi_imm_get_handwriting_setting(void);
/*****************************************************************************
* FUNCTION
* mmi_imc_redraw_ime_indicator
* DESCRIPTION
* Redraw IME indicator, including information bar, input mode hint and IME
* indicator on status icon bar
* PARAMETERS
* RETURNS
*****************************************************************************/
extern void mmi_imc_redraw_ime_indicator(void);
/*****************************************************************************
* FUNCTION
* mmi_imc_skip_first_cursor_movement_event
* DESCRIPTION
* PARAMETERS
* is_skip
* RETURNS
* void
*****************************************************************************/
extern void mmi_imc_skip_first_cursor_movement_event(MMI_BOOL is_skip);
/*****************************************************************************
* FUNCTION
* mmi_imm_IsInputTypeNumber
* DESCRIPTION
* PARAMETERS
* is_skip
* RETURNS
* void
*****************************************************************************/
extern MMI_BOOL mmi_imm_IsInputTypeNumber(void);
extern U32 mmi_imm_get_required_mode_list_count(U32 input_type);
#if defined(__MMI_TOUCH_SCREEN__) && !defined(__MMI_NO_HANDWRITING__)
/*****************************************************************************
* FUNCTION
* mmi_imm_get_pen_speed
* DESCRIPTION
* PARAMETERS
* RETURNS
*****************************************************************************/
extern mmi_imm_pen_speed_enum mmi_imm_get_pen_speed(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_set_pen_speed
* DESCRIPTION
* PARAMETERS
* RETURNS
*****************************************************************************/
extern void mmi_imm_set_pen_speed(mmi_imm_pen_speed_enum speed);
#if defined( __MMI_UI_VIRTUAL_KEYBOARD_DEFAULT_VERSION_3__)
/*****************************************************************************
* FUNCTION
* mmi_imm_handwriting_is_follow_vk
* DESCRIPTION
* get current system is followed vk or not.
* PARAMETERS
* void
* RETURNS
* MMI_TRUE is follow vk
*****************************************************************************/
extern MMI_BOOL mmi_imm_handwriting_is_follow_vk(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_handwriting_set_follow_vk_lang
* DESCRIPTION
* set follow vk lang
* PARAMETERS
* bFollow: True->follow
* RETURNS
* void
*****************************************************************************/
extern void mmi_imm_handwriting_set_follow_vk_lang(MMI_BOOL bFollow);
/*****************************************************************************
* FUNCTION
* mmi_imm_handwriting_get_current_color_index
* DESCRIPTION
* get current color id
* PARAMETERS
* NA
* RETURNS
* color id
*****************************************************************************/
extern U8 mmi_imm_handwriting_get_current_color_id(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_handwriting_set_width
* DESCRIPTION
* set handwriting stroke width
* PARAMETERS
* width: stroke pixel width
* RETURNS
* void
*****************************************************************************/
extern void mmi_imm_handwriting_set_width(U8 width);
/*****************************************************************************
* FUNCTION
* mmi_imm_handwriting_get_stroke_width
* DESCRIPTION
* get stroke width
* PARAMETERS
* void
* RETURNS
* stroke pixel width
*****************************************************************************/
extern U8 mmi_imm_handwriting_get_stroke_width(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_handwriting_get_current_color_index
* DESCRIPTION
* get stroke color index
* PARAMETERS
* void
* RETURNS
* stroke pixel width
*****************************************************************************/
extern U32 mmi_imm_handwriting_get_current_color_index(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_handwriting_set_current_stroke_color
* DESCRIPTION
* set handwriting current stroke's color
* PARAMETERS
* uIndex: color id
* RETURNS
* True: set success
* False: set fail
*****************************************************************************/
extern MMI_BOOL mmi_imm_handwriting_set_current_stroke_color( U8 uIndex );
/*****************************************************************************
*
* FUNCTION
* mmi_imm_handwriting_get_current_stroke_color
* DESCRIPTION
* get current stroke color
* PARAMETERS
* void
* RETURNS
* current stroke color
*
*****************************************************************************/
extern color mmi_imm_handwriting_get_current_stroke_color(void);
/*****************************************************************************
*
* FUNCTION
* mmi_imm_handwriting_get_color_list
* DESCRIPTION
* get stroke color list
* PARAMETERS
* NA
* RETURNS
* Pointer of color list(start address of the array)
*
*****************************************************************************/
extern const color* mmi_imm_handwriting_get_color_list(void);
/*****************************************************************************
*
* FUNCTION
* mmi_imm_handwriting_get_color_number
* DESCRIPTION
* get stroke color number
* PARAMETERS
* NA
* RETURNS
* nunber of stroke color
*
*****************************************************************************/
extern U8 mmi_imm_handwriting_get_color_number(void);
/*****************************************************************************
*
* FUNCTION
* mmi_imm_handwriting_enable
* DESCRIPTION
* enable or disable handwriting
* PARAMETERS
* bOn: True: enable handwriting
* False: disable handwirting
* RETURNS
* NA
*
*****************************************************************************/
extern void mmi_imm_handwriting_enable(MMI_BOOL bOn);
/*****************************************************************************
*
* FUNCTION
* mmi_imm_handwriting_is_enable
* DESCRIPTION
* get current handwriting state of on or off.
* PARAMETERS
* NA
* RETURNS
* TRUE: handwriting is on
* FALSE: handwriting is off
*
*****************************************************************************/
extern MMI_BOOL mmi_imm_handwriting_is_enable(void);
/*****************************************************************************
*
* FUNCTION
* mmi_imm_handwriting_get_language_string
* DESCRIPTION
* get handwriting language string.
* PARAMETERS
* uIndex : language id
* RETURNS
* string of language
*
*****************************************************************************/
extern UI_character_type* mmi_imm_handwriting_get_language_string(U16 uIndex);
/*****************************************************************************
* FUNCTION
* mmi_imm_config_handwriting_language
* DESCRIPTION
* Set current handwritingwriting language
* PARAMETERS
* RETURNS
*****************************************************************************/
extern void mmi_imm_config_handwriting_language(UI_string_type string);
/*****************************************************************************
* FUNCTION
* mmi_imm_get_handwriting_language
* DESCRIPTION
* Get current handwritingwriting language
* PARAMETERS
* RETURNS
*****************************************************************************/
extern UI_string_type mmi_imm_get_handwriting_language(void);
/*****************************************************************************
* FUNCTION
* mmi_imm_get_handwriting_language_strings
* DESCRIPTION
* Get current handwritingwriting language strings
* PARAMETERS
* RETURNS
*****************************************************************************/
extern U32 mmi_imm_get_handwriting_language_strings(UI_string_type strarray[] );
/*****************************************************************************
*
* FUNCTION
* mmi_imm_handwriting_set_language
* DESCRIPTION
* set current handwriting language.
* PARAMETERS
* uIndex : language id
* RETURNS
* NA
*
*****************************************************************************/
extern void mmi_imm_handwriting_set_language(U16 uindex);
/*****************************************************************************
*
* FUNCTION
* mmi_imm_handwriting_get_current_lang
* DESCRIPTION
* get current handwriting language id.
* PARAMETERS
* NA
* RETURNS
* language id
*
*****************************************************************************/
extern U16 mmi_imm_handwriting_get_current_lang(void);
extern mmi_imm_input_mode_enum mmi_imm_handwriting_get_current_mode(void);
/*****************************************************************************
*
* FUNCTION
* mmi_imm_handwriting_get_lang_number
* DESCRIPTION
* get current handwriting language number.
* PARAMETERS
* NA
* RETURNS
* total num of handwriting language.
*
*****************************************************************************/
extern U16 mmi_imm_handwriting_get_lang_number(void);
#endif
#endif
extern void mmi_imc_check_rotation(void);
extern void mmi_imm_write_prefered_input_method_to_nvram(mmi_imm_input_mode_enum input_mode);
/*****************************************************************************
* FUNCTION
* mmi_imc_set_is_java_special_symbol_enabled
* DESCRIPTION
* PARAMETERS
* RETURNS
*****************************************************************************/
extern void mmi_imc_set_is_java_special_symbol_enabled(MMI_BOOL is_enabled);
/*****************************************************************************
* FUNCTION
* mmi_imc_get_is_java_special_symbol_enabled
* DESCRIPTION
* PARAMETERS
* RETURNS
*****************************************************************************/
extern MMI_BOOL mmi_imc_get_is_java_special_symbol_enabled(void);
/*****************************************************************************
* FUNCTION
* mmi_imc_set_is_dialer_special_case
* DESCRIPTION
* PARAMETERS
* RETURNS
*****************************************************************************/
extern void mmi_imc_set_is_disable_candidate_box(MMI_BOOL is_disabled);
/*****************************************************************************
* FUNCTION
* mmi_imc_get_is_dialer_special_case
* DESCRIPTION
* PARAMETERS
* RETURNS
*****************************************************************************/
extern MMI_BOOL mmi_imc_get_is_disable_candidate_box(void);
extern MMI_BOOL mmi_imc_process_key_input(U16 key_code, U16 key_type , U16 ucs2_value, U32 special_key_flag);
extern MMI_BOOL mmi_imc_process_pen_input(mmi_pen_point_struct pos , U16 event_type);
//Data Added for making Symbol picker Mechanism Generic on cosmos also
#define SYMBOL_TABLE_CUSTOMIZATION_FUNC_NUM 5
#define SYMBOL_PICKER_MAX_SYMBOLS 49
typedef S32 (*mmi_ime_symbol_table_callback)(U8*, S32, U8**, S32);
extern mmi_ime_symbol_table_callback g_mmi_ime_prepare_symbol_table[SYMBOL_TABLE_CUSTOMIZATION_FUNC_NUM];
extern S32 g_mmi_ime_symbol_table_stack_top ;
extern U8 g_mmi_ime_ap_desired_symbol[SYMBOL_PICKER_MAX_SYMBOLS* 2 * sizeof(UI_character_type)];
extern U8** g_mmi_ime_default_symbol_table[SYMBOL_TABLE_CUSTOMIZATION_FUNC_NUM];
extern S32 g_mmi_ime_default_symbol_table_max_num[SYMBOL_TABLE_CUSTOMIZATION_FUNC_NUM];
#endif /* __IMEGROT_H__ */
#if 0
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif