wgui_categories_inputs.c
资源名称:mmi.rar [点击查看]
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:1705k
源码类别:
MTK
开发平台:
C/C++
- /*****************************************************************************
- * FUNCTION
- * concate_messages
- * DESCRIPTION
- *
- * PARAMETERS
- * list_of_msg [?]
- * type_of_msg [IN]
- * RETURNS
- * void
- *****************************************************************************/
- void concate_messages(U8 *list_of_msg, U8 type_of_msg)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- S32 len = 0;
- S32 messageLen = 0;
- S32 nCount = 0;
- S32 nTemp;
- U8 separator = ':';
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- len = pfnUnicodeStrlen((PS8) chat_message);
- messageLen = pfnUnicodeStrlen((PS8) list_of_msg);
- if (len * ENCODING_LENGTH > CHAT_MESSAGE_BUFFER)
- {
- memset(chat_message, 0, CHAT_MESSAGE_BUFFER);
- }
- if (type_of_msg == LOCAL)
- {
- pfnUnicodeStrcat((PS8) chat_message, (PS8) uni_grp_ch);
- }
- else if (type_of_msg == SENDER)
- {
- pfnUnicodeStrcat((PS8) chat_message, (PS8) uni_file_ch);
- }
- else if (type_of_msg == SENDER_TRUNCATED)
- {
- pfnUnicodeStrcat((PS8) chat_message, (PS8) uni_sender_truncate);
- }
- else
- {
- pfnUnicodeStrcat((PS8) chat_message, (PS8) uni_receiver_truncate);
- }
- while ((nCount < ((MAX_CHAT_NICKNAME_SIZE) * ENCODING_LENGTH)) && (nCount < messageLen * ENCODING_LENGTH))
- {
- if (list_of_msg[nCount] == separator)
- {
- if (nCount) /* If separator is the first character then skip it, else if it is not add */
- {
- nTemp = nCount + ENCODING_LENGTH;
- pfnUnicodeStrncat((PS8) chat_message, (PS8) list_of_msg, nTemp / ENCODING_LENGTH);
- pfnUnicodeStrcat((PS8) ((chat_message) + nTemp), (PS8) uni_str_new_line);
- if (type_of_msg == SENDER_TRUNCATED || type_of_msg == RECEIVER_TRUNCATED)
- {
- pfnUnicodeStrcat((PS8) chat_message, (PS8) gChatTruncateSymbol);
- }
- pfnUnicodeStrcat((PS8) chat_message, (PS8) (list_of_msg + nTemp));
- break;
- }
- }
- nCount += ENCODING_LENGTH;
- }
- if ((nCount >= (MAX_CHAT_NICKNAME_SIZE * ENCODING_LENGTH)) || (nCount >= messageLen * ENCODING_LENGTH))
- {
- if (type_of_msg == SENDER_TRUNCATED || type_of_msg == RECEIVER_TRUNCATED)
- {
- pfnUnicodeStrcat((PS8) chat_message, (PS8) gChatTruncateSymbol);
- }
- pfnUnicodeStrcat((PS8) chat_message, (PS8) list_of_msg);
- }
- pfnUnicodeStrcat((PS8) chat_message, (PS8) uni_str_new_line);
- PRINT_INFORMATION(("n CHAT MESSAGE %s ", chat_message));
- }
- /*****************************************************************************
- * FUNCTION
- * ShowCatMessage
- * DESCRIPTION
- *
- * PARAMETERS
- * message [?]
- * type_of_msg [IN]
- * RETURNS
- * void
- *****************************************************************************/
- void ShowCatMessage(U8 *message, U8 type_of_msg)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- S32 index = 0;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- concate_messages(message, type_of_msg);
- /* concate_messages(message,type_of_msg,(U8)index); */
- MMI_multiline_inputbox.text = (UI_buffer_type) chat_message;
- MMI_multiline_inputbox.cursor_p = chat_message;
- gui_set_font(&MMI_medium_font);
- show_multiline_inputbox_no_draw();
- for (index = 0; index < (MMI_multiline_inputbox.n_lines); index++)
- {
- gui_multi_line_input_box_next_line(&MMI_multiline_inputbox);
- }
- show_multiline_inputbox();
- gdi_layer_blt_previous(
- MMI_multiline_inputbox.x,
- MMI_multiline_inputbox.y,
- (MMI_multiline_inputbox.x + MMI_multiline_inputbox.width),
- (MMI_multiline_inputbox.y + MMI_multiline_inputbox.height));
- }
- /*****************************************************************************
- * FUNCTION
- * initialize_chat_msg
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void initialize_chat_msg(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- memset(chat_message, 0, CHAT_MESSAGE_BUFFER);
- }
- /*****************************************************************************
- * FUNCTION
- * cat_305_scrolling_timer
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void cat_305_scrolling_timer(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- gui_handle_scrolling_text(&wgui_category305_scrolling_text);
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_draw_305_title_background
- * DESCRIPTION
- *
- * PARAMETERS
- * x1 [IN]
- * y1 [IN]
- * x2 [IN]
- * y2 [IN]
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_draw_305_title_background(S32 x1, S32 y1, S32 x2, S32 y2)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- gui_set_font(&MMI_medium_font);
- gui_draw_filled_area(x1, y1, x2, y2, &greenwgui_color_dialog_background);
- }
- /*****************************************************************************
- * FUNCTION
- * ExitCategory305Screen
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void ExitCategory305Screen(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ClearHighlightHandler();
- reset_softkeys();
- reset_menu_shortcut_handler();
- close_status_icons();
- gui_set_multi_line_input_box_current_theme(&MMI_multiline_inputbox);
- gui_cancel_timer(cat_305_scrolling_timer);
- reset_fixed_list();
- if ( chat_message != NULL )
- {
- mmi_frm_scrmem_free(chat_message);
- chat_message = NULL;
- }
- }
- /*****************************************************************************
- * FUNCTION
- * GetCategory305HistorySize
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- *
- *****************************************************************************/
- S32 GetCategory305HistorySize(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- return (sizeof(multiline_inputbox_category_history));
- }
- /*****************************************************************************
- * FUNCTION
- * GetCategory305History
- * DESCRIPTION
- * Gets the history buffer for category5 screen
- * PARAMETERS
- * history_buffer [IN] Is the buffer into which the history data is stored (pre-allocated)
- * RETURNS
- * Pointer to the history buffer
- *****************************************************************************/
- U8 *GetCategory305History(U8 *history_buffer)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- get_multiline_inputbox_category_history(MMI_CATEGORY305_ID, history_buffer, MMI_current_input_type);
- return (history_buffer);
- }
- /*****************************************************************************
- * FUNCTION
- * DrawCate305CategoryControlArea
- * DESCRIPTION
- * This function is used to draw the category controlled area of category305 screen
- * PARAMETERS
- * coordinate [IN/OUT] Coordinates of category controlled area.
- * RETURNS
- * void
- *****************************************************************************/
- extern U8 *disp_valuestr;
- extern S16 status_icon;
- void DrawCate305CategoryControlArea(dm_coordinates *coordinate)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- S32 w = 0, fh = 0;
- color c = gui_color(0, 64, 128);
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- if (disp_valuestr)
- {
- gui_measure_string((UI_string_type) disp_valuestr, &w, &fh);
- gdi_layer_set_clip(0, (MMI_status_bar_height), (UI_device_width - 1), (MMI_status_bar_height + fh + 3));
- wgui_draw_305_title_background(
- MMI_title_x,
- MMI_status_bar_height,
- (MMI_title_width - MMI_title_x) - 1,
- (MMI_status_bar_height + fh + 3));
- if (w > (MMI_title_width - MMI_title_x))
- {
- gui_create_scrolling_text(
- &wgui_category305_scrolling_text,
- MMI_title_x,
- MMI_status_bar_height,
- (MMI_title_width - MMI_title_x),
- fh + 1,
- (UI_string_type) disp_valuestr,
- cat_305_scrolling_timer,
- wgui_draw_305_title_background,
- gui_color(0, 0, 0),
- gui_color(255, 255, 255));
- wgui_category305_scrolling_text.flags &= ~UI_SCROLLING_TEXT_BORDERED_TEXT;
- gui_show_scrolling_text(&wgui_category305_scrolling_text);
- coordinate->s16Height = fh + 4;
- }
- else
- {
- gui_set_text_color(c);
- gui_measure_string((UI_string_type) disp_valuestr, &w, &fh);
- if (r2lMMIFlag)
- {
- gui_move_text_cursor((UI_device_width >> 1) - (w >> 1) + w, (MMI_status_bar_height + 1));
- }
- else
- {
- gui_move_text_cursor((UI_device_width >> 1) - (w >> 1), (MMI_status_bar_height + 1));
- }
- gui_print_text((UI_string_type) disp_valuestr);
- coordinate->s16Height = fh + 1;
- }
- }
- while (MMI_multiline_inputbox.text_offset_y + MMI_multiline_inputbox.text_height >
- MMI_multiline_inputbox.edit_height)
- {
- gui_multi_line_input_box_next_line(&MMI_multiline_inputbox);
- }
- show_multiline_inputbox();
- }
- #if (defined __MMI_TOUCH_SCREEN__)
- /*****************************************************************************
- * FUNCTION
- * Cat305CategoryControlAreaPenDownHdlr
- * DESCRIPTION
- *
- * PARAMETERS
- * pos [IN]
- * RETURNS
- *
- *****************************************************************************/
- MMI_BOOL Cat305CategoryControlAreaPenDownHdlr(mmi_pen_point_struct pos)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- BOOL ret = MMI_FALSE;
- gui_multi_line_input_box_pen_enum multi_line_input_box_event;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- if (MMI_multiline_inputbox.flags & UI_MULTI_LINE_INPUT_BOX_VIEW_MODE)
- {
- ret = gui_multi_line_input_box_translate_pen_event(
- &MMI_multiline_inputbox,
- MMI_PEN_EVENT_DOWN,
- pos.x,
- pos.y,
- &multi_line_input_box_event);
- }
- if (ret)
- {
- return MMI_TRUE;
- }
- else
- {
- return MMI_FALSE;
- }
- }
- /*****************************************************************************
- * FUNCTION
- * Cat305CategoryControlAreaPenUpHdlr
- * DESCRIPTION
- *
- * PARAMETERS
- * pos [IN]
- * RETURNS
- *
- *****************************************************************************/
- MMI_BOOL Cat305CategoryControlAreaPenUpHdlr(mmi_pen_point_struct pos)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- gui_multi_line_input_box_pen_enum multi_line_input_box_event;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- gui_multi_line_input_box_translate_pen_event(
- &MMI_multiline_inputbox,
- MMI_PEN_EVENT_UP,
- pos.x,
- pos.y,
- &multi_line_input_box_event);
- return MMI_TRUE;
- }
- /*****************************************************************************
- * FUNCTION
- * Cat305CategoryControlAreaPenMoveHdlr
- * DESCRIPTION
- *
- * PARAMETERS
- * pos [IN]
- * RETURNS
- *
- *****************************************************************************/
- MMI_BOOL Cat305CategoryControlAreaPenMoveHdlr(mmi_pen_point_struct pos)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- gui_multi_line_input_box_pen_enum multi_line_input_box_event;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- gui_multi_line_input_box_translate_pen_event(
- &MMI_multiline_inputbox,
- MMI_PEN_EVENT_MOVE,
- pos.x,
- pos.y,
- &multi_line_input_box_event);
- return MMI_TRUE;
- }
- /*****************************************************************************
- * FUNCTION
- * Cat305CategoryControlAreaPenLongTapHdlr
- * DESCRIPTION
- *
- * PARAMETERS
- * pos [IN]
- * RETURNS
- *
- *****************************************************************************/
- MMI_BOOL Cat305CategoryControlAreaPenLongTapHdlr(mmi_pen_point_struct pos)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- gui_multi_line_input_box_pen_enum multi_line_input_box_event;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- gui_multi_line_input_box_translate_pen_event(
- &MMI_multiline_inputbox,
- MMI_PEN_EVENT_LONG_TAP,
- pos.x,
- pos.y,
- &multi_line_input_box_event);
- return MMI_TRUE;
- }
- /*****************************************************************************
- * FUNCTION
- * Cat305CategoryControlAreaPenRepeatHdlr
- * DESCRIPTION
- *
- * PARAMETERS
- * pos [IN]
- * RETURNS
- *
- *****************************************************************************/
- MMI_BOOL Cat305CategoryControlAreaPenRepeatHdlr(mmi_pen_point_struct pos)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- gui_multi_line_input_box_pen_enum multi_line_input_box_event;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- gui_multi_line_input_box_translate_pen_event(
- &MMI_multiline_inputbox,
- MMI_PEN_EVENT_REPEAT,
- pos.x,
- pos.y,
- &multi_line_input_box_event);
- return MMI_TRUE;
- }
- /*****************************************************************************
- * FUNCTION
- * Cat305CategoryControlAreaPenAbortHdlr
- * DESCRIPTION
- *
- * PARAMETERS
- * pos [IN]
- * RETURNS
- *
- *****************************************************************************/
- MMI_BOOL Cat305CategoryControlAreaPenAbortHdlr(mmi_pen_point_struct pos)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- gui_multi_line_input_box_pen_enum multi_line_input_box_event;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- gui_multi_line_input_box_translate_pen_event(
- &MMI_multiline_inputbox,
- MMI_PEN_EVENT_ABORT,
- pos.x,
- pos.y,
- &multi_line_input_box_event);
- return MMI_TRUE;
- }
- #endif /* (defined __MMI_TOUCH_SCREEN__) */
- /*****************************************************************************
- * FUNCTION
- * ShowCategory305Screen
- * DESCRIPTION
- *
- * PARAMETERS
- * title_id [IN]
- * title_icon [IN]
- * left_softkey [IN]
- * left_softkey_icon [IN]
- * right_softkey [IN]
- * right_softkey_icon [IN]
- * number_of_items [IN]
- * chat_strings [?]
- * history_buffer [?]
- * top_msg [?]
- * top_msg_icon [IN]
- * RETURNS
- * void
- *****************************************************************************/
- void ShowCategory305Screen(
- U16 title_id,
- U16 title_icon,
- U16 left_softkey,
- U16 left_softkey_icon,
- U16 right_softkey,
- U16 right_softkey_icon,
- S32 number_of_items,
- chat_message_struct *chat_strings,
- U8 *history_buffer,
- U8 *top_msg,
- U16 top_msg_icon)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- dm_data_struct dm_data;
- S32 fw = 0;
- S32 l1 = 0, index = 0, temp_h = 0;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- if ( chat_message != NULL )
- {
- mmi_frm_scrmem_free(chat_message);
- }
- chat_message = (U8*)mmi_frm_scrmem_alloc(CHAT_MESSAGE_BUFFER);
- gdi_layer_lock_frame_buffer();
- /************************************************************************************
- MTK Leo change.
- This category screen is just for sms chat, and title is not needed for this screen.
- ************************************************************************************/
- UI_UNUSED_PARAMETER(title_id);
- MMI_menu_shortcut_number = -1;
- change_left_softkey(left_softkey, left_softkey_icon);
- change_right_softkey(right_softkey, right_softkey_icon);
- SetupCategoryKeyHandlers();
- gui_set_font(&MMI_medium_font);
- disp_valuestr = top_msg;
- status_icon = 1;
- ShowStatusIconsTitle();
- /* Initialize Chat Message */
- memset(chat_message, 0, CHAT_MESSAGE_BUFFER);
- for (index = 0; index < number_of_items; index++)
- {
- concate_messages((U8*) chat_strings[index].chat_message_string, (U8) chat_strings[index].flag);
- }
- MMI_message_string = (UI_string_type) chat_message;
- l1 = gui_strlen((UI_string_type) MMI_message_string);
- create_multiline_inputbox_set_buffer((UI_string_type) MMI_message_string, l1, l1, 0);
- register_multiline_sms_chat_inputbox_keys();
- MMI_multiline_inputbox.flags |= (UI_MULTI_LINE_INPUT_BOX_DISABLE_CURSOR_DRAW | UI_MULTI_LINE_INPUT_BOX_VIEW_MODE | UI_MULTI_LINE_INPUT_BOX_DISPLAY_LASTLINE); /* |UI_MULTI_LINE_INPUT_BOX_DISABLE_BACKGROUND); */
- MMI_multiline_inputbox.ext_flags |= GUI_MULTI_LINE_INPUT_BOX_CHAT_ICON_DISPLAY;
- if (top_msg)
- {
- gui_measure_string((UI_string_type) top_msg, &fw, &temp_h);
- }
- resize_multiline_inputbox(
- MMI_multiline_inputbox.width,
- (MMI_content_height + MMI_title_height - MMI_status_bar_height - 4 - temp_h));
- move_multiline_inputbox(0, (MMI_status_bar_height) + temp_h + 4);
- show_multiline_inputbox_no_draw();
- set_multiline_inputbox_category_history(MMI_CATEGORY305_ID, history_buffer, &MMI_current_input_type);
- gdi_layer_unlock_frame_buffer();
- ExitCategoryFunction = ExitCategory305Screen;
- #ifdef __MMI_TOUCH_SCREEN__
- wgui_register_category_screen_control_area_pen_handlers(Cat305CategoryControlAreaPenDownHdlr, MMI_PEN_EVENT_DOWN);
- wgui_register_category_screen_control_area_pen_handlers(Cat305CategoryControlAreaPenUpHdlr, MMI_PEN_EVENT_UP);
- wgui_register_category_screen_control_area_pen_handlers(Cat305CategoryControlAreaPenMoveHdlr, MMI_PEN_EVENT_MOVE);
- wgui_register_category_screen_control_area_pen_handlers(
- Cat305CategoryControlAreaPenLongTapHdlr,
- MMI_PEN_EVENT_LONG_TAP);
- wgui_register_category_screen_control_area_pen_handlers(
- Cat305CategoryControlAreaPenRepeatHdlr,
- MMI_PEN_EVENT_REPEAT);
- wgui_register_category_screen_control_area_pen_handlers(Cat305CategoryControlAreaPenAbortHdlr, MMI_PEN_EVENT_ABORT);
- #endif /* __MMI_TOUCH_SCREEN__ */
- dm_register_category_controlled_callback(DrawCate305CategoryControlArea);
- dm_setup_category_functions(dm_redraw_category_screen, dm_get_category_history, dm_get_category_history_size);
- dm_data.s32ScrId = (S32) GetActiveScreenId();
- dm_data.s32CatId = MMI_CATEGORY305_ID;
- dm_data.s32flags = DM_CLEAR_SCREEN_BACKGROUND;
- dm_setup_data(&dm_data);
- dm_redraw_category_screen();
- }
- #endif /* __MMI_MESSAGES_CHAT__ */
- /********** SMS CHAT SCREEN END **********/
- void (*category28_RSK_function) (void) = NULL;
- U8 category28_RSK_label_clear = 0;
- UI_string_type category28_RSK_label_string;
- PU8 category28_RSK_label_icon;
- extern UI_EMS_input_box MMI_EMS_inputbox;
- extern U8 EMS_inputbox_has_changed;
- extern PU8 wgui_EMS_inputbox_information_icon;
- extern EMSTextFormat wgui_EMS_text_format;
- extern S32 wgui_EMS_inputbox_information_bar_height;
- extern U8 EMS_inputbox_alignment_added_flag;
- extern EMSALIGNMENT EMS_inputbox_alignment;
- U8 wgui_EMS_inputbox_input_type = 0;
- U8 wgui_EMS_inputbox_input_mode_changed = 0;
- #if((UI_ENABLE_FRAME_SKIPPING) && (ENABLE_EMS_INPUTBOX_FRAME_SKIPPING))
- extern S32 wgui_EMS_inputbox_frame_counter;
- #endif
- /* MTK Add By Elvis for T9 */
- #ifdef __MMI_T9__
- #include "t9definition.h"
- #include "t9api.h"
- extern T9U16 curInputMethod;
- extern void (*t9_inputbox_LSK_function) (void);
- extern void T9KeyArrowUPHandlerForEMSInputBox(void);
- extern void T9KeyArrowRightHandlerForEMSInputBox(void);
- extern void T9KeyArrowDownHandlerForEMSInputBox(void);
- extern void T9KeyArrowLeftHandlerForEMSInputBox(void);
- extern void T9KeyStarPressHandlerForEMSInputBox(void);
- extern void T9InputBoxDisplayForEMSInputBox(void);
- extern void T9ScreenStateChnageForEMSInputBox(void);
- extern void T9SynT9WithInputBoxForEMSInputBox(void);
- extern void T9Key0To9HandlerForEMSInputBox(T9MINOR mmiKey, T9MINOR keyType);
- extern void T9ClearKeyNavigationHandler(void);
- extern void T9ClearKeyStarAndPoundHandler(void);
- extern void T9ChangeLanguageForEMSInputBox(T9U8 inputMethod);
- extern void T9Key0PressHandlerForEMSInputBox(void);
- extern void T9Key1PressHandlerForEMSInputBox(void);
- extern void T9Key2PressHandlerForEMSInputBox(void);
- extern void T9Key3PressHandlerForEMSInputBox(void);
- extern void T9Key4PressHandlerForEMSInputBox(void);
- extern void T9Key5PressHandlerForEMSInputBox(void);
- extern void T9Key6PressHandlerForEMSInputBox(void);
- extern void T9Key7PressHandlerForEMSInputBox(void);
- extern void T9Key8PressHandlerForEMSInputBox(void);
- extern void T9Key9PressHandlerForEMSInputBox(void);
- extern void T9KeyPoundPressHandlerForEMSInputBox(void);
- extern void InuptMethodEnterCategory28(void);
- extern void InuptMethodExitCategory28(void);
- extern void T9ClearKey0To9Handler(void);
- #elif defined __MMI_ZI__
- #include "zi8hmi.h"
- extern void ZiKey0PressHandler(void);
- extern void ZiKey1PressHandler(void);
- extern void ZiKey2PressHandler(void);
- extern void ZiKey3PressHandler(void);
- extern void ZiKey4PressHandler(void);
- extern void ZiKey5PressHandler(void);
- extern void ZiKey6PressHandler(void);
- extern void ZiKey7PressHandler(void);
- extern void ZiKey8PressHandler(void);
- extern void ZiKey9PressHandler(void);
- extern void ZiKeyArrowUPHandler(void);
- extern void ZiKeyArrowRightHandler(void);
- extern void ZiKeyArrowDownHandler(void);
- extern void ZiKeyArrowLeftHandler(void);
- extern void ZiKeyStarPressHandler(void);
- extern void ZiKeyStarLongPressHandler(void);
- extern void ZiKeyHashPressHandler(void);
- extern void ZiKeyHashLongPressHandler(void);
- extern void ZiKeyLSKPressHandler(void);
- extern void ZiKeyLSKLongPressHandler(void);
- extern void ZiKeyRSKPressHandler(void);
- extern void ZiKeyRSKLongPressHandler(void);
- extern void ZiChangeInputMethod(INPUT_MODE inputMode);
- extern void ZiClearKeyStarAndPoundHandler(void);
- extern void ZiClearKeyNavigationHandler(void);
- extern void ZiClearKey0To9Handler(void);
- #if defined(__MMI_MESSAGES_EMS__)
- extern void ZiInuptMethodEnterCategory28(void);
- extern void ZiInuptMethodExitCategory28(void);
- #endif /* defined(__MMI_MESSAGES_EMS__) */
- extern void ZiDisplay(void);
- extern void ZiInputBoxScreenStateChange(void);
- //KP Jerry add on 2007-3-8 start
- #elif defined __MMI_CSTAR__
- #include "cstarime.h"
- //KP Jerry add on 2007-3-8 end
- #elif defined __MMI_KA__
- #include "konkahmi.h"
- extern void KonkaKey0PressHandler(void);
- extern void KonkaKey1PressHandler(void);
- extern void KonkaKey2PressHandler(void);
- extern void KonkaKey3PressHandler(void);
- extern void KonkaKey4PressHandler(void);
- extern void KonkaKey5PressHandler(void);
- extern void KonkaKey6PressHandler(void);
- extern void KonkaKey7PressHandler(void);
- extern void KonkaKey8PressHandler(void);
- extern void KonkaKey9PressHandler(void);
- extern void KonkaKeyArrowUPHandler(void);
- extern void KonkaKeyArrowRightHandler(void);
- extern void KonkaKeyArrowDownHandler(void);
- extern void KonkaKeyArrowLeftHandler(void);
- extern void KonkaKeyStarPressHandler(void);
- extern void KonkaKeyStarLongPressHandler(void);
- extern void KonkaKeyHashPressHandler(void);
- extern void KonkaKeyHashLongPressHandler(void);
- extern void KonkaKeyLSKPressHandler(void);
- extern void KonkaKeyLSKLongPressHandler(void);
- extern void KonkaKeyRSKPressHandler(void);
- extern void KonkaKeyRSKLongPressHandler(void);
- extern void KonkaChangeInputMethod(INPUT_MODE inputMode);
- extern void KonkaClearKeyStarAndPoundHandler();
- extern void KonkaClearKeyNavigationHandler();
- extern void KonkaClearKey0To9Handler();
- extern void KonkaInuptMethodEnterCategory28(void);
- extern void KonkaInuptMethodExitCategory28(void);
- extern void KonkaDisplay(void);
- extern void KonkaInputBoxScreenStateChange(void);
- #elif defined __MMI_ITAP__
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- #endif
- /* PMT dara added for Multitap thai */
- #ifdef __MMI_MULTITAP_THAI__
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_handle_symbol_picker_star_key_bymultitapthai
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_handle_symbol_picker_star_key_bymultitapthai(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- if (Get_inputbox_update_states() == 1)
- {
- gui_EMS_input_box_backspace(&MMI_EMS_inputbox);
- wgui_EMS_text_format = MMI_EMS_inputbox.text_format;
- }
- wgui_EMS_inputbox_handle_symbol_picker_star_key();
- }
- #endif /* __MMI_MULTITAP_THAI__ */
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_ABC
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_ABC(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_abc
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_abc(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_numeric
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_numeric(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_NUMERIC_CHANGEABLE;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /* PMT dara added for Multitap thai */
- #if defined(__MMI_MULTITAP_THAI__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_thai
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_thai(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_MULTITAP_THAI;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_THAI__) */
- #if defined(__MMI_MULTITAP_SPANISH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_SPANISH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_SPANISH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SPANISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_spanish
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_spanish(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SPANISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_SPANISH__) */
- #if defined(__MMI_MULTITAP_DANISH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_DANISH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_DANISH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DANISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_danish
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_danish(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DANISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- #if defined(__MMI_MULTITAP_POLISH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_POLISH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_POLISH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_POLISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_polish
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_polish(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_POLISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_POLISH__) */
- #if defined(__MMI_MULTITAP_FRENCH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_FRENCH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_FRENCH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FRENCH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_french
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_french(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FRENCH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #if defined(__MMI_MULTITAP_GERMAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_GERMAN
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_GERMAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GERMAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_german
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_german(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GERMAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_MULTITAP_ITALIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_ITALIAN
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_ITALIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ITALIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_italian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_italian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ITALIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_RUSSIAN
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_RUSSIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_russian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_russian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_BULGARIAN
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_BULGARIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_bulgarian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_bulgarian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_TURKISH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_TURKISH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_TURKISH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_TURKISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_turkish
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_turkish(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_TURKISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_PORTUGUESE
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_PORTUGUESE(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_PORTUGUESE;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_portuguese
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_portuguese(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_PORTUGUESE;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #if defined(__MMI_MULTITAP_HINDI__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_HINDI
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_HINDI(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_MULTITAP_HINDI;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_HINDI__) */
- /* PMT RAKESH START 20061006 */
- #if defined(__MMI_MULTITAP_MARATHI__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_MARATHI
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_MARATHI(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_MULTITAP_MARATHI;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_MARATHI__) */
- /* PMT RAKESH END 20061006 */
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_INDONESIAN
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_INDONESIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_INDONESIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_indonesian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_indonesian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_INDONESIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- #if defined(__MMI_MULTITAP_CZECH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_CZECH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_CZECH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CZECH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_czech
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_czech(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CZECH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- #if defined(__MMI_MULTITAP_MALAY__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_MALAY
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_MALAY(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_MALAY;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_malay
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_malay(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_MALAY;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_VIETNAMESE
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_VIETNAMESE(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_VIETNAMESE;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_vietnamese
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_vietnamese(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_VIETNAMESE;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- #if defined(__MMI_MULTITAP_FINNISH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_FINNISH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_FINNISH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FINNISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_finnish
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_finnish(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FINNISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_HUNGARIAN
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_HUNGARIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_HUNGARIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_hungarian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_hungarian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_HUNGARIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- #if defined(__MMI_MULTITAP_SLOVAK__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_SLOVAK
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_SLOVAK(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVAK;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_slovak
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_slovak(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVAK;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_DUTCH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_DUTCH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DUTCH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_dutch
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_dutch(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DUTCH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- #if defined(__MMI_MULTITAP_ARABIC__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_arabic
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_arabic(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_ARABIC;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_ARABIC__) */
- //PMT START PERSIAN
- #if defined(__MMI_MULTITAP_PERSIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_arabic
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_persian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_PERSIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif
- //PMT END PERSIAN
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_NORWEGIAN
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_NORWEGIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_NORWEGIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_norwegian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_norwegian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_NORWEGIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- #if defined(__MMI_MULTITAP_SWEDISH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_SWEDISH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_SWEDISH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SWEDISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_swedish
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_swedish(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SWEDISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_CROATIAN
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_CROATIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CROATIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_croatian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_croatian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CROATIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_ROMANIAN
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_ROMANIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ROMANIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_romanian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_romanian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ROMANIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_HEBREW__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_hebrew
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_hebrew(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_MMI_MULTITAP_HEBREW;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_HEBREW__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_SLOVENIAN
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_SLOVENIAN(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVENIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_slovenian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_slovenian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVENIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- #if defined(__MMI_MULTITAP_GREEK__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_GREEK
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_GREEK(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GREEK;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_multitap_greek
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_multitap_greek(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GREEK;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- #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
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_smart_ABC
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_smart_ABC(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_ABC;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_smart_abc
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_smart_abc(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_ABC;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_tr_bpmf
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_tr_bpmf(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_TR_BOPOMO;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_tr_stroke
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_tr_stroke(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_TR_STROKE;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_sm_pinyin
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_sm_pinyin(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SM_PINYIN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_sm_stroke
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_sm_stroke(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SM_STROKE;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_tr_multitap_bpmf
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_tr_multitap_bpmf(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_TR_MULTITAP_BOPOMO;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_sm_multitap_pinyin
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_sm_multitap_pinyin(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SM_MULTITAP_PINYIN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_smart_arabic
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_smart_arabic(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_ARABIC;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- //PMT START PERSIAN
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_smart_persian
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_smart_persian(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_PERSIAN;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- //PMT END PERSIAN
- /* PMT VIKAS GUPTA START 20051129 */
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_smart_hindi
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_smart_hindi(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_HINDI;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_smart_hebrew
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_smart_hebrew(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_HEBREW;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_smart_thai
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_smart_thai(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_THAI;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #if defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_smart_SPANISH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_smart_SPANISH(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_SPANISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_smart_spanish
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void wgui_EMS_inputbox_change_input_mode_smart_spanish(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_SPANISH;
- wgui_EMS_inputbox_input_mode_changed = 1;
- }
- #endif /* defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) */
- #if defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__)
- /*****************************************************************************
- * FUNCTION
- * wgui_EMS_inputbox_change_input_mode_smart_DANISH
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS