wgui_categories_inputs.c
资源名称:mmi.rar [点击查看]
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:1705k
源码类别:
MTK
开发平台:
C/C++
- #endif /* defined(__MMI_T9_CROATIAN__) || defined(__MMI_ZI_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) */ //KP Jerry add "__MMI_CSTAR_CROATIAN__" on 2007-4-6
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_ROMANIAN
- * DESCRIPTION
- * change input mode of single line input box to ROMANIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_ROMANIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ROMANIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_romanian
- * DESCRIPTION
- * change input mode of single line input box to romanian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_romanian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ROMANIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_romanian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_romanian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_ROMANIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_ROMANIAN
- * DESCRIPTION
- * change input mode of single line input box to ROMANIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_ROMANIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_ROMANIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_romanian
- * DESCRIPTION
- * change input mode of single line input box to romanian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_romanian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_ROMANIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) */ //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-6
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_SLOVENIAN
- * DESCRIPTION
- * change input mode of single line input box to SLOVENIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_SLOVENIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVENIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_slovenian
- * DESCRIPTION
- * change input mode of single line input box to slovenian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_slovenian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVENIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_slovenian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_slovenian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_SLOVENIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- #if defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_SLOVENIAN
- * DESCRIPTION
- * change input mode of single line input box to SLOVENIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_SLOVENIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_SLOVENIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_slovenian
- * DESCRIPTION
- * change input mode of single line input box to slovenian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_slovenian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_SLOVENIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) */ //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-6
- #if defined(__MMI_MULTITAP_GREEK__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_GREEK
- * DESCRIPTION
- * change input mode of single line input box to GREEK
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_GREEK(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GREEK;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_greek
- * DESCRIPTION
- * change input mode of single line input box to greek
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_greek(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GREEK;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_greek
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_greek(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_GREEK;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- #if defined(__MMI_T9_GREEK__) || defined(__MMI_ZI_GREEK__) || defined(__MMI_CSTAR_GREEK__) //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_GREEK
- * DESCRIPTION
- * change input mode of single line input box to GREEK
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_GREEK(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_GREEK;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_greek
- * DESCRIPTION
- * change input mode of single line input box to greek
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_greek(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_GREEK;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_T9_GREEK__) || defined(__MMI_ZI_GREEK__) || defined(__MMI_CSTAR_GREEK__) */ //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-6
- #if defined(__MMI_MULTITAP_FRENCH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_FRENCH
- * DESCRIPTION
- * change input mode of single line input box to FRENCH
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_FRENCH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FRENCH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_french
- * DESCRIPTION
- * change input mode of single line input box to french
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_french(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FRENCH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_french
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_french(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_FRENCH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #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
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_FRENCH
- * DESCRIPTION
- * change input mode of single line input box to FRENCH
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_FRENCH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_FRENCH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_french
- * DESCRIPTION
- * change input mode of single line input box to french
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_french(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_FRENCH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #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
- #if defined(__MMI_MULTITAP_GERMAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_GERMAN
- * DESCRIPTION
- * change input mode of single line input box to GERMAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_GERMAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GERMAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_german
- * DESCRIPTION
- * change input mode of single line input box to german
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_german(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GERMAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_german
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_german(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_GERMAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_GERMAN
- * DESCRIPTION
- * change input mode of single line input box to GERMAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_GERMAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_GERMAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_german
- * DESCRIPTION
- * change input mode of single line input box to german
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_german(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_GERMAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) */ //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-6
- #if defined(__MMI_MULTITAP_ITALIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_ITALIAN
- * DESCRIPTION
- * change input mode of single line input box to ITALIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_ITALIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ITALIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_italian
- * DESCRIPTION
- * change input mode of single line input box to italian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_italian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ITALIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_italian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_italian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_ITALIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_ITALIAN
- * DESCRIPTION
- * change input mode of single line input box to ITALIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_ITALIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_ITALIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_italian
- * DESCRIPTION
- * change input mode of single line input box to italian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_italian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_ITALIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) */ //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-6
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_RUSSIAN
- * DESCRIPTION
- * change input mode of single line input box to RUSSIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_RUSSIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_russian
- * DESCRIPTION
- * change input mode of single line input box to russian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_russian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_russian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_russian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_RUSSIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_BULGARIAN
- * DESCRIPTION
- * change input mode of single line input box to BULGARIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_BULGARIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_bulgarian
- * DESCRIPTION
- * change input mode of single line input box to bulgarian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_bulgarian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_bulgarian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_bulgarian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_BULGARIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_HEBREW__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_hebrew
- * DESCRIPTION
- * change input mode of single line input box to HEBREW
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_hebrew(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_HEBREW;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_HEBREW__) */
- #if defined(__MMI_MULTITAP_ARABIC__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_arabic
- * DESCRIPTION
- * change input mode of single line input box to ARABIC
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_arabic(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_ARABIC;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_ARABIC__) */
- //PMT START PERSIAN
- #if defined(__MMI_MULTITAP_PERSIAN__)
- /*----------------------------------------------------------------------------
- Function: wgui_singleline_inputbox_change_input_mode_multitap_persian
- Description: change input mode of single line input box to PERSIAN
- Input parameters : none
- Output Parameters: none
- Returns: none
- ----------------------------------------------------------------------------*/
- void wgui_singleline_inputbox_change_input_mode_multitap_persian(void)
- { wgui_singleline_inputbox_input_type=INPUT_TYPE_ALPHANUMERIC_PERSIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif
- //PMT END PERSIAN
- #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
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_RUSSIAN
- * DESCRIPTION
- * change input mode of single line input box to RUSSIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_RUSSIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_RUSSIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_russian
- * DESCRIPTION
- * change input mode of single line input box to russian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_russian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_RUSSIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #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
- #if defined (__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_BULGARIAN
- * DESCRIPTION
- * change input mode of single line input box to BULGARIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_BULGARIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_BULGARIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_bulgarian
- * DESCRIPTION
- * change input mode of single line input box to bulgarian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_bulgarian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_BULGARIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined (__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) */ //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-6
- #if defined(__MMI_MULTITAP_TURKISH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_TURKISH
- * DESCRIPTION
- * change input mode of single line input box to TURKISH
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_TURKISH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_TURKISH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_turkish
- * DESCRIPTION
- * change input mode of single line input box to turkish
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_turkish(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_TURKISH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_turkish
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_turkish(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_TURKISH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_TURKISH
- * DESCRIPTION
- * change input mode of single line input box to TURKISH
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_TURKISH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_TURKISH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_turkish
- * DESCRIPTION
- * change input mode of single line input box to turkish
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_turkish(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_TURKISH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) */ //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-6
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_PORTUGUESE
- * DESCRIPTION
- * change input mode of single line input box to PORTUGUESE
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_PORTUGUESE(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_PORTUGUESE;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_portuguese
- * DESCRIPTION
- * change input mode of single line input box to portuguese
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_portuguese(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_PORTUGUESE;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_portuguese
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_portuguese(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_PORTUGUESE;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #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
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_PORTUGUESE
- * DESCRIPTION
- * change input mode of single line input box to PORTUGUESE
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_PORTUGUESE(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_PORTUGUESE;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_portuguese
- * DESCRIPTION
- * change input mode of single line input box to portuguese
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_portuguese(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_PORTUGUESE;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #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
- #if defined(__MMI_MULTITAP_HINDI__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_HINDI
- * DESCRIPTION
- * change input mode of single line input box to HINDI
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_HINDI(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MULTITAP_HINDI;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_HINDI
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_HINDI(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MULTITAP_HINDI;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_HINDI__) */
- #if defined(__MMI_MULTITAP_MARATHI__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_MARATHI
- * DESCRIPTION
- * change input mode of single line input box to MARATHI
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_MARATHI(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MULTITAP_MARATHI;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_MARATHI
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_MARATHI(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MULTITAP_MARATHI;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_MARATHI__) */
- /* PMT CZ_PO_TU START 20050812 */
- #if defined(__MMI_MULTITAP_CZECH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_CZECH
- * DESCRIPTION
- * change input mode of single line input box to CZECH
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_CZECH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CZECH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_czech
- * DESCRIPTION
- * change input mode of single line input box to czech
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_czech(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CZECH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_czech
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_czech(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_CZECH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- #if defined(__MMI_T9_CZECH__) || defined(__MMI_ZI_CZECH__) || defined(__MMI_CSTAR_CZECH__) //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_CZECH
- * DESCRIPTION
- * change input mode of single line input box to CZECH
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_CZECH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_CZECH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_czech
- * DESCRIPTION
- * change input mode of single line input box to czech
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_czech(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_CZECH;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_T9_CZECH__) || defined(__MMI_ZI_CZECH__) || defined(__MMI_CSTAR_CZECH__) */ //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-6
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_INDONESIAN
- * DESCRIPTION
- * change input mode of single line input box to INDONESIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_INDONESIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_INDONESIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_indonesian
- * DESCRIPTION
- * change input mode of single line input box to indonesian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_indonesian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_INDONESIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_indonesian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_indonesian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_INDONESIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- #if defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_INDONESIAN
- * DESCRIPTION
- * change input mode of single line input box to INDONESIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_INDONESIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_INDONESIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_indonesian
- * DESCRIPTION
- * change input mode of single line input box to indonesian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_indonesian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_INDONESIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) */ //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-6
- #if defined(__MMI_MULTITAP_MALAY__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_MALAY
- * DESCRIPTION
- * change input mode of single line input box to MALAY
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_MALAY(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_MALAY;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_malay
- * DESCRIPTION
- * change input mode of single line input box to malay
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_malay(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_MALAY;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_malay
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_malay(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_MALAY;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_MALAY
- * DESCRIPTION
- * change input mode of single line input box to MALAY
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_MALAY(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_MALAY;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_malay
- * DESCRIPTION
- * change input mode of single line input box to malay
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_malay(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_MALAY;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) */ //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-6
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_VIETNAMESE
- * DESCRIPTION
- * change input mode of single line input box to vietnamese
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_VIETNAMESE(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_VIETNAMESE;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_vietnamese
- * DESCRIPTION
- * change input mode of single line input box to vietnamese
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_vietnamese(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_VIETNAMESE;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_vietnamese
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_vietnamese(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_VIETNAMESE;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- #ifdef __MMI_MULTITAP_THAI__
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_thai
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_thai(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_MULTITAP_THAI;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* __MMI_MULTITAP_THAI__ */
- #ifdef __MMI_MULTITAP_HEBREW__
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_hebrew
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_hebrew(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_MULTITAP_HEBREW;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* __MMI_MULTITAP_HEBREW__ */
- #ifdef __MMI_MULTITAP_ARABIC__
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_arabic
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_arabic(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_MULTITAP_ARABIC;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif
- //PMT START PERSIAN
- #ifdef __MMI_MULTITAP_PERSIAN__
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_persian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_persian(void)
- {
- wgui_singleline_inputbox_input_type=INPUT_TYPE_MMI_MULTITAP_PERSIAN;
- wgui_singleline_inputbox_input_mode_changed=1;
- }
- #endif
- //PMT END PERSIAN
- #if defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_VIETNAMESE
- * DESCRIPTION
- * change input mode of single line input box to VIETNAMESE
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_VIETNAMESE(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_vietnamese
- * DESCRIPTION
- * change input mode of single line input box to vietnamese
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_vietnamese(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) */ //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-6
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_NORWEGIAN
- * DESCRIPTION
- * change input mode of single line input box to norwegian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_NORWEGIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_NORWEGIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_multitap_norwegian
- * DESCRIPTION
- * change input mode of single line input box to norwegian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_multitap_norwegian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_NORWEGIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_change_inputbox_mode_quick_search_norwegian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_change_inputbox_mode_quick_search_norwegian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_MMI_LOWERCASE_NORWEGIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- #if defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_NORWEGIAN
- * DESCRIPTION
- * change input mode of single line input box to NORWEGIAN
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_NORWEGIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_NORWEGIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_change_input_mode_smart_norwegian
- * DESCRIPTION
- * change input mode of single line input box to norwegian
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_change_input_mode_smart_norwegian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_singleline_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_NORWEGIAN;
- wgui_singleline_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) */ //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-6
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_validation_callback
- * DESCRIPTION
- * input box validation call back function
- * PARAMETERS
- * text [IN] Buffer of input box
- * cursor [IN]
- * text_length [IN] Length of text
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_singleline_inputbox_validation_callback(UI_buffer_type text, UI_buffer_type cursor, S32 text_length)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- if (wgui_inputbox_validation_callback != NULL && mmi_ime_ui_screen_state_query() == MMI_TRUE)
- {
- wgui_inputbox_validation_callback(text, cursor, text_length);
- }
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_get_UCS2_count
- * DESCRIPTION
- * UCS2 coumt of input box :- length of string in UNCODE mode of input box
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- S32 wgui_singleline_inputbox_get_UCS2_count(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- return (MMI_singleline_inputbox.UCS2_count);
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_get_GSM_ext_count
- * DESCRIPTION
- * Returns the number of GSM extended characters in the
- * single line input box buffer
- * PARAMETERS
- * void
- * RETURNS
- * Number of GSM extended characters
- *****************************************************************************/
- S32 wgui_singleline_inputbox_get_GSM_ext_count(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- return (MMI_singleline_inputbox.GSM_ext_count);
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_singleline_inputbox_test_change_input_mode
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * byte
- *****************************************************************************/
- U8 wgui_singleline_inputbox_test_change_input_mode(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- if (MMI_singleline_inputbox.flags & UI_SINGLE_LINE_INPUT_BOX_USE_ENCODING_BASED_LENGTH)
- {
- if (MMI_singleline_inputbox.UCS2_count <= 0)
- {
- if ((MMI_singleline_inputbox.flags & UI_SINGLE_LINE_INPUT_BOX_ONE_LESS_CHARACTER) &&
- (MMI_singleline_inputbox.text_length >= ((MMI_singleline_inputbox.available_length >> 1) - 1)))
- {
- return (0);
- }
- else if (MMI_singleline_inputbox.text_length >= (MMI_singleline_inputbox.available_length >> 1))
- {
- return (0);
- }
- else
- {
- return (1);
- }
- }
- else
- {
- return (1);
- }
- }
- else
- {
- return (1);
- }
- }
- extern const sIMEModeDetails* gIMEModeArray;
- /*****************************************************************************
- * FUNCTION
- * wgui_is_english_only_input_type
- * DESCRIPTION
- * test if this input type is english only input type
- * PARAMETERS
- * input_type [in] S16 input_type
- * RETURNS
- * MMI_BOOL MMI_TRUE --> english only input type , MMI_FALSE --> else
- *****************************************************************************/
- MMI_BOOL wgui_is_english_only_input_type(S16 input_type)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- int i = 0;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- while (gIMEModeArray[i].IME_Type_ID != 0xff)
- {
- if (gIMEModeArray[i].IME_Type_ID == input_type)
- {
- return gIMEModeArray[i].English_Only_Flag;
- }
- i++;
- }
- return MMI_FALSE;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_is_overridable_input_type
- * DESCRIPTION
- *
- * PARAMETERS
- * input_type [IN] S16 input_type
- * RETURNS
- *
- *****************************************************************************/
- MMI_BOOL wgui_is_overridable_input_type(S16 input_type)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- input_type &= INPUT_TYPE_MASK;
- if (input_type == INPUT_TYPE_NONE ||
- input_type == INPUT_TYPE_NUMERIC ||
- input_type == INPUT_TYPE_NUMERIC_PASSWORD ||
- input_type == INPUT_TYPE_PHONE_NUMBER ||
- input_type == INPUT_TYPE_SAT_NUMERIC_PASSWORD ||
- input_type == INPUT_TYPE_KEYPAD_NUMERIC ||
- input_type == INPUT_TYPE_DECIMAL_NUMERIC || input_type == INPUT_TYPE_NUMERIC_CHANGEABLE)
- {
- return MMI_FALSE;
- }
- else
- {
- return MMI_TRUE;
- }
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_set_default_input_type
- * DESCRIPTION
- * set default input type
- * PARAMETERS
- * input_type [OUT]
- * RETURNS
- * void
- *****************************************************************************/
- extern pBOOL IsTrChineseSet(void);
- extern pBOOL IsSmChineseSet(void);
- void wgui_set_default_input_type(U16 *input_type)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U16 itype = (*input_type) & INPUT_TYPE_MASK;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- /* MTK Terry for multitap issue */
- if (*input_type & (INPUT_TYPE_OVERRIDE_DEFAULT | INPUT_TYPE_USE_ONLY_ENGLISH_MODES))
- {
- if (*input_type & (INPUT_TYPE_USE_ONLY_ENGLISH_MODES))
- {
- set_english_only_multitap();
- if (wgui_is_english_only_input_type(MMI_prefered_input_type) && wgui_is_overridable_input_type(*input_type))
- {
- if (!(mmi_is_alphanum_pass && (MMI_prefered_input_type == INPUT_TYPE_SMART_UPPERCASE_ABC || MMI_prefered_input_type == INPUT_TYPE_SMART_LOWERCASE_ABC)))
- {
- /* In password input type, smart ABC is not allowed. */
- *input_type &= 0xff00;
- *input_type |= MMI_prefered_input_type;
- }
- }
- }
- return;
- }
- else
- {
- set_normal_multitap();
- }
- #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
- if ((itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_SENTENCECASE) ||
- (itype == INPUT_TYPE_MMI_MULTITAP_BPMF) ||
- (itype == INPUT_TYPE_MMI_MULTITAP_PINYIN) ||
- (itype == INPUT_TYPE_MMI_SM_STROKE) ||
- (itype == INPUT_TYPE_MMI_TR_STROKE) ||
- (itype == INPUT_TYPE_MMI_NUMERIC) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_MULTITAP_THAI) ||
- (itype == INPUT_TYPE_MMI_MULTITAP_THAI) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SPANISH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SPANISH) || (itype == INPUT_TYPE_MMI_LOWERCASE_SPANISH) ||
- #if defined(__MMI_MULTITAP_DANISH__)
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DANISH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DANISH) || (itype == INPUT_TYPE_MMI_LOWERCASE_DANISH) ||
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_POLISH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_POLISH) || (itype == INPUT_TYPE_MMI_LOWERCASE_POLISH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FRENCH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FRENCH) ||
- (itype == INPUT_TYPE_MMI_LOWERCASE_FRENCH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GERMAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GERMAN) ||
- (itype == INPUT_TYPE_MMI_LOWERCASE_GERMAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ITALIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ITALIAN) ||
- (itype == INPUT_TYPE_MMI_LOWERCASE_ITALIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_RUSSIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_BULGARIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_TURKISH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_TURKISH) ||
- (itype == INPUT_TYPE_MMI_LOWERCASE_TURKISH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_PORTUGUESE) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_PORTUGUESE) ||
- (itype == INPUT_TYPE_MMI_LOWERCASE_PORTUGUESE) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_INDONESIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_INDONESIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_INDONESIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CZECH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CZECH) || (itype == INPUT_TYPE_MMI_LOWERCASE_CZECH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_MALAY) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_MALAY) ||
- (itype == INPUT_TYPE_MMI_LOWERCASE_MALAY) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_VIETNAMESE) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_VIETNAMESE) || (itype == INPUT_TYPE_MMI_LOWERCASE_VIETNAMESE) ||
- #if defined(__MMI_MULTITAP_FINNISH__)
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FINNISH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FINNISH) || (itype == INPUT_TYPE_MMI_LOWERCASE_FINNISH) ||
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_HUNGARIAN) || /* Gurdev Start Hungarian */
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_HUNGARIAN) || /* Gurdev Start Hungarian */
- (itype == INPUT_TYPE_MMI_LOWERCASE_HUNGARIAN) || /* Gurdev Start Hungarian */
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- #if defined(__MMI_MULTITAP_SLOVAK__)
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVAK) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVAK) || (itype == INPUT_TYPE_MMI_LOWERCASE_SLOVAK) ||
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DUTCH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DUTCH) || (itype == INPUT_TYPE_MMI_LOWERCASE_DUTCH) ||
- #if defined(__MMI_MULTITAP_SWEDISH__)
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SWEDISH) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SWEDISH) || (itype == INPUT_TYPE_MMI_LOWERCASE_SWEDISH) ||
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CROATIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CROATIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_CROATIAN) ||
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ROMANIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ROMANIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_ROMANIAN) ||
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVENIAN) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVENIAN) || (itype == INPUT_TYPE_MMI_LOWERCASE_SLOVENIAN) ||
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- #if defined(__MMI_MULTITAP_GREEK__)
- (itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GREEK) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GREEK) || (itype == INPUT_TYPE_MMI_LOWERCASE_GREEK) ||
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- #if defined(__MMI_MULTITAP_HEBREW__)
- (itype == INPUT_TYPE_ALPHANUMERIC_MULTITAP_HEBREW) || (itype == INPUT_TYPE_MMI_MULTITAP_HEBREW) ||
- #endif
- (itype == INPUT_TYPE_MMI_LOWERCASE_ABC))
- {
- #if defined(__MMI_PREFER_INPUT_METHOD__)
- //PMT START PERSIAN
- #if defined __MMI_LANG_HINDI__ && (defined __MMI_LANG_ARABIC__ || defined __MMI_LANG_PERSIAN__)
- if ((HINDI_PRESENT) &&
- (MMI_prefered_input_type == INPUT_TYPE_SMART_ARABIC ||
- MMI_prefered_input_type == INPUT_TYPE_ALPHANUMERIC_ARABIC ||
- MMI_prefered_input_type == INPUT_TYPE_SMART_PERSIAN ||
- MMI_prefered_input_type == INPUT_TYPE_ALPHANUMERIC_PERSIAN))
- //PMT END PERSIAN
- /* PMT LANGUAGE END 20051221 */
- {
- *input_type = INPUT_TYPE_MULTITAP_HINDI;
- }
- else if ((ARABIC_PRESENT) &&
- (MMI_prefered_input_type == INPUT_TYPE_MULTITAP_HINDI ||
- MMI_prefered_input_type == INPUT_TYPE_SMART_HINDI))
- {
- *input_type = INPUT_TYPE_SMART_ARABIC;
- }
- else
- #endif /* defined __MMI_LANG_HINDI__ && defined __MMI_LANG_ARABIC__ */
- if (!((MMI_prefered_input_type < INPUT_TYPE_MAX_NUM) && (MMI_prefered_input_type > 0)))
- {
- *input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE;
- }
- else
- {
- *input_type = MMI_prefered_input_type;
- }
- #else /* defined(__MMI_PREFER_INPUT_METHOD__) */
- #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
- if (IsTrChineseSet())
- {
- #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
- *input_type = INPUT_TYPE_TR_MULTITAP_BOPOMO;
- #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
- *input_type = INPUT_TYPE_TR_BOPOMO;
- #else
- UI_UNUSED_PARAMETER(input_type);
- #endif
- }
- else if (IsSmChineseSet())
- {
- #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
- *input_type = INPUT_TYPE_SM_MULTITAP_PINYIN;
- #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
- *input_type = INPUT_TYPE_SM_PINYIN;
- #else
- UI_UNUSED_PARAMETER(input_type);
- #endif
- }
- #elif defined(__MMI_KA__)
- *input_type = INPUT_TYPE_SM_PINYIN;
- #endif
- #endif /* defined(__MMI_PREFER_INPUT_METHOD__) */
- }
- #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
- if ((itype == INPUT_TYPE_ALPHANUMERIC_UPPERCASE) || (itype == INPUT_TYPE_ALPHANUMERIC_LOWERCASE) ||
- (itype == INPUT_TYPE_ALPHANUMERIC_SENTENCECASE))
- {
- #if defined(__MMI_PREFER_INPUT_METHOD__)
- if (!((MMI_prefered_input_type < INPUT_TYPE_MAX_NUM) && (MMI_prefered_input_type > 0)))
- {
- *input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE;
- }
- else
- {
- *input_type = MMI_prefered_input_type;
- }
- #else /* defined(__MMI_PREFER_INPUT_METHOD__) */
- UI_UNUSED_PARAMETER(input_type);
- #endif /* defined(__MMI_PREFER_INPUT_METHOD__) */
- }
- #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
- }
- /* MTK end */
- /*****************************************************************************
- * FUNCTION
- * wgui_set_qsearch_default_input_type
- * DESCRIPTION
- * set qsearch default input type
- * PARAMETERS
- * input_type [OUT]
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_set_qsearch_default_input_type(U16 *input_type)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U16 itype = (*input_type) & INPUT_TYPE_MASK;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- switch (itype)
- {
- case INPUT_TYPE_TR_BOPOMO:
- case INPUT_TYPE_TR_MULTITAP_BOPOMO:
- *input_type = INPUT_TYPE_MMI_MULTITAP_BPMF;
- break;
- case INPUT_TYPE_SM_PINYIN:
- case INPUT_TYPE_SM_MULTITAP_PINYIN:
- *input_type = INPUT_TYPE_MMI_MULTITAP_PINYIN;
- break;
- case INPUT_TYPE_TR_STROKE:
- *input_type = INPUT_TYPE_MMI_TR_STROKE;
- break;
- case INPUT_TYPE_SM_STROKE:
- *input_type = INPUT_TYPE_MMI_SM_STROKE;
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE:
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE:
- case INPUT_TYPE_ALPHANUMERIC_SENTENCECASE:
- *input_type = INPUT_TYPE_MMI_LOWERCASE_ABC;
- break;
- case INPUT_TYPE_NUMERIC:
- case INPUT_TYPE_NUMERIC_CHANGEABLE:
- *input_type = INPUT_TYPE_MMI_NUMERIC;
- break;
- #if defined(__MMI_MULTITAP_HINDI__)
- case INPUT_TYPE_MULTITAP_HINDI:
- *input_type = INPUT_TYPE_MULTITAP_HINDI;
- break;
- #endif /* defined(__MMI_MULTITAP_HINDI__) */
- /* PMT RAKESH START 20061006 */
- #if defined(__MMI_MULTITAP_MARATHI__)
- case INPUT_TYPE_MULTITAP_MARATHI:
- *input_type = INPUT_TYPE_MULTITAP_MARATHI;
- break;
- #endif /* defined(__MMI_MULTITAP_MARATHI__) */
- /* PMT RAKESH END 20061006 */
- #if defined(__MMI_MULTITAP_THAI__)
- case INPUT_TYPE_ALPHANUMERIC_MULTITAP_THAI:
- *input_type = INPUT_TYPE_MMI_MULTITAP_THAI;
- break;
- #endif /* defined(__MMI_MULTITAP_THAI__) */
- default:
- *input_type = INPUT_TYPE_MMI_LOWERCASE_ABC;
- break;
- }
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_set_singleline_RSK
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_set_singleline_RSK(void)
- {
- #if defined(__MMI_WITH_C_KEY__)
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- SetKeyHandler(wgui_handle_singleline_inputbox_right_softkey_down, KEY_CLEAR, KEY_EVENT_DOWN);
- SetKeyHandler(wgui_handle_singleline_inputbox_right_softkey_long_press, KEY_CLEAR, KEY_LONG_PRESS);
- set_right_softkey_function(wgui_handle_singleline_inputbox_right_softkey_up, KEY_EVENT_UP);
- #else /* defined(__MMI_WITH_C_KEY__) */
- set_right_softkey_function(wgui_handle_singleline_inputbox_right_softkey_down, KEY_EVENT_DOWN);
- set_right_softkey_function(wgui_handle_singleline_inputbox_right_softkey_long_press, KEY_LONG_PRESS);
- #endif /* defined(__MMI_WITH_C_KEY__) */
- wgui_handle_singleline_inputbox_input();
- if (gui_single_line_input_box_get_text_length(&MMI_singleline_inputbox) <= 0)
- {
- #if defined(__MMI_WITH_C_KEY__)
- /* MTK Terry Temp solution for C key in Enter Pin */
- SetKeyHandler(UI_dummy_function, KEY_CLEAR, KEY_EVENT_UP);
- #else /* defined(__MMI_WITH_C_KEY__) */
- set_right_softkey_function(wgui_handle_singleline_inputbox_right_softkey_up, KEY_EVENT_UP);
- #endif /* defined(__MMI_WITH_C_KEY__) */
- if (wgui_inputbox_empty_callback != NULL)
- {
- wgui_inputbox_empty_callback();
- }
- }
- else if (wgui_inputbox_not_empty_callback != NULL)
- {
- wgui_inputbox_not_empty_callback();
- }
- MMI_singleline_inputbox.validation_callback = wgui_singleline_inputbox_validation_callback;
- MMI_singleline_inputbox.validation_callback(
- MMI_singleline_inputbox.text,
- MMI_singleline_inputbox.current_text_p,
- (MMI_singleline_inputbox.text_length >> 1) - 1);
- }