wgui_categories_inputs.c
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:1705k
源码类别:

MTK

开发平台:

C/C++

  1. #endif /* defined(__MMI_T9_CROATIAN__) || defined(__MMI_ZI_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) */  //KP Jerry add "__MMI_CSTAR_CROATIAN__" on 2007-4-6
  2. #if defined(__MMI_MULTITAP_ROMANIAN__)
  3. /*****************************************************************************
  4.  * FUNCTION
  5.  *  wgui_singleline_inputbox_change_input_mode_multitap_ROMANIAN
  6.  * DESCRIPTION
  7.  *  change input mode of single line input box to  ROMANIAN
  8.  * PARAMETERS
  9.  *  void
  10.  * RETURNS
  11.  *  void
  12.  *****************************************************************************/
  13. void wgui_singleline_inputbox_change_input_mode_multitap_ROMANIAN(void)
  14. {
  15.     /*----------------------------------------------------------------*/
  16.     /* Local Variables                                                */
  17.     /*----------------------------------------------------------------*/
  18.     /*----------------------------------------------------------------*/
  19.     /* Code Body                                                      */
  20.     /*----------------------------------------------------------------*/
  21.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ROMANIAN;
  22.     wgui_singleline_inputbox_input_mode_changed = 1;
  23. }
  24. /*****************************************************************************
  25.  * FUNCTION
  26.  *  wgui_singleline_inputbox_change_input_mode_multitap_romanian
  27.  * DESCRIPTION
  28.  *  change input mode of single line input box to  romanian
  29.  * PARAMETERS
  30.  *  void
  31.  * RETURNS
  32.  *  void
  33.  *****************************************************************************/
  34. void wgui_singleline_inputbox_change_input_mode_multitap_romanian(void)
  35. {
  36.     /*----------------------------------------------------------------*/
  37.     /* Local Variables                                                */
  38.     /*----------------------------------------------------------------*/
  39.     /*----------------------------------------------------------------*/
  40.     /* Code Body                                                      */
  41.     /*----------------------------------------------------------------*/
  42.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ROMANIAN;
  43.     wgui_singleline_inputbox_input_mode_changed = 1;
  44. }
  45. /*****************************************************************************
  46.  * FUNCTION
  47.  *  wgui_change_inputbox_mode_quick_search_romanian
  48.  * DESCRIPTION
  49.  *  
  50.  * PARAMETERS
  51.  *  void
  52.  * RETURNS
  53.  *  void
  54.  *****************************************************************************/
  55. void wgui_change_inputbox_mode_quick_search_romanian(void)
  56. {
  57.     /*----------------------------------------------------------------*/
  58.     /* Local Variables                                                */
  59.     /*----------------------------------------------------------------*/
  60.     /*----------------------------------------------------------------*/
  61.     /* Code Body                                                      */
  62.     /*----------------------------------------------------------------*/
  63.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_ROMANIAN;
  64.     wgui_singleline_inputbox_input_mode_changed = 1;
  65. }
  66. #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */ 
  67. #if defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-6
  68. /*****************************************************************************
  69.  * FUNCTION
  70.  *  wgui_singleline_inputbox_change_input_mode_smart_ROMANIAN
  71.  * DESCRIPTION
  72.  *  change input mode of single line input box to  ROMANIAN
  73.  * PARAMETERS
  74.  *  void
  75.  * RETURNS
  76.  *  void
  77.  *****************************************************************************/
  78. void wgui_singleline_inputbox_change_input_mode_smart_ROMANIAN(void)
  79. {
  80.     /*----------------------------------------------------------------*/
  81.     /* Local Variables                                                */
  82.     /*----------------------------------------------------------------*/
  83.     /*----------------------------------------------------------------*/
  84.     /* Code Body                                                      */
  85.     /*----------------------------------------------------------------*/
  86.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_ROMANIAN;
  87.     wgui_singleline_inputbox_input_mode_changed = 1;
  88. }
  89. /*****************************************************************************
  90.  * FUNCTION
  91.  *  wgui_singleline_inputbox_change_input_mode_smart_romanian
  92.  * DESCRIPTION
  93.  *  change input mode of single line input box to  romanian
  94.  * PARAMETERS
  95.  *  void
  96.  * RETURNS
  97.  *  void
  98.  *****************************************************************************/
  99. void wgui_singleline_inputbox_change_input_mode_smart_romanian(void)
  100. {
  101.     /*----------------------------------------------------------------*/
  102.     /* Local Variables                                                */
  103.     /*----------------------------------------------------------------*/
  104.     /*----------------------------------------------------------------*/
  105.     /* Code Body                                                      */
  106.     /*----------------------------------------------------------------*/
  107.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_ROMANIAN;
  108.     wgui_singleline_inputbox_input_mode_changed = 1;
  109. }
  110. #endif /* defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) */  //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-6
  111. #if defined(__MMI_MULTITAP_SLOVENIAN__)
  112. /*****************************************************************************
  113.  * FUNCTION
  114.  *  wgui_singleline_inputbox_change_input_mode_multitap_SLOVENIAN
  115.  * DESCRIPTION
  116.  *  change input mode of single line input box to  SLOVENIAN
  117.  * PARAMETERS
  118.  *  void
  119.  * RETURNS
  120.  *  void
  121.  *****************************************************************************/
  122. void wgui_singleline_inputbox_change_input_mode_multitap_SLOVENIAN(void)
  123. {
  124.     /*----------------------------------------------------------------*/
  125.     /* Local Variables                                                */
  126.     /*----------------------------------------------------------------*/
  127.     /*----------------------------------------------------------------*/
  128.     /* Code Body                                                      */
  129.     /*----------------------------------------------------------------*/
  130.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVENIAN;
  131.     wgui_singleline_inputbox_input_mode_changed = 1;
  132. }
  133. /*****************************************************************************
  134.  * FUNCTION
  135.  *  wgui_singleline_inputbox_change_input_mode_multitap_slovenian
  136.  * DESCRIPTION
  137.  *  change input mode of single line input box to  slovenian
  138.  * PARAMETERS
  139.  *  void
  140.  * RETURNS
  141.  *  void
  142.  *****************************************************************************/
  143. void wgui_singleline_inputbox_change_input_mode_multitap_slovenian(void)
  144. {
  145.     /*----------------------------------------------------------------*/
  146.     /* Local Variables                                                */
  147.     /*----------------------------------------------------------------*/
  148.     /*----------------------------------------------------------------*/
  149.     /* Code Body                                                      */
  150.     /*----------------------------------------------------------------*/
  151.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVENIAN;
  152.     wgui_singleline_inputbox_input_mode_changed = 1;
  153. }
  154. /*****************************************************************************
  155.  * FUNCTION
  156.  *  wgui_change_inputbox_mode_quick_search_slovenian
  157.  * DESCRIPTION
  158.  *  
  159.  * PARAMETERS
  160.  *  void
  161.  * RETURNS
  162.  *  void
  163.  *****************************************************************************/
  164. void wgui_change_inputbox_mode_quick_search_slovenian(void)
  165. {
  166.     /*----------------------------------------------------------------*/
  167.     /* Local Variables                                                */
  168.     /*----------------------------------------------------------------*/
  169.     /*----------------------------------------------------------------*/
  170.     /* Code Body                                                      */
  171.     /*----------------------------------------------------------------*/
  172.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_SLOVENIAN;
  173.     wgui_singleline_inputbox_input_mode_changed = 1;
  174. }
  175. #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */ 
  176. #if defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-6
  177. /*****************************************************************************
  178.  * FUNCTION
  179.  *  wgui_singleline_inputbox_change_input_mode_smart_SLOVENIAN
  180.  * DESCRIPTION
  181.  *  change input mode of single line input box to  SLOVENIAN
  182.  * PARAMETERS
  183.  *  void
  184.  * RETURNS
  185.  *  void
  186.  *****************************************************************************/
  187. void wgui_singleline_inputbox_change_input_mode_smart_SLOVENIAN(void)
  188. {
  189.     /*----------------------------------------------------------------*/
  190.     /* Local Variables                                                */
  191.     /*----------------------------------------------------------------*/
  192.     /*----------------------------------------------------------------*/
  193.     /* Code Body                                                      */
  194.     /*----------------------------------------------------------------*/
  195.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_SLOVENIAN;
  196.     wgui_singleline_inputbox_input_mode_changed = 1;
  197. }
  198. /*****************************************************************************
  199.  * FUNCTION
  200.  *  wgui_singleline_inputbox_change_input_mode_smart_slovenian
  201.  * DESCRIPTION
  202.  *  change input mode of single line input box to  slovenian
  203.  * PARAMETERS
  204.  *  void
  205.  * RETURNS
  206.  *  void
  207.  *****************************************************************************/
  208. void wgui_singleline_inputbox_change_input_mode_smart_slovenian(void)
  209. {
  210.     /*----------------------------------------------------------------*/
  211.     /* Local Variables                                                */
  212.     /*----------------------------------------------------------------*/
  213.     /*----------------------------------------------------------------*/
  214.     /* Code Body                                                      */
  215.     /*----------------------------------------------------------------*/
  216.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_SLOVENIAN;
  217.     wgui_singleline_inputbox_input_mode_changed = 1;
  218. }
  219. #endif /* defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) */  //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-6
  220. #if defined(__MMI_MULTITAP_GREEK__)
  221. /*****************************************************************************
  222.  * FUNCTION
  223.  *  wgui_singleline_inputbox_change_input_mode_multitap_GREEK
  224.  * DESCRIPTION
  225.  *  change input mode of single line input box to  GREEK
  226.  * PARAMETERS
  227.  *  void
  228.  * RETURNS
  229.  *  void
  230.  *****************************************************************************/
  231. void wgui_singleline_inputbox_change_input_mode_multitap_GREEK(void)
  232. {
  233.     /*----------------------------------------------------------------*/
  234.     /* Local Variables                                                */
  235.     /*----------------------------------------------------------------*/
  236.     /*----------------------------------------------------------------*/
  237.     /* Code Body                                                      */
  238.     /*----------------------------------------------------------------*/
  239.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GREEK;
  240.     wgui_singleline_inputbox_input_mode_changed = 1;
  241. }
  242. /*****************************************************************************
  243.  * FUNCTION
  244.  *  wgui_singleline_inputbox_change_input_mode_multitap_greek
  245.  * DESCRIPTION
  246.  *  change input mode of single line input box to  greek
  247.  * PARAMETERS
  248.  *  void
  249.  * RETURNS
  250.  *  void
  251.  *****************************************************************************/
  252. void wgui_singleline_inputbox_change_input_mode_multitap_greek(void)
  253. {
  254.     /*----------------------------------------------------------------*/
  255.     /* Local Variables                                                */
  256.     /*----------------------------------------------------------------*/
  257.     /*----------------------------------------------------------------*/
  258.     /* Code Body                                                      */
  259.     /*----------------------------------------------------------------*/
  260.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GREEK;
  261.     wgui_singleline_inputbox_input_mode_changed = 1;
  262. }
  263. /*****************************************************************************
  264.  * FUNCTION
  265.  *  wgui_change_inputbox_mode_quick_search_greek
  266.  * DESCRIPTION
  267.  *  
  268.  * PARAMETERS
  269.  *  void
  270.  * RETURNS
  271.  *  void
  272.  *****************************************************************************/
  273. void wgui_change_inputbox_mode_quick_search_greek(void)
  274. {
  275.     /*----------------------------------------------------------------*/
  276.     /* Local Variables                                                */
  277.     /*----------------------------------------------------------------*/
  278.     /*----------------------------------------------------------------*/
  279.     /* Code Body                                                      */
  280.     /*----------------------------------------------------------------*/
  281.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_GREEK;
  282.     wgui_singleline_inputbox_input_mode_changed = 1;
  283. }
  284. #endif /* defined(__MMI_MULTITAP_GREEK__) */ 
  285. #if defined(__MMI_T9_GREEK__) || defined(__MMI_ZI_GREEK__) || defined(__MMI_CSTAR_GREEK__) //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-6
  286. /*****************************************************************************
  287.  * FUNCTION
  288.  *  wgui_singleline_inputbox_change_input_mode_smart_GREEK
  289.  * DESCRIPTION
  290.  *  change input mode of single line input box to  GREEK
  291.  * PARAMETERS
  292.  *  void
  293.  * RETURNS
  294.  *  void
  295.  *****************************************************************************/
  296. void wgui_singleline_inputbox_change_input_mode_smart_GREEK(void)
  297. {
  298.     /*----------------------------------------------------------------*/
  299.     /* Local Variables                                                */
  300.     /*----------------------------------------------------------------*/
  301.     /*----------------------------------------------------------------*/
  302.     /* Code Body                                                      */
  303.     /*----------------------------------------------------------------*/
  304.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_GREEK;
  305.     wgui_singleline_inputbox_input_mode_changed = 1;
  306. }
  307. /*****************************************************************************
  308.  * FUNCTION
  309.  *  wgui_singleline_inputbox_change_input_mode_smart_greek
  310.  * DESCRIPTION
  311.  *  change input mode of single line input box to  greek
  312.  * PARAMETERS
  313.  *  void
  314.  * RETURNS
  315.  *  void
  316.  *****************************************************************************/
  317. void wgui_singleline_inputbox_change_input_mode_smart_greek(void)
  318. {
  319.     /*----------------------------------------------------------------*/
  320.     /* Local Variables                                                */
  321.     /*----------------------------------------------------------------*/
  322.     /*----------------------------------------------------------------*/
  323.     /* Code Body                                                      */
  324.     /*----------------------------------------------------------------*/
  325.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_GREEK;
  326.     wgui_singleline_inputbox_input_mode_changed = 1;
  327. }
  328. #endif /* defined(__MMI_T9_GREEK__) || defined(__MMI_ZI_GREEK__) || defined(__MMI_CSTAR_GREEK__) */  //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-6
  329. #if defined(__MMI_MULTITAP_FRENCH__)
  330. /*****************************************************************************
  331.  * FUNCTION
  332.  *  wgui_singleline_inputbox_change_input_mode_multitap_FRENCH
  333.  * DESCRIPTION
  334.  *  change input mode of single line input box to  FRENCH
  335.  * PARAMETERS
  336.  *  void
  337.  * RETURNS
  338.  *  void
  339.  *****************************************************************************/
  340. void wgui_singleline_inputbox_change_input_mode_multitap_FRENCH(void)
  341. {
  342.     /*----------------------------------------------------------------*/
  343.     /* Local Variables                                                */
  344.     /*----------------------------------------------------------------*/
  345.     /*----------------------------------------------------------------*/
  346.     /* Code Body                                                      */
  347.     /*----------------------------------------------------------------*/
  348.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FRENCH;
  349.     wgui_singleline_inputbox_input_mode_changed = 1;
  350. }
  351. /*****************************************************************************
  352.  * FUNCTION
  353.  *  wgui_singleline_inputbox_change_input_mode_multitap_french
  354.  * DESCRIPTION
  355.  *  change input mode of single line input box to  french
  356.  * PARAMETERS
  357.  *  void
  358.  * RETURNS
  359.  *  void
  360.  *****************************************************************************/
  361. void wgui_singleline_inputbox_change_input_mode_multitap_french(void)
  362. {
  363.     /*----------------------------------------------------------------*/
  364.     /* Local Variables                                                */
  365.     /*----------------------------------------------------------------*/
  366.     /*----------------------------------------------------------------*/
  367.     /* Code Body                                                      */
  368.     /*----------------------------------------------------------------*/
  369.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FRENCH;
  370.     wgui_singleline_inputbox_input_mode_changed = 1;
  371. }
  372. /*****************************************************************************
  373.  * FUNCTION
  374.  *  wgui_change_inputbox_mode_quick_search_french
  375.  * DESCRIPTION
  376.  *  
  377.  * PARAMETERS
  378.  *  void
  379.  * RETURNS
  380.  *  void
  381.  *****************************************************************************/
  382. void wgui_change_inputbox_mode_quick_search_french(void)
  383. {
  384.     /*----------------------------------------------------------------*/
  385.     /* Local Variables                                                */
  386.     /*----------------------------------------------------------------*/
  387.     /*----------------------------------------------------------------*/
  388.     /* Code Body                                                      */
  389.     /*----------------------------------------------------------------*/
  390.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_FRENCH;
  391.     wgui_singleline_inputbox_input_mode_changed = 1;
  392. }
  393. #endif /* defined(__MMI_MULTITAP_FRENCH__) */ 
  394. #if defined(__MMI_T9_FRENCH__) || defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__) || defined(__MMI_CSTAR_FRENCH__) //KP Jerry add "__MMI_CSTAR_FRENCH__" on 2007-4-6
  395. /*****************************************************************************
  396.  * FUNCTION
  397.  *  wgui_singleline_inputbox_change_input_mode_smart_FRENCH
  398.  * DESCRIPTION
  399.  *  change input mode of single line input box to  FRENCH
  400.  * PARAMETERS
  401.  *  void
  402.  * RETURNS
  403.  *  void
  404.  *****************************************************************************/
  405. void wgui_singleline_inputbox_change_input_mode_smart_FRENCH(void)
  406. {
  407.     /*----------------------------------------------------------------*/
  408.     /* Local Variables                                                */
  409.     /*----------------------------------------------------------------*/
  410.     /*----------------------------------------------------------------*/
  411.     /* Code Body                                                      */
  412.     /*----------------------------------------------------------------*/
  413.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_FRENCH;
  414.     wgui_singleline_inputbox_input_mode_changed = 1;
  415. }
  416. /*****************************************************************************
  417.  * FUNCTION
  418.  *  wgui_singleline_inputbox_change_input_mode_smart_french
  419.  * DESCRIPTION
  420.  *  change input mode of single line input box to  french
  421.  * PARAMETERS
  422.  *  void
  423.  * RETURNS
  424.  *  void
  425.  *****************************************************************************/
  426. void wgui_singleline_inputbox_change_input_mode_smart_french(void)
  427. {
  428.     /*----------------------------------------------------------------*/
  429.     /* Local Variables                                                */
  430.     /*----------------------------------------------------------------*/
  431.     /*----------------------------------------------------------------*/
  432.     /* Code Body                                                      */
  433.     /*----------------------------------------------------------------*/
  434.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_FRENCH;
  435.     wgui_singleline_inputbox_input_mode_changed = 1;
  436. }
  437. #endif /* defined(__MMI_T9_FRENCH__) || defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__) || defined(__MMI_CSTAR_FRENCH__) */  //KP Jerry add "__MMI_CSTAR_FRENCH__" on 2007-4-6
  438. #if defined(__MMI_MULTITAP_GERMAN__)
  439. /*****************************************************************************
  440.  * FUNCTION
  441.  *  wgui_singleline_inputbox_change_input_mode_multitap_GERMAN
  442.  * DESCRIPTION
  443.  *  change input mode of single line input box to  GERMAN
  444.  * PARAMETERS
  445.  *  void
  446.  * RETURNS
  447.  *  void
  448.  *****************************************************************************/
  449. void wgui_singleline_inputbox_change_input_mode_multitap_GERMAN(void)
  450. {
  451.     /*----------------------------------------------------------------*/
  452.     /* Local Variables                                                */
  453.     /*----------------------------------------------------------------*/
  454.     /*----------------------------------------------------------------*/
  455.     /* Code Body                                                      */
  456.     /*----------------------------------------------------------------*/
  457.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GERMAN;
  458.     wgui_singleline_inputbox_input_mode_changed = 1;
  459. }
  460. /*****************************************************************************
  461.  * FUNCTION
  462.  *  wgui_singleline_inputbox_change_input_mode_multitap_german
  463.  * DESCRIPTION
  464.  *  change input mode of single line input box to  german
  465.  * PARAMETERS
  466.  *  void
  467.  * RETURNS
  468.  *  void
  469.  *****************************************************************************/
  470. void wgui_singleline_inputbox_change_input_mode_multitap_german(void)
  471. {
  472.     /*----------------------------------------------------------------*/
  473.     /* Local Variables                                                */
  474.     /*----------------------------------------------------------------*/
  475.     /*----------------------------------------------------------------*/
  476.     /* Code Body                                                      */
  477.     /*----------------------------------------------------------------*/
  478.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GERMAN;
  479.     wgui_singleline_inputbox_input_mode_changed = 1;
  480. }
  481. /*****************************************************************************
  482.  * FUNCTION
  483.  *  wgui_change_inputbox_mode_quick_search_german
  484.  * DESCRIPTION
  485.  *  
  486.  * PARAMETERS
  487.  *  void
  488.  * RETURNS
  489.  *  void
  490.  *****************************************************************************/
  491. void wgui_change_inputbox_mode_quick_search_german(void)
  492. {
  493.     /*----------------------------------------------------------------*/
  494.     /* Local Variables                                                */
  495.     /*----------------------------------------------------------------*/
  496.     /*----------------------------------------------------------------*/
  497.     /* Code Body                                                      */
  498.     /*----------------------------------------------------------------*/
  499.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_GERMAN;
  500.     wgui_singleline_inputbox_input_mode_changed = 1;
  501. }
  502. #endif /* defined(__MMI_MULTITAP_GERMAN__) */ 
  503. #if defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-6
  504. /*****************************************************************************
  505.  * FUNCTION
  506.  *  wgui_singleline_inputbox_change_input_mode_smart_GERMAN
  507.  * DESCRIPTION
  508.  *  change input mode of single line input box to  GERMAN
  509.  * PARAMETERS
  510.  *  void
  511.  * RETURNS
  512.  *  void
  513.  *****************************************************************************/
  514. void wgui_singleline_inputbox_change_input_mode_smart_GERMAN(void)
  515. {
  516.     /*----------------------------------------------------------------*/
  517.     /* Local Variables                                                */
  518.     /*----------------------------------------------------------------*/
  519.     /*----------------------------------------------------------------*/
  520.     /* Code Body                                                      */
  521.     /*----------------------------------------------------------------*/
  522.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_GERMAN;
  523.     wgui_singleline_inputbox_input_mode_changed = 1;
  524. }
  525. /*****************************************************************************
  526.  * FUNCTION
  527.  *  wgui_singleline_inputbox_change_input_mode_smart_german
  528.  * DESCRIPTION
  529.  *  change input mode of single line input box to  german
  530.  * PARAMETERS
  531.  *  void
  532.  * RETURNS
  533.  *  void
  534.  *****************************************************************************/
  535. void wgui_singleline_inputbox_change_input_mode_smart_german(void)
  536. {
  537.     /*----------------------------------------------------------------*/
  538.     /* Local Variables                                                */
  539.     /*----------------------------------------------------------------*/
  540.     /*----------------------------------------------------------------*/
  541.     /* Code Body                                                      */
  542.     /*----------------------------------------------------------------*/
  543.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_GERMAN;
  544.     wgui_singleline_inputbox_input_mode_changed = 1;
  545. }
  546. #endif /* defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) */  //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-6
  547. #if defined(__MMI_MULTITAP_ITALIAN__)
  548. /*****************************************************************************
  549.  * FUNCTION
  550.  *  wgui_singleline_inputbox_change_input_mode_multitap_ITALIAN
  551.  * DESCRIPTION
  552.  *  change input mode of single line input box to  ITALIAN
  553.  * PARAMETERS
  554.  *  void
  555.  * RETURNS
  556.  *  void
  557.  *****************************************************************************/
  558. void wgui_singleline_inputbox_change_input_mode_multitap_ITALIAN(void)
  559. {
  560.     /*----------------------------------------------------------------*/
  561.     /* Local Variables                                                */
  562.     /*----------------------------------------------------------------*/
  563.     /*----------------------------------------------------------------*/
  564.     /* Code Body                                                      */
  565.     /*----------------------------------------------------------------*/
  566.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ITALIAN;
  567.     wgui_singleline_inputbox_input_mode_changed = 1;
  568. }
  569. /*****************************************************************************
  570.  * FUNCTION
  571.  *  wgui_singleline_inputbox_change_input_mode_multitap_italian
  572.  * DESCRIPTION
  573.  *  change input mode of single line input box to  italian
  574.  * PARAMETERS
  575.  *  void
  576.  * RETURNS
  577.  *  void
  578.  *****************************************************************************/
  579. void wgui_singleline_inputbox_change_input_mode_multitap_italian(void)
  580. {
  581.     /*----------------------------------------------------------------*/
  582.     /* Local Variables                                                */
  583.     /*----------------------------------------------------------------*/
  584.     /*----------------------------------------------------------------*/
  585.     /* Code Body                                                      */
  586.     /*----------------------------------------------------------------*/
  587.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ITALIAN;
  588.     wgui_singleline_inputbox_input_mode_changed = 1;
  589. }
  590. /*****************************************************************************
  591.  * FUNCTION
  592.  *  wgui_change_inputbox_mode_quick_search_italian
  593.  * DESCRIPTION
  594.  *  
  595.  * PARAMETERS
  596.  *  void
  597.  * RETURNS
  598.  *  void
  599.  *****************************************************************************/
  600. void wgui_change_inputbox_mode_quick_search_italian(void)
  601. {
  602.     /*----------------------------------------------------------------*/
  603.     /* Local Variables                                                */
  604.     /*----------------------------------------------------------------*/
  605.     /*----------------------------------------------------------------*/
  606.     /* Code Body                                                      */
  607.     /*----------------------------------------------------------------*/
  608.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_ITALIAN;
  609.     wgui_singleline_inputbox_input_mode_changed = 1;
  610. }
  611. #endif /* defined(__MMI_MULTITAP_ITALIAN__) */ 
  612. #if defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-6
  613. /*****************************************************************************
  614.  * FUNCTION
  615.  *  wgui_singleline_inputbox_change_input_mode_smart_ITALIAN
  616.  * DESCRIPTION
  617.  *  change input mode of single line input box to  ITALIAN
  618.  * PARAMETERS
  619.  *  void
  620.  * RETURNS
  621.  *  void
  622.  *****************************************************************************/
  623. void wgui_singleline_inputbox_change_input_mode_smart_ITALIAN(void)
  624. {
  625.     /*----------------------------------------------------------------*/
  626.     /* Local Variables                                                */
  627.     /*----------------------------------------------------------------*/
  628.     /*----------------------------------------------------------------*/
  629.     /* Code Body                                                      */
  630.     /*----------------------------------------------------------------*/
  631.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_ITALIAN;
  632.     wgui_singleline_inputbox_input_mode_changed = 1;
  633. }
  634. /*****************************************************************************
  635.  * FUNCTION
  636.  *  wgui_singleline_inputbox_change_input_mode_smart_italian
  637.  * DESCRIPTION
  638.  *  change input mode of single line input box to  italian
  639.  * PARAMETERS
  640.  *  void
  641.  * RETURNS
  642.  *  void
  643.  *****************************************************************************/
  644. void wgui_singleline_inputbox_change_input_mode_smart_italian(void)
  645. {
  646.     /*----------------------------------------------------------------*/
  647.     /* Local Variables                                                */
  648.     /*----------------------------------------------------------------*/
  649.     /*----------------------------------------------------------------*/
  650.     /* Code Body                                                      */
  651.     /*----------------------------------------------------------------*/
  652.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_ITALIAN;
  653.     wgui_singleline_inputbox_input_mode_changed = 1;
  654. }
  655. #endif /* defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) */  //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-6
  656. #if defined(__MMI_MULTITAP_RUSSIAN__)
  657. /*****************************************************************************
  658.  * FUNCTION
  659.  *  wgui_singleline_inputbox_change_input_mode_multitap_RUSSIAN
  660.  * DESCRIPTION
  661.  *  change input mode of single line input box to  RUSSIAN
  662.  * PARAMETERS
  663.  *  void
  664.  * RETURNS
  665.  *  void
  666.  *****************************************************************************/
  667. void wgui_singleline_inputbox_change_input_mode_multitap_RUSSIAN(void)
  668. {
  669.     /*----------------------------------------------------------------*/
  670.     /* Local Variables                                                */
  671.     /*----------------------------------------------------------------*/
  672.     /*----------------------------------------------------------------*/
  673.     /* Code Body                                                      */
  674.     /*----------------------------------------------------------------*/
  675.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN;
  676.     wgui_singleline_inputbox_input_mode_changed = 1;
  677. }
  678. /*****************************************************************************
  679.  * FUNCTION
  680.  *  wgui_singleline_inputbox_change_input_mode_multitap_russian
  681.  * DESCRIPTION
  682.  *  change input mode of single line input box to  russian
  683.  * PARAMETERS
  684.  *  void
  685.  * RETURNS
  686.  *  void
  687.  *****************************************************************************/
  688. void wgui_singleline_inputbox_change_input_mode_multitap_russian(void)
  689. {
  690.     /*----------------------------------------------------------------*/
  691.     /* Local Variables                                                */
  692.     /*----------------------------------------------------------------*/
  693.     /*----------------------------------------------------------------*/
  694.     /* Code Body                                                      */
  695.     /*----------------------------------------------------------------*/
  696.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN;
  697.     wgui_singleline_inputbox_input_mode_changed = 1;
  698. }
  699. /*****************************************************************************
  700.  * FUNCTION
  701.  *  wgui_change_inputbox_mode_quick_search_russian
  702.  * DESCRIPTION
  703.  *  
  704.  * PARAMETERS
  705.  *  void
  706.  * RETURNS
  707.  *  void
  708.  *****************************************************************************/
  709. void wgui_change_inputbox_mode_quick_search_russian(void)
  710. {
  711.     /*----------------------------------------------------------------*/
  712.     /* Local Variables                                                */
  713.     /*----------------------------------------------------------------*/
  714.     /*----------------------------------------------------------------*/
  715.     /* Code Body                                                      */
  716.     /*----------------------------------------------------------------*/
  717.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_RUSSIAN;
  718.     wgui_singleline_inputbox_input_mode_changed = 1;
  719. }
  720. #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */ 
  721. #if defined(__MMI_MULTITAP_BULGARIAN__)
  722. /*****************************************************************************
  723.  * FUNCTION
  724.  *  wgui_singleline_inputbox_change_input_mode_multitap_BULGARIAN
  725.  * DESCRIPTION
  726.  *  change input mode of single line input box to  BULGARIAN
  727.  * PARAMETERS
  728.  *  void
  729.  * RETURNS
  730.  *  void
  731.  *****************************************************************************/
  732. void wgui_singleline_inputbox_change_input_mode_multitap_BULGARIAN(void)
  733. {
  734.     /*----------------------------------------------------------------*/
  735.     /* Local Variables                                                */
  736.     /*----------------------------------------------------------------*/
  737.     /*----------------------------------------------------------------*/
  738.     /* Code Body                                                      */
  739.     /*----------------------------------------------------------------*/
  740.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN;
  741.     wgui_singleline_inputbox_input_mode_changed = 1;
  742. }
  743. /*****************************************************************************
  744.  * FUNCTION
  745.  *  wgui_singleline_inputbox_change_input_mode_multitap_bulgarian
  746.  * DESCRIPTION
  747.  *  change input mode of single line input box to  bulgarian
  748.  * PARAMETERS
  749.  *  void
  750.  * RETURNS
  751.  *  void
  752.  *****************************************************************************/
  753. void wgui_singleline_inputbox_change_input_mode_multitap_bulgarian(void)
  754. {
  755.     /*----------------------------------------------------------------*/
  756.     /* Local Variables                                                */
  757.     /*----------------------------------------------------------------*/
  758.     /*----------------------------------------------------------------*/
  759.     /* Code Body                                                      */
  760.     /*----------------------------------------------------------------*/
  761.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN;
  762.     wgui_singleline_inputbox_input_mode_changed = 1;
  763. }
  764. /*****************************************************************************
  765.  * FUNCTION
  766.  *  wgui_change_inputbox_mode_quick_search_bulgarian
  767.  * DESCRIPTION
  768.  *  
  769.  * PARAMETERS
  770.  *  void
  771.  * RETURNS
  772.  *  void
  773.  *****************************************************************************/
  774. void wgui_change_inputbox_mode_quick_search_bulgarian(void)
  775. {
  776.     /*----------------------------------------------------------------*/
  777.     /* Local Variables                                                */
  778.     /*----------------------------------------------------------------*/
  779.     /*----------------------------------------------------------------*/
  780.     /* Code Body                                                      */
  781.     /*----------------------------------------------------------------*/
  782.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_BULGARIAN;
  783.     wgui_singleline_inputbox_input_mode_changed = 1;
  784. }
  785. #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */ 
  786. #if defined(__MMI_MULTITAP_HEBREW__)
  787. /*****************************************************************************
  788.  * FUNCTION
  789.  *  wgui_singleline_inputbox_change_input_mode_multitap_hebrew
  790.  * DESCRIPTION
  791.  *  change input mode of single line input box to HEBREW
  792.  * PARAMETERS
  793.  *  void
  794.  * RETURNS
  795.  *  void
  796.  *****************************************************************************/
  797. void wgui_singleline_inputbox_change_input_mode_multitap_hebrew(void)
  798. {
  799.     /*----------------------------------------------------------------*/
  800.     /* Local Variables                                                */
  801.     /*----------------------------------------------------------------*/
  802.     /*----------------------------------------------------------------*/
  803.     /* Code Body                                                      */
  804.     /*----------------------------------------------------------------*/
  805.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_HEBREW;
  806.     wgui_singleline_inputbox_input_mode_changed = 1;
  807. }
  808. #endif /* defined(__MMI_MULTITAP_HEBREW__) */ 
  809. #if defined(__MMI_MULTITAP_ARABIC__)
  810. /*****************************************************************************
  811.  * FUNCTION
  812.  *  wgui_singleline_inputbox_change_input_mode_multitap_arabic
  813.  * DESCRIPTION
  814.  *  change input mode of single line input box to ARABIC
  815.  * PARAMETERS
  816.  *  void
  817.  * RETURNS
  818.  *  void
  819.  *****************************************************************************/
  820. void wgui_singleline_inputbox_change_input_mode_multitap_arabic(void)
  821. {
  822.     /*----------------------------------------------------------------*/
  823.     /* Local Variables                                                */
  824.     /*----------------------------------------------------------------*/
  825.     /*----------------------------------------------------------------*/
  826.     /* Code Body                                                      */
  827.     /*----------------------------------------------------------------*/
  828.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_ARABIC;
  829.     wgui_singleline_inputbox_input_mode_changed = 1;
  830. }
  831. #endif /* defined(__MMI_MULTITAP_ARABIC__) */ 
  832. //PMT START PERSIAN
  833. #if defined(__MMI_MULTITAP_PERSIAN__)
  834. /*----------------------------------------------------------------------------
  835. Function: wgui_singleline_inputbox_change_input_mode_multitap_persian
  836. Description: change input mode of single line input box to PERSIAN
  837. Input parameters : none
  838. Output Parameters: none
  839. Returns: none
  840. ----------------------------------------------------------------------------*/
  841. void wgui_singleline_inputbox_change_input_mode_multitap_persian(void)
  842. { wgui_singleline_inputbox_input_type=INPUT_TYPE_ALPHANUMERIC_PERSIAN;
  843.     wgui_singleline_inputbox_input_mode_changed = 1;
  844. }
  845. #endif
  846. //PMT END PERSIAN
  847. #if defined (__MMI_T9_RUSSIAN__) || defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) || defined(__MMI_CSTAR_RUSSIAN__)    //KP Jerry add "__MMI_CSTAR_RUSSIAN__" on 2007-4-17
  848. /*****************************************************************************
  849.  * FUNCTION
  850.  *  wgui_singleline_inputbox_change_input_mode_smart_RUSSIAN
  851.  * DESCRIPTION
  852.  *  change input mode of single line input box to  RUSSIAN
  853.  * PARAMETERS
  854.  *  void
  855.  * RETURNS
  856.  *  void
  857.  *****************************************************************************/
  858. void wgui_singleline_inputbox_change_input_mode_smart_RUSSIAN(void)
  859. {
  860.     /*----------------------------------------------------------------*/
  861.     /* Local Variables                                                */
  862.     /*----------------------------------------------------------------*/
  863.     /*----------------------------------------------------------------*/
  864.     /* Code Body                                                      */
  865.     /*----------------------------------------------------------------*/
  866.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_RUSSIAN;
  867.     wgui_singleline_inputbox_input_mode_changed = 1;
  868. }
  869. /*****************************************************************************
  870.  * FUNCTION
  871.  *  wgui_singleline_inputbox_change_input_mode_smart_russian
  872.  * DESCRIPTION
  873.  *  change input mode of single line input box to  russian
  874.  * PARAMETERS
  875.  *  void
  876.  * RETURNS
  877.  *  void
  878.  *****************************************************************************/
  879. void wgui_singleline_inputbox_change_input_mode_smart_russian(void)
  880. {
  881.     /*----------------------------------------------------------------*/
  882.     /* Local Variables                                                */
  883.     /*----------------------------------------------------------------*/
  884.     /*----------------------------------------------------------------*/
  885.     /* Code Body                                                      */
  886.     /*----------------------------------------------------------------*/
  887.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_RUSSIAN;
  888.     wgui_singleline_inputbox_input_mode_changed = 1;
  889. }
  890. #endif /* defined (__MMI_T9_RUSSIAN__) || defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) || defined(__MMI_CSTAR_RUSSIAN__) */     //KP Jerry add "__MMI_CSTAR_RUSSIAN__" on 2007-4-17
  891. #if defined (__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-6
  892. /*****************************************************************************
  893.  * FUNCTION
  894.  *  wgui_singleline_inputbox_change_input_mode_smart_BULGARIAN
  895.  * DESCRIPTION
  896.  *  change input mode of single line input box to  BULGARIAN
  897.  * PARAMETERS
  898.  *  void
  899.  * RETURNS
  900.  *  void
  901.  *****************************************************************************/
  902. void wgui_singleline_inputbox_change_input_mode_smart_BULGARIAN(void)
  903. {
  904.     /*----------------------------------------------------------------*/
  905.     /* Local Variables                                                */
  906.     /*----------------------------------------------------------------*/
  907.     /*----------------------------------------------------------------*/
  908.     /* Code Body                                                      */
  909.     /*----------------------------------------------------------------*/
  910.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_BULGARIAN;
  911.     wgui_singleline_inputbox_input_mode_changed = 1;
  912. }
  913. /*****************************************************************************
  914.  * FUNCTION
  915.  *  wgui_singleline_inputbox_change_input_mode_smart_bulgarian
  916.  * DESCRIPTION
  917.  *  change input mode of single line input box to  bulgarian
  918.  * PARAMETERS
  919.  *  void
  920.  * RETURNS
  921.  *  void
  922.  *****************************************************************************/
  923. void wgui_singleline_inputbox_change_input_mode_smart_bulgarian(void)
  924. {
  925.     /*----------------------------------------------------------------*/
  926.     /* Local Variables                                                */
  927.     /*----------------------------------------------------------------*/
  928.     /*----------------------------------------------------------------*/
  929.     /* Code Body                                                      */
  930.     /*----------------------------------------------------------------*/
  931.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_BULGARIAN;
  932.     wgui_singleline_inputbox_input_mode_changed = 1;
  933. }
  934. #endif /* defined (__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) */  //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-6
  935. #if defined(__MMI_MULTITAP_TURKISH__)
  936. /*****************************************************************************
  937.  * FUNCTION
  938.  *  wgui_singleline_inputbox_change_input_mode_multitap_TURKISH
  939.  * DESCRIPTION
  940.  *  change input mode of single line input box to  TURKISH
  941.  * PARAMETERS
  942.  *  void
  943.  * RETURNS
  944.  *  void
  945.  *****************************************************************************/
  946. void wgui_singleline_inputbox_change_input_mode_multitap_TURKISH(void)
  947. {
  948.     /*----------------------------------------------------------------*/
  949.     /* Local Variables                                                */
  950.     /*----------------------------------------------------------------*/
  951.     /*----------------------------------------------------------------*/
  952.     /* Code Body                                                      */
  953.     /*----------------------------------------------------------------*/
  954.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_TURKISH;
  955.     wgui_singleline_inputbox_input_mode_changed = 1;
  956. }
  957. /*****************************************************************************
  958.  * FUNCTION
  959.  *  wgui_singleline_inputbox_change_input_mode_multitap_turkish
  960.  * DESCRIPTION
  961.  *  change input mode of single line input box to  turkish
  962.  * PARAMETERS
  963.  *  void
  964.  * RETURNS
  965.  *  void
  966.  *****************************************************************************/
  967. void wgui_singleline_inputbox_change_input_mode_multitap_turkish(void)
  968. {
  969.     /*----------------------------------------------------------------*/
  970.     /* Local Variables                                                */
  971.     /*----------------------------------------------------------------*/
  972.     /*----------------------------------------------------------------*/
  973.     /* Code Body                                                      */
  974.     /*----------------------------------------------------------------*/
  975.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_TURKISH;
  976.     wgui_singleline_inputbox_input_mode_changed = 1;
  977. }
  978. /*****************************************************************************
  979.  * FUNCTION
  980.  *  wgui_change_inputbox_mode_quick_search_turkish
  981.  * DESCRIPTION
  982.  *  
  983.  * PARAMETERS
  984.  *  void
  985.  * RETURNS
  986.  *  void
  987.  *****************************************************************************/
  988. void wgui_change_inputbox_mode_quick_search_turkish(void)
  989. {
  990.     /*----------------------------------------------------------------*/
  991.     /* Local Variables                                                */
  992.     /*----------------------------------------------------------------*/
  993.     /*----------------------------------------------------------------*/
  994.     /* Code Body                                                      */
  995.     /*----------------------------------------------------------------*/
  996.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_TURKISH;
  997.     wgui_singleline_inputbox_input_mode_changed = 1;
  998. }
  999. #endif /* defined(__MMI_MULTITAP_TURKISH__) */ 
  1000. #if defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-6
  1001. /*****************************************************************************
  1002.  * FUNCTION
  1003.  *  wgui_singleline_inputbox_change_input_mode_smart_TURKISH
  1004.  * DESCRIPTION
  1005.  *  change input mode of single line input box to  TURKISH
  1006.  * PARAMETERS
  1007.  *  void
  1008.  * RETURNS
  1009.  *  void
  1010.  *****************************************************************************/
  1011. void wgui_singleline_inputbox_change_input_mode_smart_TURKISH(void)
  1012. {
  1013.     /*----------------------------------------------------------------*/
  1014.     /* Local Variables                                                */
  1015.     /*----------------------------------------------------------------*/
  1016.     /*----------------------------------------------------------------*/
  1017.     /* Code Body                                                      */
  1018.     /*----------------------------------------------------------------*/
  1019.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_TURKISH;
  1020.     wgui_singleline_inputbox_input_mode_changed = 1;
  1021. }
  1022. /*****************************************************************************
  1023.  * FUNCTION
  1024.  *  wgui_singleline_inputbox_change_input_mode_smart_turkish
  1025.  * DESCRIPTION
  1026.  *  change input mode of single line input box to  turkish
  1027.  * PARAMETERS
  1028.  *  void
  1029.  * RETURNS
  1030.  *  void
  1031.  *****************************************************************************/
  1032. void wgui_singleline_inputbox_change_input_mode_smart_turkish(void)
  1033. {
  1034.     /*----------------------------------------------------------------*/
  1035.     /* Local Variables                                                */
  1036.     /*----------------------------------------------------------------*/
  1037.     /*----------------------------------------------------------------*/
  1038.     /* Code Body                                                      */
  1039.     /*----------------------------------------------------------------*/
  1040.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_TURKISH;
  1041.     wgui_singleline_inputbox_input_mode_changed = 1;
  1042. }
  1043. #endif /* defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) */  //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-6
  1044. #if defined(__MMI_MULTITAP_PORTUGUESE__)
  1045. /*****************************************************************************
  1046.  * FUNCTION
  1047.  *  wgui_singleline_inputbox_change_input_mode_multitap_PORTUGUESE
  1048.  * DESCRIPTION
  1049.  *  change input mode of single line input box to  PORTUGUESE
  1050.  * PARAMETERS
  1051.  *  void
  1052.  * RETURNS
  1053.  *  void
  1054.  *****************************************************************************/
  1055. void wgui_singleline_inputbox_change_input_mode_multitap_PORTUGUESE(void)
  1056. {
  1057.     /*----------------------------------------------------------------*/
  1058.     /* Local Variables                                                */
  1059.     /*----------------------------------------------------------------*/
  1060.     /*----------------------------------------------------------------*/
  1061.     /* Code Body                                                      */
  1062.     /*----------------------------------------------------------------*/
  1063.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_PORTUGUESE;
  1064.     wgui_singleline_inputbox_input_mode_changed = 1;
  1065. }
  1066. /*****************************************************************************
  1067.  * FUNCTION
  1068.  *  wgui_singleline_inputbox_change_input_mode_multitap_portuguese
  1069.  * DESCRIPTION
  1070.  *  change input mode of single line input box to  portuguese
  1071.  * PARAMETERS
  1072.  *  void
  1073.  * RETURNS
  1074.  *  void
  1075.  *****************************************************************************/
  1076. void wgui_singleline_inputbox_change_input_mode_multitap_portuguese(void)
  1077. {
  1078.     /*----------------------------------------------------------------*/
  1079.     /* Local Variables                                                */
  1080.     /*----------------------------------------------------------------*/
  1081.     /*----------------------------------------------------------------*/
  1082.     /* Code Body                                                      */
  1083.     /*----------------------------------------------------------------*/
  1084.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_PORTUGUESE;
  1085.     wgui_singleline_inputbox_input_mode_changed = 1;
  1086. }
  1087. /*****************************************************************************
  1088.  * FUNCTION
  1089.  *  wgui_change_inputbox_mode_quick_search_portuguese
  1090.  * DESCRIPTION
  1091.  *  
  1092.  * PARAMETERS
  1093.  *  void
  1094.  * RETURNS
  1095.  *  void
  1096.  *****************************************************************************/
  1097. void wgui_change_inputbox_mode_quick_search_portuguese(void)
  1098. {
  1099.     /*----------------------------------------------------------------*/
  1100.     /* Local Variables                                                */
  1101.     /*----------------------------------------------------------------*/
  1102.     /*----------------------------------------------------------------*/
  1103.     /* Code Body                                                      */
  1104.     /*----------------------------------------------------------------*/
  1105.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_PORTUGUESE;
  1106.     wgui_singleline_inputbox_input_mode_changed = 1;
  1107. }
  1108. #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */ 
  1109. #if defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__) //KP Jerry add "__MMI_CSTAR_PORTUGUESE__" on 2007-4-6
  1110. /*****************************************************************************
  1111.  * FUNCTION
  1112.  *  wgui_singleline_inputbox_change_input_mode_smart_PORTUGUESE
  1113.  * DESCRIPTION
  1114.  *  change input mode of single line input box to  PORTUGUESE
  1115.  * PARAMETERS
  1116.  *  void
  1117.  * RETURNS
  1118.  *  void
  1119.  *****************************************************************************/
  1120. void wgui_singleline_inputbox_change_input_mode_smart_PORTUGUESE(void)
  1121. {
  1122.     /*----------------------------------------------------------------*/
  1123.     /* Local Variables                                                */
  1124.     /*----------------------------------------------------------------*/
  1125.     /*----------------------------------------------------------------*/
  1126.     /* Code Body                                                      */
  1127.     /*----------------------------------------------------------------*/
  1128.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_PORTUGUESE;
  1129.     wgui_singleline_inputbox_input_mode_changed = 1;
  1130. }
  1131. /*****************************************************************************
  1132.  * FUNCTION
  1133.  *  wgui_singleline_inputbox_change_input_mode_smart_portuguese
  1134.  * DESCRIPTION
  1135.  *  change input mode of single line input box to  portuguese
  1136.  * PARAMETERS
  1137.  *  void
  1138.  * RETURNS
  1139.  *  void
  1140.  *****************************************************************************/
  1141. void wgui_singleline_inputbox_change_input_mode_smart_portuguese(void)
  1142. {
  1143.     /*----------------------------------------------------------------*/
  1144.     /* Local Variables                                                */
  1145.     /*----------------------------------------------------------------*/
  1146.     /*----------------------------------------------------------------*/
  1147.     /* Code Body                                                      */
  1148.     /*----------------------------------------------------------------*/
  1149.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_PORTUGUESE;
  1150.     wgui_singleline_inputbox_input_mode_changed = 1;
  1151. }
  1152. #endif /* defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__) */  //KP Jerry add "__MMI_CSTAR_PORTUGUESE__" on 2007-4-6
  1153. #if defined(__MMI_MULTITAP_HINDI__)
  1154. /*****************************************************************************
  1155.  * FUNCTION
  1156.  *  wgui_singleline_inputbox_change_input_mode_multitap_HINDI
  1157.  * DESCRIPTION
  1158.  *  change input mode of single line input box to  HINDI
  1159.  * PARAMETERS
  1160.  *  void
  1161.  * RETURNS
  1162.  *  void
  1163.  *****************************************************************************/
  1164. void wgui_singleline_inputbox_change_input_mode_multitap_HINDI(void)
  1165. {
  1166.     /*----------------------------------------------------------------*/
  1167.     /* Local Variables                                                */
  1168.     /*----------------------------------------------------------------*/
  1169.     /*----------------------------------------------------------------*/
  1170.     /* Code Body                                                      */
  1171.     /*----------------------------------------------------------------*/
  1172.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MULTITAP_HINDI;
  1173.     wgui_singleline_inputbox_input_mode_changed = 1;
  1174. }
  1175. /*****************************************************************************
  1176.  * FUNCTION
  1177.  *  wgui_change_inputbox_mode_quick_search_HINDI
  1178.  * DESCRIPTION
  1179.  *  
  1180.  * PARAMETERS
  1181.  *  void
  1182.  * RETURNS
  1183.  *  void
  1184.  *****************************************************************************/
  1185. void wgui_change_inputbox_mode_quick_search_HINDI(void)
  1186. {
  1187.     /*----------------------------------------------------------------*/
  1188.     /* Local Variables                                                */
  1189.     /*----------------------------------------------------------------*/
  1190.     /*----------------------------------------------------------------*/
  1191.     /* Code Body                                                      */
  1192.     /*----------------------------------------------------------------*/
  1193.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MULTITAP_HINDI;
  1194.     wgui_singleline_inputbox_input_mode_changed = 1;
  1195. }
  1196. #endif /* defined(__MMI_MULTITAP_HINDI__) */ 
  1197. #if defined(__MMI_MULTITAP_MARATHI__)
  1198. /*****************************************************************************
  1199.  * FUNCTION
  1200.  *  wgui_singleline_inputbox_change_input_mode_multitap_MARATHI
  1201.  * DESCRIPTION
  1202.  *  change input mode of single line input box to  MARATHI
  1203.  * PARAMETERS
  1204.  *  void
  1205.  * RETURNS
  1206.  *  void
  1207.  *****************************************************************************/
  1208. void wgui_singleline_inputbox_change_input_mode_multitap_MARATHI(void)
  1209. {
  1210.     /*----------------------------------------------------------------*/
  1211.     /* Local Variables                                                */
  1212.     /*----------------------------------------------------------------*/
  1213.     /*----------------------------------------------------------------*/
  1214.     /* Code Body                                                      */
  1215.     /*----------------------------------------------------------------*/
  1216.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MULTITAP_MARATHI;
  1217.     wgui_singleline_inputbox_input_mode_changed = 1;
  1218. }
  1219. /*****************************************************************************
  1220.  * FUNCTION
  1221.  *  wgui_change_inputbox_mode_quick_search_MARATHI
  1222.  * DESCRIPTION
  1223.  *  
  1224.  * PARAMETERS
  1225.  *  void
  1226.  * RETURNS
  1227.  *  void
  1228.  *****************************************************************************/
  1229. void wgui_change_inputbox_mode_quick_search_MARATHI(void)
  1230. {
  1231.     /*----------------------------------------------------------------*/
  1232.     /* Local Variables                                                */
  1233.     /*----------------------------------------------------------------*/
  1234.     /*----------------------------------------------------------------*/
  1235.     /* Code Body                                                      */
  1236.     /*----------------------------------------------------------------*/
  1237.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MULTITAP_MARATHI;
  1238.     wgui_singleline_inputbox_input_mode_changed = 1;
  1239. }
  1240. #endif /* defined(__MMI_MULTITAP_MARATHI__) */ 
  1241. /* PMT CZ_PO_TU START 20050812 */
  1242. #if defined(__MMI_MULTITAP_CZECH__)
  1243. /*****************************************************************************
  1244.  * FUNCTION
  1245.  *  wgui_singleline_inputbox_change_input_mode_multitap_CZECH
  1246.  * DESCRIPTION
  1247.  *  change input mode of single line input box to  CZECH
  1248.  * PARAMETERS
  1249.  *  void
  1250.  * RETURNS
  1251.  *  void
  1252.  *****************************************************************************/
  1253. void wgui_singleline_inputbox_change_input_mode_multitap_CZECH(void)
  1254. {
  1255.     /*----------------------------------------------------------------*/
  1256.     /* Local Variables                                                */
  1257.     /*----------------------------------------------------------------*/
  1258.     /*----------------------------------------------------------------*/
  1259.     /* Code Body                                                      */
  1260.     /*----------------------------------------------------------------*/
  1261.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CZECH;
  1262.     wgui_singleline_inputbox_input_mode_changed = 1;
  1263. }
  1264. /*****************************************************************************
  1265.  * FUNCTION
  1266.  *  wgui_singleline_inputbox_change_input_mode_multitap_czech
  1267.  * DESCRIPTION
  1268.  *  change input mode of single line input box to  czech
  1269.  * PARAMETERS
  1270.  *  void
  1271.  * RETURNS
  1272.  *  void
  1273.  *****************************************************************************/
  1274. void wgui_singleline_inputbox_change_input_mode_multitap_czech(void)
  1275. {
  1276.     /*----------------------------------------------------------------*/
  1277.     /* Local Variables                                                */
  1278.     /*----------------------------------------------------------------*/
  1279.     /*----------------------------------------------------------------*/
  1280.     /* Code Body                                                      */
  1281.     /*----------------------------------------------------------------*/
  1282.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CZECH;
  1283.     wgui_singleline_inputbox_input_mode_changed = 1;
  1284. }
  1285. /*****************************************************************************
  1286.  * FUNCTION
  1287.  *  wgui_change_inputbox_mode_quick_search_czech
  1288.  * DESCRIPTION
  1289.  *  
  1290.  * PARAMETERS
  1291.  *  void
  1292.  * RETURNS
  1293.  *  void
  1294.  *****************************************************************************/
  1295. void wgui_change_inputbox_mode_quick_search_czech(void)
  1296. {
  1297.     /*----------------------------------------------------------------*/
  1298.     /* Local Variables                                                */
  1299.     /*----------------------------------------------------------------*/
  1300.     /*----------------------------------------------------------------*/
  1301.     /* Code Body                                                      */
  1302.     /*----------------------------------------------------------------*/
  1303.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_CZECH;
  1304.     wgui_singleline_inputbox_input_mode_changed = 1;
  1305. }
  1306. #endif /* defined(__MMI_MULTITAP_CZECH__) */ 
  1307. #if defined(__MMI_T9_CZECH__) || defined(__MMI_ZI_CZECH__) || defined(__MMI_CSTAR_CZECH__) //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-6
  1308. /*****************************************************************************
  1309.  * FUNCTION
  1310.  *  wgui_singleline_inputbox_change_input_mode_smart_CZECH
  1311.  * DESCRIPTION
  1312.  *  change input mode of single line input box to  CZECH
  1313.  * PARAMETERS
  1314.  *  void
  1315.  * RETURNS
  1316.  *  void
  1317.  *****************************************************************************/
  1318. void wgui_singleline_inputbox_change_input_mode_smart_CZECH(void)
  1319. {
  1320.     /*----------------------------------------------------------------*/
  1321.     /* Local Variables                                                */
  1322.     /*----------------------------------------------------------------*/
  1323.     /*----------------------------------------------------------------*/
  1324.     /* Code Body                                                      */
  1325.     /*----------------------------------------------------------------*/
  1326.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_CZECH;
  1327.     wgui_singleline_inputbox_input_mode_changed = 1;
  1328. }
  1329. /*****************************************************************************
  1330.  * FUNCTION
  1331.  *  wgui_singleline_inputbox_change_input_mode_smart_czech
  1332.  * DESCRIPTION
  1333.  *  change input mode of single line input box to  czech
  1334.  * PARAMETERS
  1335.  *  void
  1336.  * RETURNS
  1337.  *  void
  1338.  *****************************************************************************/
  1339. void wgui_singleline_inputbox_change_input_mode_smart_czech(void)
  1340. {
  1341.     /*----------------------------------------------------------------*/
  1342.     /* Local Variables                                                */
  1343.     /*----------------------------------------------------------------*/
  1344.     /*----------------------------------------------------------------*/
  1345.     /* Code Body                                                      */
  1346.     /*----------------------------------------------------------------*/
  1347.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_CZECH;
  1348.     wgui_singleline_inputbox_input_mode_changed = 1;
  1349. }
  1350. #endif /* defined(__MMI_T9_CZECH__) || defined(__MMI_ZI_CZECH__) || defined(__MMI_CSTAR_CZECH__) */  //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-6
  1351. #if defined(__MMI_MULTITAP_INDONESIAN__)
  1352. /*****************************************************************************
  1353.  * FUNCTION
  1354.  *  wgui_singleline_inputbox_change_input_mode_multitap_INDONESIAN
  1355.  * DESCRIPTION
  1356.  *  change input mode of single line input box to  INDONESIAN
  1357.  * PARAMETERS
  1358.  *  void
  1359.  * RETURNS
  1360.  *  void
  1361.  *****************************************************************************/
  1362. void wgui_singleline_inputbox_change_input_mode_multitap_INDONESIAN(void)
  1363. {
  1364.     /*----------------------------------------------------------------*/
  1365.     /* Local Variables                                                */
  1366.     /*----------------------------------------------------------------*/
  1367.     /*----------------------------------------------------------------*/
  1368.     /* Code Body                                                      */
  1369.     /*----------------------------------------------------------------*/
  1370.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_INDONESIAN;
  1371.     wgui_singleline_inputbox_input_mode_changed = 1;
  1372. }
  1373. /*****************************************************************************
  1374.  * FUNCTION
  1375.  *  wgui_singleline_inputbox_change_input_mode_multitap_indonesian
  1376.  * DESCRIPTION
  1377.  *  change input mode of single line input box to  indonesian
  1378.  * PARAMETERS
  1379.  *  void
  1380.  * RETURNS
  1381.  *  void
  1382.  *****************************************************************************/
  1383. void wgui_singleline_inputbox_change_input_mode_multitap_indonesian(void)
  1384. {
  1385.     /*----------------------------------------------------------------*/
  1386.     /* Local Variables                                                */
  1387.     /*----------------------------------------------------------------*/
  1388.     /*----------------------------------------------------------------*/
  1389.     /* Code Body                                                      */
  1390.     /*----------------------------------------------------------------*/
  1391.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_INDONESIAN;
  1392.     wgui_singleline_inputbox_input_mode_changed = 1;
  1393. }
  1394. /*****************************************************************************
  1395.  * FUNCTION
  1396.  *  wgui_change_inputbox_mode_quick_search_indonesian
  1397.  * DESCRIPTION
  1398.  *  
  1399.  * PARAMETERS
  1400.  *  void
  1401.  * RETURNS
  1402.  *  void
  1403.  *****************************************************************************/
  1404. void wgui_change_inputbox_mode_quick_search_indonesian(void)
  1405. {
  1406.     /*----------------------------------------------------------------*/
  1407.     /* Local Variables                                                */
  1408.     /*----------------------------------------------------------------*/
  1409.     /*----------------------------------------------------------------*/
  1410.     /* Code Body                                                      */
  1411.     /*----------------------------------------------------------------*/
  1412.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_INDONESIAN;
  1413.     wgui_singleline_inputbox_input_mode_changed = 1;
  1414. }
  1415. #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */ 
  1416. #if defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-6
  1417. /*****************************************************************************
  1418.  * FUNCTION
  1419.  *  wgui_singleline_inputbox_change_input_mode_smart_INDONESIAN
  1420.  * DESCRIPTION
  1421.  *  change input mode of single line input box to  INDONESIAN
  1422.  * PARAMETERS
  1423.  *  void
  1424.  * RETURNS
  1425.  *  void
  1426.  *****************************************************************************/
  1427. void wgui_singleline_inputbox_change_input_mode_smart_INDONESIAN(void)
  1428. {
  1429.     /*----------------------------------------------------------------*/
  1430.     /* Local Variables                                                */
  1431.     /*----------------------------------------------------------------*/
  1432.     /*----------------------------------------------------------------*/
  1433.     /* Code Body                                                      */
  1434.     /*----------------------------------------------------------------*/
  1435.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_INDONESIAN;
  1436.     wgui_singleline_inputbox_input_mode_changed = 1;
  1437. }
  1438. /*****************************************************************************
  1439.  * FUNCTION
  1440.  *  wgui_singleline_inputbox_change_input_mode_smart_indonesian
  1441.  * DESCRIPTION
  1442.  *  change input mode of single line input box to  indonesian
  1443.  * PARAMETERS
  1444.  *  void
  1445.  * RETURNS
  1446.  *  void
  1447.  *****************************************************************************/
  1448. void wgui_singleline_inputbox_change_input_mode_smart_indonesian(void)
  1449. {
  1450.     /*----------------------------------------------------------------*/
  1451.     /* Local Variables                                                */
  1452.     /*----------------------------------------------------------------*/
  1453.     /*----------------------------------------------------------------*/
  1454.     /* Code Body                                                      */
  1455.     /*----------------------------------------------------------------*/
  1456.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_INDONESIAN;
  1457.     wgui_singleline_inputbox_input_mode_changed = 1;
  1458. }
  1459. #endif /* defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) */  //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-6
  1460. #if defined(__MMI_MULTITAP_MALAY__)
  1461. /*****************************************************************************
  1462.  * FUNCTION
  1463.  *  wgui_singleline_inputbox_change_input_mode_multitap_MALAY
  1464.  * DESCRIPTION
  1465.  *  change input mode of single line input box to  MALAY
  1466.  * PARAMETERS
  1467.  *  void
  1468.  * RETURNS
  1469.  *  void
  1470.  *****************************************************************************/
  1471. void wgui_singleline_inputbox_change_input_mode_multitap_MALAY(void)
  1472. {
  1473.     /*----------------------------------------------------------------*/
  1474.     /* Local Variables                                                */
  1475.     /*----------------------------------------------------------------*/
  1476.     /*----------------------------------------------------------------*/
  1477.     /* Code Body                                                      */
  1478.     /*----------------------------------------------------------------*/
  1479.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_MALAY;
  1480.     wgui_singleline_inputbox_input_mode_changed = 1;
  1481. }
  1482. /*****************************************************************************
  1483.  * FUNCTION
  1484.  *  wgui_singleline_inputbox_change_input_mode_multitap_malay
  1485.  * DESCRIPTION
  1486.  *  change input mode of single line input box to  malay
  1487.  * PARAMETERS
  1488.  *  void
  1489.  * RETURNS
  1490.  *  void
  1491.  *****************************************************************************/
  1492. void wgui_singleline_inputbox_change_input_mode_multitap_malay(void)
  1493. {
  1494.     /*----------------------------------------------------------------*/
  1495.     /* Local Variables                                                */
  1496.     /*----------------------------------------------------------------*/
  1497.     /*----------------------------------------------------------------*/
  1498.     /* Code Body                                                      */
  1499.     /*----------------------------------------------------------------*/
  1500.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_MALAY;
  1501.     wgui_singleline_inputbox_input_mode_changed = 1;
  1502. }
  1503. /*****************************************************************************
  1504.  * FUNCTION
  1505.  *  wgui_change_inputbox_mode_quick_search_malay
  1506.  * DESCRIPTION
  1507.  *  
  1508.  * PARAMETERS
  1509.  *  void
  1510.  * RETURNS
  1511.  *  void
  1512.  *****************************************************************************/
  1513. void wgui_change_inputbox_mode_quick_search_malay(void)
  1514. {
  1515.     /*----------------------------------------------------------------*/
  1516.     /* Local Variables                                                */
  1517.     /*----------------------------------------------------------------*/
  1518.     /*----------------------------------------------------------------*/
  1519.     /* Code Body                                                      */
  1520.     /*----------------------------------------------------------------*/
  1521.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_MALAY;
  1522.     wgui_singleline_inputbox_input_mode_changed = 1;
  1523. }
  1524. #endif /* defined(__MMI_MULTITAP_MALAY__) */ 
  1525. #if defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-6
  1526. /*****************************************************************************
  1527.  * FUNCTION
  1528.  *  wgui_singleline_inputbox_change_input_mode_smart_MALAY
  1529.  * DESCRIPTION
  1530.  *  change input mode of single line input box to  MALAY
  1531.  * PARAMETERS
  1532.  *  void
  1533.  * RETURNS
  1534.  *  void
  1535.  *****************************************************************************/
  1536. void wgui_singleline_inputbox_change_input_mode_smart_MALAY(void)
  1537. {
  1538.     /*----------------------------------------------------------------*/
  1539.     /* Local Variables                                                */
  1540.     /*----------------------------------------------------------------*/
  1541.     /*----------------------------------------------------------------*/
  1542.     /* Code Body                                                      */
  1543.     /*----------------------------------------------------------------*/
  1544.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_MALAY;
  1545.     wgui_singleline_inputbox_input_mode_changed = 1;
  1546. }
  1547. /*****************************************************************************
  1548.  * FUNCTION
  1549.  *  wgui_singleline_inputbox_change_input_mode_smart_malay
  1550.  * DESCRIPTION
  1551.  *  change input mode of single line input box to  malay
  1552.  * PARAMETERS
  1553.  *  void
  1554.  * RETURNS
  1555.  *  void
  1556.  *****************************************************************************/
  1557. void wgui_singleline_inputbox_change_input_mode_smart_malay(void)
  1558. {
  1559.     /*----------------------------------------------------------------*/
  1560.     /* Local Variables                                                */
  1561.     /*----------------------------------------------------------------*/
  1562.     /*----------------------------------------------------------------*/
  1563.     /* Code Body                                                      */
  1564.     /*----------------------------------------------------------------*/
  1565.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_MALAY;
  1566.     wgui_singleline_inputbox_input_mode_changed = 1;
  1567. }
  1568. #endif /* defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) */  //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-6
  1569. #if defined(__MMI_MULTITAP_VIETNAMESE__)
  1570. /*****************************************************************************
  1571.  * FUNCTION
  1572.  *  wgui_singleline_inputbox_change_input_mode_multitap_VIETNAMESE
  1573.  * DESCRIPTION
  1574.  *  change input mode of single line input box to  vietnamese
  1575.  * PARAMETERS
  1576.  *  void
  1577.  * RETURNS
  1578.  *  void
  1579.  *****************************************************************************/
  1580. void wgui_singleline_inputbox_change_input_mode_multitap_VIETNAMESE(void)
  1581. {
  1582.     /*----------------------------------------------------------------*/
  1583.     /* Local Variables                                                */
  1584.     /*----------------------------------------------------------------*/
  1585.     /*----------------------------------------------------------------*/
  1586.     /* Code Body                                                      */
  1587.     /*----------------------------------------------------------------*/
  1588.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_VIETNAMESE;
  1589.     wgui_singleline_inputbox_input_mode_changed = 1;
  1590. }
  1591. /*****************************************************************************
  1592.  * FUNCTION
  1593.  *  wgui_singleline_inputbox_change_input_mode_multitap_vietnamese
  1594.  * DESCRIPTION
  1595.  *  change input mode of single line input box to  vietnamese
  1596.  * PARAMETERS
  1597.  *  void
  1598.  * RETURNS
  1599.  *  void
  1600.  *****************************************************************************/
  1601. void wgui_singleline_inputbox_change_input_mode_multitap_vietnamese(void)
  1602. {
  1603.     /*----------------------------------------------------------------*/
  1604.     /* Local Variables                                                */
  1605.     /*----------------------------------------------------------------*/
  1606.     /*----------------------------------------------------------------*/
  1607.     /* Code Body                                                      */
  1608.     /*----------------------------------------------------------------*/
  1609.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_VIETNAMESE;
  1610.     wgui_singleline_inputbox_input_mode_changed = 1;
  1611. }
  1612. /*****************************************************************************
  1613.  * FUNCTION
  1614.  *  wgui_change_inputbox_mode_quick_search_vietnamese
  1615.  * DESCRIPTION
  1616.  *  
  1617.  * PARAMETERS
  1618.  *  void
  1619.  * RETURNS
  1620.  *  void
  1621.  *****************************************************************************/
  1622. void wgui_change_inputbox_mode_quick_search_vietnamese(void)
  1623. {
  1624.     /*----------------------------------------------------------------*/
  1625.     /* Local Variables                                                */
  1626.     /*----------------------------------------------------------------*/
  1627.     /*----------------------------------------------------------------*/
  1628.     /* Code Body                                                      */
  1629.     /*----------------------------------------------------------------*/
  1630.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_VIETNAMESE;
  1631.     wgui_singleline_inputbox_input_mode_changed = 1;
  1632. }
  1633. #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */ 
  1634. #ifdef __MMI_MULTITAP_THAI__
  1635. /*****************************************************************************
  1636.  * FUNCTION
  1637.  *  wgui_change_inputbox_mode_quick_search_thai
  1638.  * DESCRIPTION
  1639.  *  
  1640.  * PARAMETERS
  1641.  *  void
  1642.  * RETURNS
  1643.  *  void
  1644.  *****************************************************************************/
  1645. void wgui_change_inputbox_mode_quick_search_thai(void)
  1646. {
  1647.     /*----------------------------------------------------------------*/
  1648.     /* Local Variables                                                */
  1649.     /*----------------------------------------------------------------*/
  1650.     /*----------------------------------------------------------------*/
  1651.     /* Code Body                                                      */
  1652.     /*----------------------------------------------------------------*/
  1653.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_MULTITAP_THAI;
  1654.     wgui_singleline_inputbox_input_mode_changed = 1;
  1655. }
  1656. #endif /* __MMI_MULTITAP_THAI__ */ 
  1657. #ifdef __MMI_MULTITAP_HEBREW__
  1658. /*****************************************************************************
  1659.  * FUNCTION
  1660.  *  wgui_change_inputbox_mode_quick_search_hebrew
  1661.  * DESCRIPTION
  1662.  *  
  1663.  * PARAMETERS
  1664.  *  void
  1665.  * RETURNS
  1666.  *  void
  1667.  *****************************************************************************/
  1668. void wgui_change_inputbox_mode_quick_search_hebrew(void)
  1669. {
  1670.     /*----------------------------------------------------------------*/
  1671.     /* Local Variables                                                */
  1672.     /*----------------------------------------------------------------*/
  1673.     /*----------------------------------------------------------------*/
  1674.     /* Code Body                                                      */
  1675.     /*----------------------------------------------------------------*/
  1676.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_MULTITAP_HEBREW;
  1677.     wgui_singleline_inputbox_input_mode_changed = 1;
  1678. }
  1679. #endif /* __MMI_MULTITAP_HEBREW__ */ 
  1680. #ifdef __MMI_MULTITAP_ARABIC__
  1681. /*****************************************************************************
  1682.  * FUNCTION
  1683.  *  wgui_change_inputbox_mode_quick_search_arabic
  1684.  * DESCRIPTION
  1685.  *  
  1686.  * PARAMETERS
  1687.  *  void
  1688.  * RETURNS
  1689.  *  void
  1690.  *****************************************************************************/
  1691. void wgui_change_inputbox_mode_quick_search_arabic(void)
  1692. {
  1693.     /*----------------------------------------------------------------*/
  1694.     /* Local Variables                                                */
  1695.     /*----------------------------------------------------------------*/
  1696.     /*----------------------------------------------------------------*/
  1697.     /* Code Body                                                      */
  1698.     /*----------------------------------------------------------------*/
  1699.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_MULTITAP_ARABIC;
  1700.     wgui_singleline_inputbox_input_mode_changed = 1;
  1701. }
  1702. #endif
  1703. //PMT START PERSIAN
  1704. #ifdef __MMI_MULTITAP_PERSIAN__
  1705. /*****************************************************************************
  1706.  * FUNCTION
  1707.  *  wgui_change_inputbox_mode_quick_search_persian
  1708.  * DESCRIPTION
  1709.  *  
  1710.  * PARAMETERS
  1711.  *  void
  1712.  * RETURNS
  1713.  *  void
  1714.  *****************************************************************************/
  1715. void wgui_change_inputbox_mode_quick_search_persian(void)
  1716. {
  1717. wgui_singleline_inputbox_input_type=INPUT_TYPE_MMI_MULTITAP_PERSIAN;
  1718. wgui_singleline_inputbox_input_mode_changed=1;
  1719. }
  1720. #endif
  1721. //PMT END PERSIAN
  1722. #if defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-6
  1723. /*****************************************************************************
  1724.  * FUNCTION
  1725.  *  wgui_singleline_inputbox_change_input_mode_smart_VIETNAMESE
  1726.  * DESCRIPTION
  1727.  *  change input mode of single line input box to  VIETNAMESE
  1728.  * PARAMETERS
  1729.  *  void
  1730.  * RETURNS
  1731.  *  void
  1732.  *****************************************************************************/
  1733. void wgui_singleline_inputbox_change_input_mode_smart_VIETNAMESE(void)
  1734. {
  1735.     /*----------------------------------------------------------------*/
  1736.     /* Local Variables                                                */
  1737.     /*----------------------------------------------------------------*/
  1738.     /*----------------------------------------------------------------*/
  1739.     /* Code Body                                                      */
  1740.     /*----------------------------------------------------------------*/
  1741.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE;
  1742.     wgui_singleline_inputbox_input_mode_changed = 1;
  1743. }
  1744. /*****************************************************************************
  1745.  * FUNCTION
  1746.  *  wgui_singleline_inputbox_change_input_mode_smart_vietnamese
  1747.  * DESCRIPTION
  1748.  *  change input mode of single line input box to  vietnamese
  1749.  * PARAMETERS
  1750.  *  void
  1751.  * RETURNS
  1752.  *  void
  1753.  *****************************************************************************/
  1754. void wgui_singleline_inputbox_change_input_mode_smart_vietnamese(void)
  1755. {
  1756.     /*----------------------------------------------------------------*/
  1757.     /* Local Variables                                                */
  1758.     /*----------------------------------------------------------------*/
  1759.     /*----------------------------------------------------------------*/
  1760.     /* Code Body                                                      */
  1761.     /*----------------------------------------------------------------*/
  1762.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE;
  1763.     wgui_singleline_inputbox_input_mode_changed = 1;
  1764. }
  1765. #endif /* defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) */  //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-6
  1766. #if defined(__MMI_MULTITAP_NORWEGIAN__)
  1767. /*****************************************************************************
  1768.  * FUNCTION
  1769.  *  wgui_singleline_inputbox_change_input_mode_multitap_NORWEGIAN
  1770.  * DESCRIPTION
  1771.  *  change input mode of single line input box to  norwegian
  1772.  * PARAMETERS
  1773.  *  void
  1774.  * RETURNS
  1775.  *  void
  1776.  *****************************************************************************/
  1777. void wgui_singleline_inputbox_change_input_mode_multitap_NORWEGIAN(void)
  1778. {
  1779.     /*----------------------------------------------------------------*/
  1780.     /* Local Variables                                                */
  1781.     /*----------------------------------------------------------------*/
  1782.     /*----------------------------------------------------------------*/
  1783.     /* Code Body                                                      */
  1784.     /*----------------------------------------------------------------*/
  1785.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_NORWEGIAN;
  1786.     wgui_singleline_inputbox_input_mode_changed = 1;
  1787. }
  1788. /*****************************************************************************
  1789.  * FUNCTION
  1790.  *  wgui_singleline_inputbox_change_input_mode_multitap_norwegian
  1791.  * DESCRIPTION
  1792.  *  change input mode of single line input box to  norwegian
  1793.  * PARAMETERS
  1794.  *  void
  1795.  * RETURNS
  1796.  *  void
  1797.  *****************************************************************************/
  1798. void wgui_singleline_inputbox_change_input_mode_multitap_norwegian(void)
  1799. {
  1800.     /*----------------------------------------------------------------*/
  1801.     /* Local Variables                                                */
  1802.     /*----------------------------------------------------------------*/
  1803.     /*----------------------------------------------------------------*/
  1804.     /* Code Body                                                      */
  1805.     /*----------------------------------------------------------------*/
  1806.     wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_NORWEGIAN;
  1807.     wgui_singleline_inputbox_input_mode_changed = 1;
  1808. }
  1809. /*****************************************************************************
  1810.  * FUNCTION
  1811.  *  wgui_change_inputbox_mode_quick_search_norwegian
  1812.  * DESCRIPTION
  1813.  *  
  1814.  * PARAMETERS
  1815.  *  void
  1816.  * RETURNS
  1817.  *  void
  1818.  *****************************************************************************/
  1819. void wgui_change_inputbox_mode_quick_search_norwegian(void)
  1820. {
  1821.     /*----------------------------------------------------------------*/
  1822.     /* Local Variables                                                */
  1823.     /*----------------------------------------------------------------*/
  1824.     /*----------------------------------------------------------------*/
  1825.     /* Code Body                                                      */
  1826.     /*----------------------------------------------------------------*/
  1827.     wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_NORWEGIAN;
  1828.     wgui_singleline_inputbox_input_mode_changed = 1;
  1829. }
  1830. #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */ 
  1831. #if defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-6
  1832. /*****************************************************************************
  1833.  * FUNCTION
  1834.  *  wgui_singleline_inputbox_change_input_mode_smart_NORWEGIAN
  1835.  * DESCRIPTION
  1836.  *  change input mode of single line input box to  NORWEGIAN
  1837.  * PARAMETERS
  1838.  *  void
  1839.  * RETURNS
  1840.  *  void
  1841.  *****************************************************************************/
  1842. void wgui_singleline_inputbox_change_input_mode_smart_NORWEGIAN(void)
  1843. {
  1844.     /*----------------------------------------------------------------*/
  1845.     /* Local Variables                                                */
  1846.     /*----------------------------------------------------------------*/
  1847.     /*----------------------------------------------------------------*/
  1848.     /* Code Body                                                      */
  1849.     /*----------------------------------------------------------------*/
  1850.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_NORWEGIAN;
  1851.     wgui_singleline_inputbox_input_mode_changed = 1;
  1852. }
  1853. /*****************************************************************************
  1854.  * FUNCTION
  1855.  *  wgui_singleline_inputbox_change_input_mode_smart_norwegian
  1856.  * DESCRIPTION
  1857.  *  change input mode of single line input box to  norwegian
  1858.  * PARAMETERS
  1859.  *  void
  1860.  * RETURNS
  1861.  *  void
  1862.  *****************************************************************************/
  1863. void wgui_singleline_inputbox_change_input_mode_smart_norwegian(void)
  1864. {
  1865.     /*----------------------------------------------------------------*/
  1866.     /* Local Variables                                                */
  1867.     /*----------------------------------------------------------------*/
  1868.     /*----------------------------------------------------------------*/
  1869.     /* Code Body                                                      */
  1870.     /*----------------------------------------------------------------*/
  1871.     wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_NORWEGIAN;
  1872.     wgui_singleline_inputbox_input_mode_changed = 1;
  1873. }
  1874. #endif /* defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) */  //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-6
  1875. /*****************************************************************************
  1876.  * FUNCTION
  1877.  *  wgui_singleline_inputbox_validation_callback
  1878.  * DESCRIPTION
  1879.  *  input box validation call back function
  1880.  * PARAMETERS
  1881.  *  text            [IN]        Buffer of input box
  1882.  *  cursor          [IN]        
  1883.  *  text_length     [IN]        Length of text
  1884.  * RETURNS
  1885.  *  void
  1886.  *****************************************************************************/
  1887. void wgui_singleline_inputbox_validation_callback(UI_buffer_type text, UI_buffer_type cursor, S32 text_length)
  1888. {
  1889.     /*----------------------------------------------------------------*/
  1890.     /* Local Variables                                                */
  1891.     /*----------------------------------------------------------------*/
  1892.     /*----------------------------------------------------------------*/
  1893.     /* Code Body                                                      */
  1894.     /*----------------------------------------------------------------*/
  1895.     if (wgui_inputbox_validation_callback != NULL && mmi_ime_ui_screen_state_query() == MMI_TRUE)
  1896.     {
  1897.         wgui_inputbox_validation_callback(text, cursor, text_length);
  1898.     }
  1899. }
  1900. /*****************************************************************************
  1901.  * FUNCTION
  1902.  *  wgui_singleline_inputbox_get_UCS2_count
  1903.  * DESCRIPTION
  1904.  *  UCS2 coumt of input box :- length of string in UNCODE mode of input box
  1905.  * PARAMETERS
  1906.  *  void
  1907.  * RETURNS
  1908.  *  void
  1909.  *****************************************************************************/
  1910. S32 wgui_singleline_inputbox_get_UCS2_count(void)
  1911. {
  1912.     /*----------------------------------------------------------------*/
  1913.     /* Local Variables                                                */
  1914.     /*----------------------------------------------------------------*/
  1915.     /*----------------------------------------------------------------*/
  1916.     /* Code Body                                                      */
  1917.     /*----------------------------------------------------------------*/
  1918.     return (MMI_singleline_inputbox.UCS2_count);
  1919. }
  1920. /*****************************************************************************
  1921.  * FUNCTION
  1922.  *  wgui_singleline_inputbox_get_GSM_ext_count
  1923.  * DESCRIPTION
  1924.  *  Returns the number of GSM extended characters in the
  1925.  *  single line input box buffer
  1926.  * PARAMETERS
  1927.  *  void
  1928.  * RETURNS
  1929.  *  Number of GSM extended characters
  1930.  *****************************************************************************/
  1931. S32 wgui_singleline_inputbox_get_GSM_ext_count(void)
  1932. {
  1933.     /*----------------------------------------------------------------*/
  1934.     /* Local Variables                                                */
  1935.     /*----------------------------------------------------------------*/
  1936.     /*----------------------------------------------------------------*/
  1937.     /* Code Body                                                      */
  1938.     /*----------------------------------------------------------------*/
  1939.     return (MMI_singleline_inputbox.GSM_ext_count);
  1940. }
  1941. /*****************************************************************************
  1942.  * FUNCTION
  1943.  *  wgui_singleline_inputbox_test_change_input_mode
  1944.  * DESCRIPTION
  1945.  *  
  1946.  * PARAMETERS
  1947.  *  void
  1948.  * RETURNS
  1949.  *  byte
  1950.  *****************************************************************************/
  1951. U8 wgui_singleline_inputbox_test_change_input_mode(void)
  1952. {
  1953.     /*----------------------------------------------------------------*/
  1954.     /* Local Variables                                                */
  1955.     /*----------------------------------------------------------------*/
  1956.     /*----------------------------------------------------------------*/
  1957.     /* Code Body                                                      */
  1958.     /*----------------------------------------------------------------*/
  1959.     if (MMI_singleline_inputbox.flags & UI_SINGLE_LINE_INPUT_BOX_USE_ENCODING_BASED_LENGTH)
  1960.     {
  1961.         if (MMI_singleline_inputbox.UCS2_count <= 0)
  1962.         {
  1963.             if ((MMI_singleline_inputbox.flags & UI_SINGLE_LINE_INPUT_BOX_ONE_LESS_CHARACTER) &&
  1964.                 (MMI_singleline_inputbox.text_length >= ((MMI_singleline_inputbox.available_length >> 1) - 1)))
  1965.             {
  1966.                 return (0);
  1967.             }
  1968.             else if (MMI_singleline_inputbox.text_length >= (MMI_singleline_inputbox.available_length >> 1))
  1969.             {
  1970.                 return (0);
  1971.             }
  1972.             else
  1973.             {
  1974.                 return (1);
  1975.             }
  1976.         }
  1977.         else
  1978.         {
  1979.             return (1);
  1980.         }
  1981.     }
  1982.     else
  1983.     {
  1984.         return (1);
  1985.     }
  1986. }
  1987. extern const sIMEModeDetails* gIMEModeArray;
  1988. /*****************************************************************************
  1989.  * FUNCTION
  1990.  *  wgui_is_english_only_input_type
  1991.  * DESCRIPTION
  1992.  *  test if this input type is english only input type
  1993.  * PARAMETERS
  1994.  *  input_type      [in]    S16 input_type   
  1995.  * RETURNS
  1996.  *  MMI_BOOL MMI_TRUE --> english only input type , MMI_FALSE --> else
  1997.  *****************************************************************************/
  1998. MMI_BOOL wgui_is_english_only_input_type(S16 input_type)
  1999. {
  2000.     /*----------------------------------------------------------------*/
  2001.     /* Local Variables                                                */
  2002.     /*----------------------------------------------------------------*/
  2003.     int i = 0;
  2004.     /*----------------------------------------------------------------*/
  2005.     /* Code Body                                                      */
  2006.     /*----------------------------------------------------------------*/
  2007.     while (gIMEModeArray[i].IME_Type_ID != 0xff)
  2008.     {
  2009.         if (gIMEModeArray[i].IME_Type_ID == input_type)
  2010.         {
  2011.             return gIMEModeArray[i].English_Only_Flag;
  2012.         }
  2013.         i++;
  2014.     }
  2015.     return MMI_FALSE;
  2016. }
  2017. /*****************************************************************************
  2018.  * FUNCTION
  2019.  *  wgui_is_overridable_input_type
  2020.  * DESCRIPTION
  2021.  *  
  2022.  * PARAMETERS
  2023.  *  input_type      [IN]     S16 input_type    
  2024.  * RETURNS
  2025.  *  
  2026.  *****************************************************************************/
  2027. MMI_BOOL wgui_is_overridable_input_type(S16 input_type)
  2028. {
  2029.     /*----------------------------------------------------------------*/
  2030.     /* Local Variables                                                */
  2031.     /*----------------------------------------------------------------*/
  2032.     /*----------------------------------------------------------------*/
  2033.     /* Code Body                                                      */
  2034.     /*----------------------------------------------------------------*/
  2035.     input_type &= INPUT_TYPE_MASK;
  2036.     if (input_type == INPUT_TYPE_NONE ||
  2037.         input_type == INPUT_TYPE_NUMERIC ||
  2038.         input_type == INPUT_TYPE_NUMERIC_PASSWORD ||
  2039.         input_type == INPUT_TYPE_PHONE_NUMBER ||
  2040.         input_type == INPUT_TYPE_SAT_NUMERIC_PASSWORD ||
  2041.         input_type == INPUT_TYPE_KEYPAD_NUMERIC ||
  2042.         input_type == INPUT_TYPE_DECIMAL_NUMERIC || input_type == INPUT_TYPE_NUMERIC_CHANGEABLE)
  2043.     {
  2044.         return MMI_FALSE;
  2045.     }
  2046.     else
  2047.     {
  2048.         return MMI_TRUE;
  2049.     }
  2050. }
  2051. /*****************************************************************************
  2052.  * FUNCTION
  2053.  *  wgui_set_default_input_type
  2054.  * DESCRIPTION
  2055.  *  set default input type
  2056.  * PARAMETERS
  2057.  *  input_type      [OUT]       
  2058.  * RETURNS
  2059.  *  void
  2060.  *****************************************************************************/
  2061. extern pBOOL IsTrChineseSet(void);
  2062. extern pBOOL IsSmChineseSet(void);
  2063. void wgui_set_default_input_type(U16 *input_type)
  2064. {
  2065.     /*----------------------------------------------------------------*/
  2066.     /* Local Variables                                                */
  2067.     /*----------------------------------------------------------------*/
  2068.     U16 itype = (*input_type) & INPUT_TYPE_MASK;
  2069.     /*----------------------------------------------------------------*/
  2070.     /* Code Body                                                      */
  2071.     /*----------------------------------------------------------------*/
  2072.     /* MTK Terry for multitap issue */
  2073.     if (*input_type & (INPUT_TYPE_OVERRIDE_DEFAULT | INPUT_TYPE_USE_ONLY_ENGLISH_MODES))
  2074.     {
  2075.         if (*input_type & (INPUT_TYPE_USE_ONLY_ENGLISH_MODES))
  2076.         {
  2077.             set_english_only_multitap();
  2078.             if (wgui_is_english_only_input_type(MMI_prefered_input_type) && wgui_is_overridable_input_type(*input_type))
  2079.             {
  2080.                 if (!(mmi_is_alphanum_pass && (MMI_prefered_input_type == INPUT_TYPE_SMART_UPPERCASE_ABC || MMI_prefered_input_type == INPUT_TYPE_SMART_LOWERCASE_ABC)))
  2081.                 {
  2082.                     /* In password input type, smart ABC is not allowed. */
  2083.                     *input_type &= 0xff00;
  2084.                     *input_type |= MMI_prefered_input_type;
  2085.                 }
  2086.             }
  2087.         }
  2088.         return;
  2089.     }
  2090.     else
  2091.     {
  2092.         set_normal_multitap();
  2093.     }
  2094. #if defined(__MMI_T9__) || defined(__MMI_ZI__) || defined(__MMI_KA__) || defined(__MMI_ITAP__)|| defined(__MMI_CSTAR__)     //KP Jerry add "__MMI_CSTAR__" on 2007-3-8
  2095.     if ((itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE) ||
  2096.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE) ||
  2097.         (itype == INPUT_TYPE_ALPHANUMERIC_SENTENCECASE) ||
  2098.         (itype == INPUT_TYPE_MMI_MULTITAP_BPMF) ||
  2099.         (itype == INPUT_TYPE_MMI_MULTITAP_PINYIN) ||
  2100.         (itype == INPUT_TYPE_MMI_SM_STROKE) ||
  2101.         (itype == INPUT_TYPE_MMI_TR_STROKE) ||
  2102.         (itype == INPUT_TYPE_MMI_NUMERIC) ||
  2103.         (itype == INPUT_TYPE_ALPHANUMERIC_MULTITAP_THAI) ||
  2104.         (itype == INPUT_TYPE_MMI_MULTITAP_THAI) ||
  2105.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SPANISH) ||
  2106.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SPANISH) || (itype == INPUT_TYPE_MMI_LOWERCASE_SPANISH) ||
  2107. #if defined(__MMI_MULTITAP_DANISH__)
  2108.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DANISH) ||
  2109.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DANISH) || (itype == INPUT_TYPE_MMI_LOWERCASE_DANISH) ||
  2110. #endif /* defined(__MMI_MULTITAP_DANISH__) */ 
  2111.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_POLISH) ||
  2112.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_POLISH) || (itype == INPUT_TYPE_MMI_LOWERCASE_POLISH) ||
  2113.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FRENCH) ||
  2114.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FRENCH) ||
  2115.         (itype == INPUT_TYPE_MMI_LOWERCASE_FRENCH) ||
  2116.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GERMAN) ||
  2117.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GERMAN) ||
  2118.         (itype == INPUT_TYPE_MMI_LOWERCASE_GERMAN) ||
  2119.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ITALIAN) ||
  2120.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ITALIAN) ||
  2121.         (itype == INPUT_TYPE_MMI_LOWERCASE_ITALIAN) ||
  2122.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN) ||
  2123.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_RUSSIAN) ||
  2124.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN) ||
  2125.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_BULGARIAN) ||
  2126.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_TURKISH) ||
  2127.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_TURKISH) ||
  2128.         (itype == INPUT_TYPE_MMI_LOWERCASE_TURKISH) ||
  2129.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_PORTUGUESE) ||
  2130.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_PORTUGUESE) ||
  2131.         (itype == INPUT_TYPE_MMI_LOWERCASE_PORTUGUESE) ||
  2132.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_INDONESIAN) ||
  2133.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_INDONESIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_INDONESIAN) ||
  2134.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CZECH) ||
  2135.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CZECH) || (itype == INPUT_TYPE_MMI_LOWERCASE_CZECH) ||
  2136.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_MALAY) ||
  2137.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_MALAY) ||
  2138.         (itype == INPUT_TYPE_MMI_LOWERCASE_MALAY) ||
  2139.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_VIETNAMESE) ||
  2140.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_VIETNAMESE) || (itype == INPUT_TYPE_MMI_LOWERCASE_VIETNAMESE) ||
  2141. #if defined(__MMI_MULTITAP_FINNISH__)
  2142.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FINNISH) ||
  2143.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FINNISH) || (itype == INPUT_TYPE_MMI_LOWERCASE_FINNISH) ||
  2144. #endif /* defined(__MMI_MULTITAP_FINNISH__) */ 
  2145. #if defined(__MMI_MULTITAP_HUNGARIAN__)
  2146.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_HUNGARIAN) ||       /* Gurdev Start Hungarian */
  2147.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_HUNGARIAN) ||       /* Gurdev Start Hungarian */
  2148.         (itype == INPUT_TYPE_MMI_LOWERCASE_HUNGARIAN) ||    /* Gurdev Start Hungarian */
  2149. #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */ 
  2150. #if defined(__MMI_MULTITAP_SLOVAK__)
  2151.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVAK) ||
  2152.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVAK) || (itype == INPUT_TYPE_MMI_LOWERCASE_SLOVAK) ||
  2153. #endif /* defined(__MMI_MULTITAP_SLOVAK__) */ 
  2154.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DUTCH) ||
  2155.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DUTCH) || (itype == INPUT_TYPE_MMI_LOWERCASE_DUTCH) ||
  2156. #if defined(__MMI_MULTITAP_SWEDISH__)
  2157.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SWEDISH) ||
  2158.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SWEDISH) || (itype == INPUT_TYPE_MMI_LOWERCASE_SWEDISH) ||
  2159. #endif /* defined(__MMI_MULTITAP_SWEDISH__) */ 
  2160. #if defined(__MMI_MULTITAP_CROATIAN__)
  2161.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CROATIAN) ||
  2162.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CROATIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_CROATIAN) ||
  2163. #endif /* defined(__MMI_MULTITAP_CROATIAN__) */ 
  2164. #if defined(__MMI_MULTITAP_ROMANIAN__)
  2165.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ROMANIAN) ||
  2166.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ROMANIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_ROMANIAN) ||
  2167. #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */ 
  2168. #if defined(__MMI_MULTITAP_SLOVENIAN__)
  2169.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVENIAN) ||
  2170.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVENIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_SLOVENIAN) ||
  2171. #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */ 
  2172. #if defined(__MMI_MULTITAP_GREEK__)
  2173.         (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GREEK) ||
  2174.         (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GREEK) || (itype == INPUT_TYPE_MMI_LOWERCASE_GREEK) ||
  2175. #endif /* defined(__MMI_MULTITAP_GREEK__) */ 
  2176. #if defined(__MMI_MULTITAP_HEBREW__)
  2177.         (itype == INPUT_TYPE_ALPHANUMERIC_MULTITAP_HEBREW) || (itype == INPUT_TYPE_MMI_MULTITAP_HEBREW) ||
  2178. #endif 
  2179.         (itype == INPUT_TYPE_MMI_LOWERCASE_ABC))
  2180.     {
  2181.     #if defined(__MMI_PREFER_INPUT_METHOD__)
  2182. //PMT START PERSIAN
  2183.     #if defined __MMI_LANG_HINDI__ && (defined __MMI_LANG_ARABIC__ || defined __MMI_LANG_PERSIAN__)
  2184.         if ((HINDI_PRESENT) &&
  2185.             (MMI_prefered_input_type == INPUT_TYPE_SMART_ARABIC ||
  2186.              MMI_prefered_input_type == INPUT_TYPE_ALPHANUMERIC_ARABIC ||
  2187.              MMI_prefered_input_type == INPUT_TYPE_SMART_PERSIAN ||
  2188.              MMI_prefered_input_type == INPUT_TYPE_ALPHANUMERIC_PERSIAN))
  2189. //PMT END PERSIAN
  2190.             /* PMT LANGUAGE END 20051221 */
  2191.         {
  2192.             *input_type = INPUT_TYPE_MULTITAP_HINDI;
  2193.         }
  2194.         else if ((ARABIC_PRESENT) &&
  2195.                  (MMI_prefered_input_type == INPUT_TYPE_MULTITAP_HINDI ||
  2196.                   MMI_prefered_input_type == INPUT_TYPE_SMART_HINDI))
  2197.         {
  2198.             *input_type = INPUT_TYPE_SMART_ARABIC;
  2199.         }
  2200.         else
  2201.     #endif /* defined __MMI_LANG_HINDI__ && defined __MMI_LANG_ARABIC__ */ 
  2202.         if (!((MMI_prefered_input_type < INPUT_TYPE_MAX_NUM) && (MMI_prefered_input_type > 0)))
  2203.         {
  2204.             *input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE;
  2205.         }
  2206.         else
  2207.         {
  2208.             *input_type = MMI_prefered_input_type;
  2209.         }
  2210.     #else /* defined(__MMI_PREFER_INPUT_METHOD__) */ 
  2211.     #if defined(__MMI_T9_TR_CHINESE__) || defined(__MMI_T9_SM_CHINESE__) || defined(__MMI_ZI_TR_CHINESE__) || defined(__MMI_ZI_SM_CHINESE__) || defined(__MMI_CSTAR_TR_CHINESE__) || defined(__MMI_CSTAR_SM_CHINESE__) || defined(__MMI_ITAP_TR_CHINESE__) || defined(__MMI_ITAP_SM_CHINESE__)   //KP Jerry add "__MMI_CSTAR_TR_CHINESE__" and "__MMI_CSTAR_SM_CHINESE__" on 2007-4-17
  2212.         if (IsTrChineseSet())
  2213.         {
  2214.         #if defined(__MMI_T9_MULTITAP_PHONETIC_INPUT__) || defined(__MMI_ZI_MULTITAP_PHONETIC_INPUT__) || defined(__MMI_CSTAR_MULTITAP_PHONETIC_INPUT__) || defined(__MMI_ITAP_MULTITAP_PHONETIC_INPUT__)   //KP Jerry add "__MMI_CSTAR_MULTITAP_PHONETIC_INPUT__" on 2007-4-17
  2215.             *input_type = INPUT_TYPE_TR_MULTITAP_BOPOMO;
  2216.         #elif (defined(__MMI_T9_SMART_PHONETIC_INPUT__) && defined(__MMI_T9_AMB_BPMF_INPUT__))||defined(__MMI_ZI_SMART_PHONETIC_INPUT__)||defined(__MMI_CSTAR_SMART_PHONETIC_INPUT__)||defined(__MMI_ITAP_SMART_PHONETIC_INPUT__)   //KP Jerry add "__MMI_CSTAR_SMART_PHONETIC_INPUT__" on 2007-4-17
  2217.             *input_type = INPUT_TYPE_TR_BOPOMO;
  2218.         #else 
  2219.             UI_UNUSED_PARAMETER(input_type);
  2220.         #endif 
  2221.         }
  2222.         else if (IsSmChineseSet())
  2223.         {
  2224.         #if defined(__MMI_T9_MULTITAP_PHONETIC_INPUT__) || defined(__MMI_ZI_MULTITAP_PHONETIC_INPUT__) || defined(__MMI_CSTAR_MULTITAP_PHONETIC_INPUT__) || defined(__MMI_ITAP_MULTITAP_PHONETIC_INPUT__)   //KP Jerry add "__MMI_CSTAR_MULTITAP_PHONETIC_INPUT__" on 2007-4-17
  2225.             *input_type = INPUT_TYPE_SM_MULTITAP_PINYIN;
  2226.         #elif defined(__MMI_T9_SMART_PHONETIC_INPUT__)||defined(__MMI_ZI_SMART_PHONETIC_INPUT__)||defined(__MMI_CSTAR_SMART_PHONETIC_INPUT__)||defined(__MMI_ITAP_SMART_PHONETIC_INPUT__)   //KP Jerry add "__MMI_CSTAR_SMART_PHONETIC_INPUT__" on 2007-4-17
  2227.             *input_type = INPUT_TYPE_SM_PINYIN;
  2228.         #else 
  2229.             UI_UNUSED_PARAMETER(input_type);
  2230.         #endif 
  2231.         }
  2232.     #elif defined(__MMI_KA__)
  2233.         *input_type = INPUT_TYPE_SM_PINYIN;
  2234.     #endif 
  2235.     #endif /* defined(__MMI_PREFER_INPUT_METHOD__) */ 
  2236.     }
  2237. #else /* defined(__MMI_T9__) || defined(__MMI_ZI__) || defined(__MMI_CSTAR__) || defined(__MMI_KA__) || defined(__MMI_ITAP__) */   //KP Jerry add "__MMI_CSTAR__" on 2007-4-17
  2238.     if ((itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE) || (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE) ||
  2239.         (itype == INPUT_TYPE_ALPHANUMERIC_SENTENCECASE))
  2240.     {
  2241.     #if defined(__MMI_PREFER_INPUT_METHOD__)
  2242.         if (!((MMI_prefered_input_type < INPUT_TYPE_MAX_NUM) && (MMI_prefered_input_type > 0)))
  2243.         {
  2244.             *input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE;
  2245.         }
  2246.         else
  2247.         {
  2248.             *input_type = MMI_prefered_input_type;
  2249.         }
  2250.     #else /* defined(__MMI_PREFER_INPUT_METHOD__) */ 
  2251.         UI_UNUSED_PARAMETER(input_type);
  2252.     #endif /* defined(__MMI_PREFER_INPUT_METHOD__) */ 
  2253.     }
  2254. #endif /* defined(__MMI_T9__) || defined(__MMI_ZI__) || defined(__MMI_CSTAR__) || defined(__MMI_KA__) || defined(__MMI_ITAP__) */    //KP Jerry add "__MMI_CSTAR__" on 2007-4-17
  2255. }
  2256. /* MTK end */
  2257. /*****************************************************************************
  2258.  * FUNCTION
  2259.  *  wgui_set_qsearch_default_input_type
  2260.  * DESCRIPTION
  2261.  *  set qsearch default input type
  2262.  * PARAMETERS
  2263.  *  input_type      [OUT]       
  2264.  * RETURNS
  2265.  *  void
  2266.  *****************************************************************************/
  2267. void wgui_set_qsearch_default_input_type(U16 *input_type)
  2268. {
  2269.     /*----------------------------------------------------------------*/
  2270.     /* Local Variables                                                */
  2271.     /*----------------------------------------------------------------*/
  2272.     U16 itype = (*input_type) & INPUT_TYPE_MASK;
  2273.     /*----------------------------------------------------------------*/
  2274.     /* Code Body                                                      */
  2275.     /*----------------------------------------------------------------*/
  2276.     switch (itype)
  2277.     {
  2278.         case INPUT_TYPE_TR_BOPOMO:
  2279.         case INPUT_TYPE_TR_MULTITAP_BOPOMO:
  2280.             *input_type = INPUT_TYPE_MMI_MULTITAP_BPMF;
  2281.             break;
  2282.         case INPUT_TYPE_SM_PINYIN:
  2283.         case INPUT_TYPE_SM_MULTITAP_PINYIN:
  2284.             *input_type = INPUT_TYPE_MMI_MULTITAP_PINYIN;
  2285.             break;
  2286.         case INPUT_TYPE_TR_STROKE:
  2287.             *input_type = INPUT_TYPE_MMI_TR_STROKE;
  2288.             break;
  2289.         case INPUT_TYPE_SM_STROKE:
  2290.             *input_type = INPUT_TYPE_MMI_SM_STROKE;
  2291.             break;
  2292.         case INPUT_TYPE_ALPHANUMERIC_LOWERCASE:
  2293.         case INPUT_TYPE_ALPHANUMERIC_UPPERCASE:
  2294.         case INPUT_TYPE_ALPHANUMERIC_SENTENCECASE:
  2295.             *input_type = INPUT_TYPE_MMI_LOWERCASE_ABC;
  2296.             break;
  2297.         case INPUT_TYPE_NUMERIC:
  2298.         case INPUT_TYPE_NUMERIC_CHANGEABLE:
  2299.             *input_type = INPUT_TYPE_MMI_NUMERIC;
  2300.             break;
  2301.     #if defined(__MMI_MULTITAP_HINDI__)
  2302.         case INPUT_TYPE_MULTITAP_HINDI:
  2303.             *input_type = INPUT_TYPE_MULTITAP_HINDI;
  2304.             break;
  2305.     #endif /* defined(__MMI_MULTITAP_HINDI__) */ 
  2306.             /* PMT RAKESH START 20061006 */
  2307.     #if defined(__MMI_MULTITAP_MARATHI__)
  2308.         case INPUT_TYPE_MULTITAP_MARATHI:
  2309.             *input_type = INPUT_TYPE_MULTITAP_MARATHI;
  2310.             break;
  2311.     #endif /* defined(__MMI_MULTITAP_MARATHI__) */ 
  2312.             /* PMT RAKESH END 20061006 */
  2313.     #if defined(__MMI_MULTITAP_THAI__)
  2314.         case INPUT_TYPE_ALPHANUMERIC_MULTITAP_THAI:
  2315.             *input_type = INPUT_TYPE_MMI_MULTITAP_THAI;
  2316.             break;
  2317.     #endif /* defined(__MMI_MULTITAP_THAI__) */ 
  2318.         default:
  2319.             *input_type = INPUT_TYPE_MMI_LOWERCASE_ABC;
  2320.             break;
  2321.     }
  2322. }
  2323. /*****************************************************************************
  2324.  * FUNCTION
  2325.  *  wgui_set_singleline_RSK
  2326.  * DESCRIPTION
  2327.  *  
  2328.  * PARAMETERS
  2329.  *  void
  2330.  * RETURNS
  2331.  *  void
  2332.  *****************************************************************************/
  2333. void wgui_set_singleline_RSK(void)
  2334. {
  2335. #if defined(__MMI_WITH_C_KEY__)
  2336.     /*----------------------------------------------------------------*/
  2337.     /* Local Variables                                                */
  2338.     /*----------------------------------------------------------------*/
  2339.     /*----------------------------------------------------------------*/
  2340.     /* Code Body                                                      */
  2341.     /*----------------------------------------------------------------*/
  2342.     SetKeyHandler(wgui_handle_singleline_inputbox_right_softkey_down, KEY_CLEAR, KEY_EVENT_DOWN);
  2343.     SetKeyHandler(wgui_handle_singleline_inputbox_right_softkey_long_press, KEY_CLEAR, KEY_LONG_PRESS);
  2344.     set_right_softkey_function(wgui_handle_singleline_inputbox_right_softkey_up, KEY_EVENT_UP);
  2345. #else /* defined(__MMI_WITH_C_KEY__) */ 
  2346.     set_right_softkey_function(wgui_handle_singleline_inputbox_right_softkey_down, KEY_EVENT_DOWN);
  2347.     set_right_softkey_function(wgui_handle_singleline_inputbox_right_softkey_long_press, KEY_LONG_PRESS);
  2348. #endif /* defined(__MMI_WITH_C_KEY__) */ 
  2349.     wgui_handle_singleline_inputbox_input();
  2350.     if (gui_single_line_input_box_get_text_length(&MMI_singleline_inputbox) <= 0)
  2351.     {
  2352.     #if defined(__MMI_WITH_C_KEY__)
  2353.         /* MTK Terry Temp solution for C key in Enter Pin */
  2354.         SetKeyHandler(UI_dummy_function, KEY_CLEAR, KEY_EVENT_UP);
  2355.     #else /* defined(__MMI_WITH_C_KEY__) */ 
  2356.         set_right_softkey_function(wgui_handle_singleline_inputbox_right_softkey_up, KEY_EVENT_UP);
  2357.     #endif /* defined(__MMI_WITH_C_KEY__) */ 
  2358.         if (wgui_inputbox_empty_callback != NULL)
  2359.         {
  2360.             wgui_inputbox_empty_callback();
  2361.         }
  2362.     }
  2363.     else if (wgui_inputbox_not_empty_callback != NULL)
  2364.     {
  2365.         wgui_inputbox_not_empty_callback();
  2366.     }
  2367.     MMI_singleline_inputbox.validation_callback = wgui_singleline_inputbox_validation_callback;
  2368.     MMI_singleline_inputbox.validation_callback(
  2369.                                 MMI_singleline_inputbox.text,
  2370.                                 MMI_singleline_inputbox.current_text_p,
  2371.                                 (MMI_singleline_inputbox.text_length >> 1) - 1);
  2372. }