CommonScreens.c
资源名称:mmi.rar [点击查看]
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:247k
源码类别:
MTK
开发平台:
C/C++
- /*****************************************************************************
- * Copyright Statement:
- * --------------------
- * This software is protected by Copyright and the information contained
- * herein is confidential. The software may not be copied and the information
- * contained herein may not be used or disclosed except with the written
- * permission of MediaTek Inc. (C) 2005
- *
- * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
- * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
- * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
- * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
- * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
- * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
- * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
- * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
- * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
- * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
- *
- * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
- * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
- * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
- * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
- * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
- *
- * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
- * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
- * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
- * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
- * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
- *
- *****************************************************************************/
- /*****************************************************************************
- *
- * Filename:
- * ---------
- * commonscreens.c
- *
- * Project:
- * --------
- * Maui_Software
- *
- * Description:
- * ------------
- * for input method menu and symbol picker screen
- *
- *
- * Author:
- * -------
- * -------
- *
- *============================================================================
- * HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *------------------------------------------------------------------------------
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *============================================================================
- ****************************************************************************/
- /**
- * Copyright Notice
- * (c) 2002 - 2003, Pixtel Communications, Inc., 1489 43rd Ave. W.,
- * Vancouver, B.C. V6M 4K8 Canada. All Rights Reserved.
- * (It is illegal to remove this copyright notice from this software or any
- * portion of it)
- */
- /**************************************************************
- FILENAME : CommonScreens.c
- PURPOSE : Common screens used by applications
- REMARKS :
- AUTHOR : manju
- DATE : Aug-06-2003
- **************************************************************/
- #include "MMI_features.h"
- /* MTK Leo add */
- #include "GlobalMenuItems.h"
- /* MTK Leo end */
- #include "CommonScreens.h"
- #include "TimerEvents.h"
- #include "KeyBrd.h"
- #include "ProfileGprots.h"
- #include "GlobalDefs.h"
- #include "wgui_categories_inputs.h"
- #include "wgui_categories_popup.h"
- #include "EventsGprot.h"
- /* START VIJAY PMT 20050725 */
- #include "gui_ems.h"
- #include "hf_rules.h"
- //END VIJAY PMT 20050725
- // __CUSTPACK_MULTIBIN Terry BEGIN
- #include "IMERes.h"
- #include "DebugInitDef.h"
- extern const sIMEModeDetails *gIMEModeArray;
- extern const sIMEModeDetails *gIMEQSearchModeArray;
- /* __CUSTPACK_MULTIBIN Terry END */
- // #include "wgui_categories_popup.h"
- #include "SubLCDHistoryGProt.h"
- extern void leave_full_screen(void);
- extern BOOL IsMyTimerExist(U16 nTimerId);
- void (*InputMethodScreenCloseFunction) (void) = UI_dummy_function;
- void (*SavedInputMethodScreenCloseFunction) (void) = UI_dummy_function;
- S16 saved_MMI_current_input_type = 0;
- U16 gInputMethodAndDoneCaptionIcon = 0;
- extern void goto_demo_under_construction(void);
- extern S16 MMI_current_input_type;
- static U8 is_popup_allow = POPUP_ALL_ON; /* it can be POPUP_ALL_OFF, POPUP_DSPL_ON, POPUP_TONE_ON, or POPUP_ALL_ON */
- /* MTK elvis */
- #ifdef __MMI_T9__
- extern void T9SynT9WithInputBox(void);
- #elif defined __MMI_ZI__
- extern void ZiDisplay(void);
- //KP Jerry add on 2007-3-8 start
- #elif defined __MMI_CSTAR__
- extern void CstarDisplay(void);
- //KP Jerry add on 2007-3-8 end
- #elif defined __MMI_KA__
- extern void KonkaDisplay(void);
- #elif defined __MMI_ITAP__
- /* under construction !*/
- #endif
- extern void TurnOnBacklight(U8 TimerFlag); /* 042505 Calvin added */
- /* MTK end */
- U8 popupToneId = 0; /* 121605 popup tone Calvin */
- /* START PMTFARHAD 20050224 */
- /* PMT START PERSIAN */
- #if defined __MMI_LANG_HINDI__ && (defined __MMI_LANG_ARABIC__ || defined __MMI_LANG_PERSIAN__)
- /* PMT END PERSIAN */
- extern S32 HINDI_PRESENT;
- extern S32 ARABIC_PRESENT;
- #endif /* defined __MMI_LANG_HINDI__ && (defined __MMI_LANG_ARABIC__ || defined __MMI_LANG_PERSIAN__) */
- /* END PMTFARHAD 20050224 */
- /* START VIJAY PMT 20050725 */
- #if defined (__MMI_MULTITAP_HINDI__)
- extern UI_character_type gui_EMS_current_character(UI_EMS_input_box *b);
- extern UI_EMS_input_box MMI_EMS_inputbox;
- #endif /* defined (__MMI_MULTITAP_HINDI__) */
- /* END VIJAY PMT 20050725 */
- #define NUMBER_OF_INPUT_METHODS INPUT_MODE_MAX_NUM
- FuncPtr preHandleInputMethodLSKFuncPtrs[NUMBER_OF_INPUT_METHODS];
- FuncPtr postHandleInputMethodLSKFuncPtrs[NUMBER_OF_INPUT_METHODS];
- //Ailsa : flag to record if the input box is INPUT_TYPE_ALPHANUMERIC_PASSWORD
- extern MMI_BOOL mmi_is_alphanum_pass;
- extern U8 wgui_singleline_inputbox_input_mode_changed;
- extern U8 wgui_singleline_inputbox_input_type;
- extern void wgui_change_inputbox_mode_quick_search_numeric(void);
- extern void wgui_change_inputbox_mode_quick_search_abc(void);
- /* MTK Terry for Spanish French German Italian Russian Turkish Portuguese */
- #if defined(__MMI_MULTITAP_SPANISH__)
- extern void wgui_change_inputbox_mode_quick_search_spanish(void);
- #endif
- /* PMT VIKASG START 20050729 */
- #if defined(__MMI_MULTITAP_DANISH__)
- extern void wgui_change_inputbox_mode_quick_search_danish(void);
- #endif
- //PMT VIKASG END 20050729
- //PMT CZ_PO_TU START 20050812
- #if defined(__MMI_MULTITAP_POLISH__)
- extern void wgui_change_inputbox_mode_quick_search_polish(void);
- #endif
- /* PMT CZ_PO_TU END 20050812 */
- #if defined(__MMI_MULTITAP_FRENCH__)
- extern void wgui_change_inputbox_mode_quick_search_french(void);
- #endif
- #if defined(__MMI_MULTITAP_GERMAN__)
- extern void wgui_change_inputbox_mode_quick_search_german(void);
- #endif
- #if defined(__MMI_MULTITAP_ITALIAN__)
- extern void wgui_change_inputbox_mode_quick_search_italian(void);
- #endif
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- extern void wgui_change_inputbox_mode_quick_search_russian(void);
- #endif
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- extern void wgui_change_inputbox_mode_quick_search_bulgarian(void);
- #endif
- #if defined(__MMI_MULTITAP_TURKISH__)
- extern void wgui_change_inputbox_mode_quick_search_turkish(void);
- #endif
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- extern void wgui_change_inputbox_mode_quick_search_portuguese(void);
- #endif
- #if defined(__MMI_MULTITAP_HINDI__)
- extern void wgui_change_inputbox_mode_quick_search_HINDI(void);
- #endif
- #if defined(__MMI_MULTITAP_MARATHI__)
- extern void wgui_change_inputbox_mode_quick_search_MARATHI(void);
- #endif
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- extern void wgui_change_inputbox_mode_quick_search_indonesian(void);
- #endif
- /* PMT CZ_PO_TU START 20050812 */
- #if defined(__MMI_MULTITAP_CZECH__)
- extern void wgui_change_inputbox_mode_quick_search_czech(void);
- #endif
- /* PMT CZ_PO_TU END 20050812 */
- #if defined(__MMI_MULTITAP_MALAY__)
- extern void wgui_change_inputbox_mode_quick_search_malay(void);
- #endif
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- extern void wgui_change_inputbox_mode_quick_search_vietnamese(void);
- #endif
- /* PMT START HU_FI 20050825 */
- #if defined(__MMI_MULTITAP_FINNISH__)
- extern void wgui_change_inputbox_mode_quick_search_finnish(void);
- #endif
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- extern void wgui_change_inputbox_mode_quick_search_hungarian(void);
- #endif
- //PMT END HU_FI 20050825
- //MTK Add Steven 2005.0621
- #if defined(__MMI_MULTITAP_THAI__)
- extern void wgui_change_inputbox_mode_quick_search_thai(void);
- #endif
- /* PMT START GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_MULTITAP_HEBREW__)
- extern void wgui_change_inputbox_mode_quick_search_hebrew(void);
- #endif
- //PMT END GR_HE_CZ_FI_DA_HU 20051007
- //PMT NO_AR_SL_DU START 20050909
- #if defined(__MMI_MULTITAP_SLOVAK__)
- extern void wgui_change_inputbox_mode_quick_search_slovak(void);
- #endif
- #if defined(__MMI_MULTITAP_DUTCH__)
- extern void wgui_change_inputbox_mode_quick_search_dutch(void);
- #endif
- /* Norwegian start */
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- extern void wgui_change_inputbox_mode_quick_search_norwegian(void);
- #endif
- /* Norwegian end */
- #if defined(__MMI_MULTITAP_ARABIC__)
- extern void wgui_change_inputbox_mode_quick_search_arabic(void);
- #endif
- /* PMT START PERSIAN */
- #if defined(__MMI_MULTITAP_PERSIAN__)
- extern void wgui_change_inputbox_mode_quick_search_persian(void);
- #endif
- //PMT END PERSIAN
- //PMT NO_AR_SL_DU END 20050909
- //MTK End
- /* PMT START SWEDISH 20050916 */
- #if defined(__MMI_MULTITAP_SWEDISH__)
- extern void wgui_change_inputbox_mode_quick_search_swedish(void);
- #endif
- /* PMT END SWEDISH 20050916 */
- /* PMT START CR_ROM_SLO 20050923 */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- extern void wgui_change_inputbox_mode_quick_search_croatian(void);
- #endif
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- extern void wgui_change_inputbox_mode_quick_search_romanian(void);
- #endif
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- extern void wgui_change_inputbox_mode_quick_search_slovenian(void);
- #endif
- //PMT END CR_ROM_SLO 20050923
- //PMT START GR_HE_CZ_FI_DA_HU 20051007
- #if defined(__MMI_MULTITAP_GREEK__)
- extern void wgui_change_inputbox_mode_quick_search_greek(void);
- #endif
- /* PMT END GR_HE_CZ_FI_DA_HU 20051007 */
- //MTK end
- //MTK Elvis
- #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
- extern void wgui_change_inputbox_mode_quick_search_tr_stroke(void);
- extern void wgui_change_inputbox_mode_quick_search_sm_stroke(void);
- extern void wgui_change_inputbox_mode_tr_quick_search_multitap_bpmf(void);
- extern void wgui_change_inputbox_mode_quick_search_sm_multitap_pinyin(void);
- #endif /* defined (__MMI_T9__) || defined (__MMI_ZI__) || defined(__MMI_KA__) || defined(__MMI_ITAP__) || defined(__MMI_CSTAR__) */ //KP Jerry add "__MMI_CSTAR__" on 2007-3-8
- const U16 gIndexIconsImageList[] =
- {
- IMG_GLOBAL_L1,
- IMG_GLOBAL_L2,
- IMG_GLOBAL_L3,
- IMG_GLOBAL_L4,
- IMG_GLOBAL_L5,
- IMG_GLOBAL_L6,
- IMG_GLOBAL_L7,
- IMG_GLOBAL_L8,
- IMG_GLOBAL_L9,
- IMG_GLOBAL_L10,
- IMG_GLOBAL_L11,
- IMG_GLOBAL_L12,
- IMG_GLOBAL_L13,
- IMG_GLOBAL_L14,
- IMG_GLOBAL_L15,
- IMG_GLOBAL_L16,
- IMG_GLOBAL_L17,
- IMG_GLOBAL_L18,
- IMG_GLOBAL_L19,
- IMG_GLOBAL_L20,
- IMG_GLOBAL_L21,
- IMG_GLOBAL_L22,
- IMG_GLOBAL_L23,
- IMG_GLOBAL_L24,
- IMG_GLOBAL_L25,
- IMG_GLOBAL_L26,
- IMG_GLOBAL_L27,
- IMG_GLOBAL_L28,
- IMG_GLOBAL_L29,
- IMG_GLOBAL_L30
- };
- /* MTK Terry : Multitap for Star and Pound */
- /*****************************************************************************
- * FUNCTION
- * SetSavedQuickSearchInputType
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void SetSavedQuickSearchInputType(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- switch (saved_MMI_current_input_type & INPUT_TYPE_MASK)
- {
- case INPUT_TYPE_MMI_NUMERIC:
- wgui_change_inputbox_mode_quick_search_numeric();
- break;
- case INPUT_TYPE_MMI_LOWERCASE_ABC:
- wgui_change_inputbox_mode_quick_search_abc();
- break;
- /* MTK Terry for Spanish French German Italian Russian Turkish Portuguese */
- #if defined(__MMI_MULTITAP_SPANISH__)
- case INPUT_TYPE_MMI_LOWERCASE_SPANISH:
- wgui_change_inputbox_mode_quick_search_spanish();
- break;
- #endif /* defined(__MMI_MULTITAP_SPANISH__) */
- /* PMT VIKASG START 20050729 */
- #if defined(__MMI_MULTITAP_DANISH__)
- case INPUT_TYPE_MMI_LOWERCASE_DANISH:
- wgui_change_inputbox_mode_quick_search_danish();
- break;
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- //PMT VIKASG END 20050729
- //PMT CZ_PO_TU START 20050812
- #if defined(__MMI_MULTITAP_POLISH__)
- case INPUT_TYPE_MMI_LOWERCASE_POLISH:
- wgui_change_inputbox_mode_quick_search_polish();
- break;
- #endif /* defined(__MMI_MULTITAP_POLISH__) */
- /* PMT CZ_PO_TU END 20050812 */
- #if defined(__MMI_MULTITAP_FRENCH__)
- case INPUT_TYPE_MMI_LOWERCASE_FRENCH:
- wgui_change_inputbox_mode_quick_search_french();
- break;
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #if defined(__MMI_MULTITAP_GERMAN__)
- case INPUT_TYPE_MMI_LOWERCASE_GERMAN:
- wgui_change_inputbox_mode_quick_search_german();
- break;
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_MULTITAP_ITALIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_ITALIAN:
- wgui_change_inputbox_mode_quick_search_italian();
- break;
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_RUSSIAN:
- wgui_change_inputbox_mode_quick_search_russian();
- break;
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_BULGARIAN:
- wgui_change_inputbox_mode_quick_search_bulgarian();
- break;
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_TURKISH__)
- case INPUT_TYPE_MMI_LOWERCASE_TURKISH:
- wgui_change_inputbox_mode_quick_search_turkish();
- break;
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- case INPUT_TYPE_MMI_LOWERCASE_PORTUGUESE:
- wgui_change_inputbox_mode_quick_search_portuguese();
- break;
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #if defined(__MMI_MULTITAP_HINDI__)
- case INPUT_TYPE_MULTITAP_HINDI:
- wgui_change_inputbox_mode_quick_search_HINDI();
- break;
- #endif /* defined(__MMI_MULTITAP_HINDI__) */
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_INDONESIAN:
- wgui_change_inputbox_mode_quick_search_indonesian();
- break;
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- /* PMT CZ_PO_TU START 20050812 */
- #if defined(__MMI_MULTITAP_CZECH__)
- case INPUT_TYPE_MMI_LOWERCASE_CZECH:
- wgui_change_inputbox_mode_quick_search_czech();
- break;
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- /* PMT CZ_PO_TU END 20050812 */
- #if defined(__MMI_MULTITAP_MALAY__)
- case INPUT_TYPE_MMI_LOWERCASE_MALAY:
- wgui_change_inputbox_mode_quick_search_malay();
- break;
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- case INPUT_TYPE_MMI_LOWERCASE_VIETNAMESE:
- wgui_change_inputbox_mode_quick_search_vietnamese();
- break;
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- /* dara for multitap thai */
- #if defined(__MMI_MULTITAP_THAI__)
- case INPUT_TYPE_MMI_MULTITAP_THAI:
- wgui_change_inputbox_mode_quick_search_thai();
- break;
- #endif /* defined(__MMI_MULTITAP_THAI__) */
- /* PMT START GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_MULTITAP_HEBREW__)
- case INPUT_TYPE_MMI_MULTITAP_HEBREW:
- wgui_change_inputbox_mode_quick_search_hebrew();
- break;
- #endif /* defined(__MMI_MULTITAP_HEBREW__) */
- //PMT END GR_HE_CZ_FI_DA_HU 20051007
- //PMT START HU_FI 20050825
- #if defined(__MMI_MULTITAP_FINNISH__)
- case INPUT_TYPE_MMI_LOWERCASE_FINNISH:
- wgui_change_inputbox_mode_quick_search_finnish();
- break;
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_HUNGARIAN:
- wgui_change_inputbox_mode_quick_search_hungarian();
- break;
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- //PMT END HU_FI 20050825
- //PMT NO_AR_SL_DU START 20050909
- #if defined(__MMI_MULTITAP_SLOVAK__)
- case INPUT_TYPE_MMI_LOWERCASE_SLOVAK:
- wgui_change_inputbox_mode_quick_search_slovak();
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- case INPUT_TYPE_MMI_LOWERCASE_DUTCH:
- wgui_change_inputbox_mode_quick_search_dutch();
- break;
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- #if defined(__MMI_MULTITAP_ARABIC__)
- case INPUT_TYPE_MMI_MULTITAP_ARABIC:
- wgui_change_inputbox_mode_quick_search_arabic();
- break;
- #endif /* defined(__MMI_MULTITAP_ARABIC__) */
- /* PMT START PERSIAN */
- #if defined(__MMI_MULTITAP_PERSIAN__)
- case INPUT_TYPE_MMI_MULTITAP_PERSIAN:
- wgui_change_inputbox_mode_quick_search_persian();
- break;
- #endif /* defined(__MMI_MULTITAP_PERSIAN__) */
- /* PMT END PERSIAN */
- /* Norwegian start */
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_NORWEGIAN:
- wgui_change_inputbox_mode_quick_search_norwegian();
- break;
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- //Norwegian end
- //PMT NO_AR_SL_DU END 20050909
- //PMT START SWEDISH 20050916
- #if defined(__MMI_MULTITAP_SWEDISH__)
- case INPUT_TYPE_MMI_LOWERCASE_SWEDISH:
- wgui_change_inputbox_mode_quick_search_swedish();
- break;
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- /* PMT END SWEDISH 20050916 */
- /* PMT START CR_ROM_SLO 20050923 */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_CROATIAN:
- wgui_change_inputbox_mode_quick_search_croatian();
- break;
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_ROMANIAN:
- wgui_change_inputbox_mode_quick_search_romanian();
- break;
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_SLOVENIAN:
- wgui_change_inputbox_mode_quick_search_slovenian();
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- /* PMT END CR_ROM_SLO 20050923 */
- /* PMT START GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_MULTITAP_GREEK__)
- case INPUT_TYPE_MMI_LOWERCASE_GREEK:
- wgui_change_inputbox_mode_quick_search_greek();
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- //PMT END GR_HE_CZ_FI_DA_HU 20051007
- //MTK end
- //MTK Elvis
- #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
- //KP Jerry modify on 2007-4-18 start
- #ifdef __MMI_LANG_TR_CHINESE__ //KP Jerry add on 2007-4-17
- case INPUT_TYPE_MMI_MULTITAP_BPMF: /* mulitap bopomofo */
- wgui_change_inputbox_mode_tr_quick_search_multitap_bpmf();
- break;
- case INPUT_TYPE_MMI_TR_STROKE: /* tr stroke */
- wgui_change_inputbox_mode_quick_search_tr_stroke();
- break;
- #endif/*__MMI_LANG_TR_CHINESE__*/ //KP Jerry add on 2007-4-17
- #ifdef __MMI_LANG_SM_CHINESE__ //KP Jerry add on 2007-4-17
- case INPUT_TYPE_MMI_MULTITAP_PINYIN: /* multitap pinyin */
- wgui_change_inputbox_mode_quick_search_sm_multitap_pinyin();
- break;
- case INPUT_TYPE_MMI_SM_STROKE: /* sm stroke */
- wgui_change_inputbox_mode_quick_search_sm_stroke();
- break;
- #endif/*__MMI_LANG_SM_CHINESE__*/ //KP Jerry add on 2007-4-17
- //KP Jerry modify on 2007-4-18 end
- #endif /* defined (__MMI_T9__) || defined (__MMI_ZI__) || defined(__MMI_KA__) || defined(__MMI_ITAP__) || defined(__MMI_CSTAR__) */ //KP Jerry add "__MMI_CSTAR__" on 2007-3-8
- /* MTK end */
- }
- }
- extern void (*wgui_inline_edit_DONE_function) (void);
- void (*wgui_common_screen_inline_edit_DONE_function) (void);
- void mmi_frm_go_back_2_history(void);
- /*****************************************************************************
- * FUNCTION
- * HighlightInLineMultilineEditorOption
- * DESCRIPTION
- *
- * PARAMETERS
- * nIndex [IN]
- * RETURNS
- * void
- *****************************************************************************/
- void HighlightInLineMultilineEditorOption(S32 nIndex)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- switch (nIndex)
- {
- case 0:
- ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
- ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
- SetLeftSoftkeyFunction(wgui_common_screen_inline_edit_DONE_function, KEY_EVENT_UP);
- SetKeyHandler(wgui_common_screen_inline_edit_DONE_function, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
- SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- break;
- case 1:
- ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
- ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
- SetLeftSoftkeyFunction(EntryInputMethodScreen, KEY_EVENT_UP);
- SetKeyHandler(EntryInputMethodScreen, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
- SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- RegisterInputMethodScreenCloseFunction(mmi_frm_go_back_2_history);
- break;
- default:
- break;
- }
- }
- /*****************************************************************************
- * FUNCTION
- * EntryInLineMultilineEditorOption
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void EntryInLineMultilineEditorOption(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U16 nStrItemList[2]; /* Stores the strings id of submenus returned */
- U16 nNumofItem; /* Stores no of children in the submenu */
- U8 *guiBuffer; /* Buffer holding history data */
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- if (wgui_inline_edit_DONE_function)
- {
- wgui_common_screen_inline_edit_DONE_function = wgui_inline_edit_DONE_function;
- }
- /* 1 Call Exit Handler */
- EntryNewScreen(SCR_IN_LINE_MULTI_LINE_INPUT_METHOD_AND_DONE, ExitInLineMultilineEditorOption, NULL, NULL);
- /* 2 Get current screen to gui buffer for history purposes */
- guiBuffer = GetCurrGuiBuffer(SCR_IN_LINE_MULTI_LINE_INPUT_METHOD_AND_DONE);
- /* 3. Retrieve no of child of menu item to be displayed */
- nNumofItem = GetNumOfChild(MENU_INPUT_METHOD_AND_DONE_OPTION_ID);
- /* 5. Retrieve string ids in sequence of given menu item to be displayed */
- GetSequenceStringIds(MENU_INPUT_METHOD_AND_DONE_OPTION_ID, nStrItemList);
- /* 6 Set current parent id */
- SetParentHandler(MENU_INPUT_METHOD_AND_DONE_OPTION_ID);
- /* 7 Register highlight handler to be called in menu screen */
- RegisterHighlightHandler(HighlightInLineMultilineEditorOption);
- /* 8 Display Category Screen */
- ShowCategory52Screen(
- STR_GLOBAL_OPTIONS,
- gInputMethodAndDoneCaptionIcon,
- STR_GLOBAL_OK,
- IMG_GLOBAL_OK,
- STR_GLOBAL_BACK,
- IMG_GLOBAL_BACK,
- nNumofItem,
- nStrItemList,
- (PU16) gIndexIconsImageList,
- NULL,
- 0,
- 0,
- guiBuffer);
- /* 9.Register function with right softkey */
- SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
- SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- /* 10. Register Exit handler */
- }
- /*****************************************************************************
- * FUNCTION
- * ExitInLineMultilineEditorOption
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void ExitInLineMultilineEditorOption(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- history currHistory;
- S16 ucs2InputBuffer = 0;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- currHistory.scrnID = SCR_IN_LINE_MULTI_LINE_INPUT_METHOD_AND_DONE;
- currHistory.entryFuncPtr = EntryInLineMultilineEditorOption;
- pfnUnicodeStrcpy((S8*) currHistory.inputBuffer, (S8*) & ucs2InputBuffer);
- GetCategoryHistory(currHistory.guiBuffer);
- AddHistory(currHistory);
- }
- /*****************************************************************************
- * FUNCTION
- * QuickSearchInputMethodSetKeyHandler
- * DESCRIPTION
- *
- * PARAMETERS
- * preFuncPtrs [?]
- * postPtrs [?]
- * IMEQSearchModeArray [IN]
- * RETURNS
- *
- *****************************************************************************/
- U32 QuickSearchInputMethodSetKeyHandler(
- FuncPtr *preFuncPtrs,
- FuncPtr *postPtrs,
- const sIMEModeDetails *IMEQSearchModeArray)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- int i = 0;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- for (;;)
- {
- switch (IMEQSearchModeArray[i].IME_Mode_ID)
- {
- case INPUT_MODE_MMI_LOWERCASE_ABC:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_abc;
- break;
- #if defined(__MMI_MULTITAP_SPANISH__)
- case INPUT_MODE_MMI_LOWERCASE_SPANISH:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_spanish;
- break;
- #endif /* defined(__MMI_MULTITAP_SPANISH__) */
- /* PMT VIKASG START 20050729 */
- #if defined(__MMI_MULTITAP_DANISH__)
- case INPUT_MODE_MMI_LOWERCASE_DANISH:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_danish;
- break;
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- //PMT VIKASG END 20050729
- //PMT CZ_PO_TU START 20050812
- #if defined(__MMI_MULTITAP_POLISH__)
- case INPUT_MODE_MMI_LOWERCASE_POLISH:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_polish;
- break;
- #endif /* defined(__MMI_MULTITAP_POLISH__) */
- /* PMT CZ_PO_TU END 20050812 */
- #if defined(__MMI_MULTITAP_FRENCH__)
- case INPUT_MODE_MMI_LOWERCASE_FRENCH:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_french;
- break;
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #if defined(__MMI_MULTITAP_GERMAN__)
- case INPUT_MODE_MMI_LOWERCASE_GERMAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_german;
- break;
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_MULTITAP_ITALIAN__)
- case INPUT_MODE_MMI_LOWERCASE_ITALIAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_italian;
- break;
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- case INPUT_MODE_MMI_LOWERCASE_RUSSIAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_russian;
- break;
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- case INPUT_MODE_MMI_LOWERCASE_BULGARIAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_bulgarian;
- break;
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_TURKISH__)
- case INPUT_MODE_MMI_LOWERCASE_TURKISH:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_turkish;
- break;
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- case INPUT_MODE_MMI_LOWERCASE_PORTUGUESE:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_portuguese;
- break;
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- case INPUT_MODE_MMI_LOWERCASE_INDONESIAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_indonesian;
- break;
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- /* PMT CZ_PO_TU START 20050812 */
- #if defined(__MMI_MULTITAP_CZECH__)
- case INPUT_MODE_MMI_LOWERCASE_CZECH:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_czech;
- break;
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- /* PMT CZ_PO_TU END 20050812 */
- #if defined(__MMI_MULTITAP_MALAY__)
- case INPUT_MODE_MMI_LOWERCASE_MALAY:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_malay;
- break;
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- case INPUT_MODE_MMI_LOWERCASE_VIETNAMESE:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_vietnamese;
- break;
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- /* PMT START HU_FI 20050825 */
- #if defined(__MMI_MULTITAP_FINNISH__)
- case INPUT_MODE_MMI_LOWERCASE_FINNISH:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_finnish;
- break;
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- case INPUT_MODE_MMI_LOWERCASE_HUNGARIAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_hungarian;
- break;
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- //PMT END HU_FI 20050825
- //PMT NO_AR_SL_DU START 20050909
- #if defined(__MMI_MULTITAP_SLOVAK__)
- case INPUT_MODE_MMI_LOWERCASE_SLOVAK:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_slovak;
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- case INPUT_MODE_MMI_LOWERCASE_DUTCH:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_dutch;
- break;
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- //PMT NO_AR_SL_DU END 20050909
- //PMT START SWEDISH 20050916
- #if defined(__MMI_MULTITAP_SWEDISH__)
- case INPUT_MODE_MMI_LOWERCASE_SWEDISH:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_swedish;
- break;
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- /* PMT END SWEDISH 20050916 */
- /* PMT START CR_ROM_SLO 20050923 */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- case INPUT_MODE_MMI_LOWERCASE_CROATIAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_croatian;
- break;
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- case INPUT_MODE_MMI_LOWERCASE_ROMANIAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_romanian;
- break;
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- case INPUT_MODE_MMI_LOWERCASE_SLOVENIAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_slovenian;
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- /* PMT END CR_ROM_SLO 20050923 */
- #if defined(__MMI_MULTITAP_HINDI__)
- case INPUT_MODE_MULTITAP_HINDI:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_HINDI;
- break;
- #endif /* defined(__MMI_MULTITAP_HINDI__) */
- /* PMT START GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_MULTITAP_HEBREW__)
- case INPUT_MODE_MMI_MULTITAP_HEBREW:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_hebrew;
- break;
- #endif /* defined(__MMI_MULTITAP_HEBREW__) */
- //PMT END GR_HE_CZ_FI_DA_HU 20051007
- //PMT NO_AR_SL_DU START 20050909
- #if defined(__MMI_MULTITAP_ARABIC__)
- case INPUT_MODE_MMI_MULTITAP_ARABIC:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_arabic;
- break;
- #endif /* defined(__MMI_MULTITAP_ARABIC__) */
- /* PMT START PERSIAN */
- #if defined(__MMI_MULTITAP_PERSIAN__)
- case INPUT_MODE_MMI_MULTITAP_PERSIAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_persian;
- break;
- #endif /* defined(__MMI_MULTITAP_PERSIAN__) */
- /* PMT END PERSIAN */
- /* Norwegian start */
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- case INPUT_MODE_MMI_LOWERCASE_NORWEGIAN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_norwegian;
- break;
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- //Norwegian end
- //PMT NO_AR_SL_DU END 20050909
- //PMT START GR_HE_CZ_FI_DA_HU 20051007
- #if defined(__MMI_MULTITAP_GREEK__)
- case INPUT_MODE_MMI_LOWERCASE_GREEK:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_greek;
- break;
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- /* PMT END GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_T9_TR_CHINESE__) || defined(__MMI_ZI_TR_CHINESE__) || defined(__MMI_CSTAR_TR_CHINESE__) || defined(__MMI_ITAP_TR_CHINESE__) //KP Jerry add "__MMI_CSTAR_TR_CHINESE__" on 2007-3-8
- case INPUT_MODE_MMI_MULTITAP_BPMF:
- preFuncPtrs[i] = wgui_change_inputbox_mode_tr_quick_search_multitap_bpmf;
- break;
- case INPUT_MODE_MMI_TR_STROKE:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_tr_stroke;
- break;
- #endif /* defined(__MMI_T9_TR_CHINESE__) || defined(__MMI_ZI_TR_CHINESE__) || defined(__MMI_CSTAR_TR_CHINESE__) || defined(__MMI_ITAP_TR_CHINESE__) */ //KP Jerry add "__MMI_CSTAR_TR_CHINESE__" on 2007-3-8
- #if defined(__MMI_T9_SM_CHINESE__) || defined(__MMI_ZI_SM_CHINESE__) || defined(__MMI_CSTAR_SM_CHINESE__) || defined(__MMI_ITAP_SM_CHINESE__) //KP Jerry add "__MMI_CSTAR_SM_CHINESE__" on 2007-3-8
- case INPUT_MODE_MMI_MULTITAP_PINYIN:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_sm_multitap_pinyin;
- break;
- case INPUT_MODE_MMI_SM_STROKE:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_sm_stroke;
- break;
- #endif /* defined(__MMI_T9_SM_CHINESE__) || defined(__MMI_ZI_SM_CHINESE__) || defined(__MMI_CSTAR_SM_CHINESE__) || defined(__MMI_ITAP_SM_CHINESE__) */ //KP Jerry add "__MMI_CSTAR_SM_CHINESE__" on 2007-3-8
- case INPUT_MODE_MMI_NUMERIC:
- preFuncPtrs[i] = wgui_change_inputbox_mode_quick_search_numeric;
- break;
- case (0xff):
- break;
- default:
- MMI_ASSERT(0);
- }
- if ((0xff) != IMEQSearchModeArray[i].IME_Mode_ID)
- {
- postPtrs[i] = InputMethodScreenCloseFunction;
- i++;
- }
- else
- {
- break;
- }
- }
- return i;
- }
- /*****************************************************************************
- * FUNCTION
- * QuickSearchInputMethodScreenHandleLSK
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void QuickSearchInputMethodScreenHandleLSK(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U32 i;
- FuncPtr currPreFuncPtr = NULL;
- FuncPtr currPostFuncPtr = NULL;
- S32 index = GetHighlightedItem();
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- /* MTK Elvis multitap phonetic input mode */
- i = 0;
- i = QuickSearchInputMethodSetKeyHandler(
- preHandleInputMethodLSKFuncPtrs,
- postHandleInputMethodLSKFuncPtrs,
- gIMEQSearchModeArray);
- postHandleInputMethodLSKFuncPtrs[i] = UI_dummy_function;
- preHandleInputMethodLSKFuncPtrs[i++] = EntrySymbolPickerScreen;
- currPreFuncPtr = preHandleInputMethodLSKFuncPtrs[index];
- currPostFuncPtr = postHandleInputMethodLSKFuncPtrs[index];
- if (currPreFuncPtr != NULL)
- {
- (*currPreFuncPtr) ();
- }
- if (currPostFuncPtr != NULL)
- {
- (*currPostFuncPtr) ();
- }
- /* MTK end */
- }
- /*****************************************************************************
- * FUNCTION
- * QuickSearchInputMethodScreenHandleRSK
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void QuickSearchInputMethodScreenHandleRSK(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- SetSavedQuickSearchInputType();
- GoBackHistory();
- }
- /*****************************************************************************
- * FUNCTION
- * EntryQuickSearchInputMethodScreen
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void EntryQuickSearchInputMethodScreen(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U8 *guiBuffer;
- int nNumofItem = 0, i = 0;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- void (*LSK_handler) (void);
- U16 nStrItemList[INPUT_MODE_MAX_NUM];
- for (;;)
- {
- if (((0xff) != gIMEQSearchModeArray[i].IME_Mode_ID) && (0 != gIMEQSearchModeArray[i].Common_Screen_StringID))
- {
- nStrItemList[nNumofItem] = gIMEQSearchModeArray[i].Common_Screen_StringID;
- nNumofItem++;
- }
- else
- {
- break;
- }
- i++;
- }
- EntryNewScreen(SCR_QUICK_SEARCH_INPUT_METHOD_LIST, ExitQuickSearchInputMethodScreen, NULL, NULL);
- LSK_handler = QuickSearchInputMethodScreenHandleLSK;
- saved_MMI_current_input_type = MMI_current_input_type;
- guiBuffer = GetCurrGuiBuffer(SCR_QUICK_SEARCH_INPUT_METHOD_LIST);
- if (guiBuffer != NULL)
- {
- InputMethodScreenCloseFunction = SavedInputMethodScreenCloseFunction;
- }
- ShowCategory15Screen(
- STR_GLOBAL_INPUT_METHOD,
- 0,
- STR_GLOBAL_OK,
- IMG_GLOBAL_OK,
- STR_GLOBAL_BACK,
- IMG_GLOBAL_BACK,
- nNumofItem,
- nStrItemList,
- (PU16) gIndexIconsImageList,
- LIST_MENU,
- 0,
- guiBuffer);
- SetLeftSoftkeyFunction(LSK_handler, KEY_EVENT_UP);
- SetRightSoftkeyFunction(QuickSearchInputMethodScreenHandleRSK, KEY_EVENT_UP);
- SetKeyHandler(LSK_handler, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(QuickSearchInputMethodScreenHandleRSK, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- }
- /*****************************************************************************
- * FUNCTION
- * ExitQuickSearchInputMethodScreen
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void ExitQuickSearchInputMethodScreen(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- history h;
- S16 nHistory = 0;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- SavedInputMethodScreenCloseFunction = InputMethodScreenCloseFunction;
- h.scrnID = SCR_QUICK_SEARCH_INPUT_METHOD_LIST;
- h.entryFuncPtr = EntryQuickSearchInputMethodScreen;
- pfnUnicodeStrcpy((S8*) h.inputBuffer, (S8*) & nHistory);
- GetCategoryHistory(h.guiBuffer);
- AddHistory(h);
- }
- /*****************************************************************************
- * FUNCTION
- * SetSavedInputType
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void SetSavedInputType(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- switch (saved_MMI_current_input_type & INPUT_TYPE_MASK)
- {
- case INPUT_TYPE_NUMERIC:
- case INPUT_TYPE_NUMERIC_CHANGEABLE:
- wgui_change_inputbox_mode_mode_numeric();
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE:
- wgui_change_inputbox_mode_multitap_ABC();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE:
- wgui_change_inputbox_mode_multitap_abc();
- break;
- /* PMT dara added for Multitap Thai */
- #if defined(__MMI_MULTITAP_THAI__)
- case INPUT_TYPE_ALPHANUMERIC_MULTITAP_THAI:
- wgui_change_inputbox_mode_multitap_thai();
- break;
- #endif /* defined(__MMI_MULTITAP_THAI__) */
- #if defined(__MMI_MULTITAP_SPANISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SPANISH:
- wgui_change_inputbox_mode_multitap_SPANISH();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SPANISH:
- wgui_change_inputbox_mode_multitap_spanish();
- break;
- #endif /* defined(__MMI_MULTITAP_SPANISH__) */
- /* PMT VIKASG START 20050729 */
- #if defined(__MMI_MULTITAP_DANISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DANISH:
- wgui_change_inputbox_mode_multitap_DANISH();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DANISH:
- wgui_change_inputbox_mode_multitap_danish();
- break;
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- //PMT VIKASG END 20050729
- //PMT CZ_PO_TU START 20050812
- #if defined(__MMI_MULTITAP_POLISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_POLISH:
- wgui_change_inputbox_mode_multitap_POLISH();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_POLISH:
- wgui_change_inputbox_mode_multitap_polish();
- break;
- #endif /* defined(__MMI_MULTITAP_POLISH__) */
- /* PMT CZ_PO_TU END 20050812 */
- #if defined(__MMI_MULTITAP_FRENCH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FRENCH:
- wgui_change_inputbox_mode_multitap_FRENCH();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FRENCH:
- wgui_change_inputbox_mode_multitap_french();
- break;
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #if defined(__MMI_MULTITAP_GERMAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GERMAN:
- wgui_change_inputbox_mode_multitap_GERMAN();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GERMAN:
- wgui_change_inputbox_mode_multitap_german();
- break;
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_MULTITAP_ITALIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ITALIAN:
- wgui_change_inputbox_mode_multitap_ITALIAN();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ITALIAN:
- wgui_change_inputbox_mode_multitap_italian();
- break;
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN:
- wgui_change_inputbox_mode_multitap_RUSSIAN();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN:
- wgui_change_inputbox_mode_multitap_russian();
- break;
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN:
- wgui_change_inputbox_mode_multitap_BULGARIAN();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN:
- wgui_change_inputbox_mode_multitap_bulgarian();
- break;
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_TURKISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_TURKISH:
- wgui_change_inputbox_mode_multitap_TURKISH();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_TURKISH:
- wgui_change_inputbox_mode_multitap_turkish();
- break;
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_PORTUGUESE:
- wgui_change_inputbox_mode_multitap_PORTUGUESE();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_PORTUGUESE:
- wgui_change_inputbox_mode_multitap_portuguese();
- break;
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #if defined(__MMI_MULTITAP_HINDI__)
- case INPUT_TYPE_MULTITAP_HINDI:
- wgui_change_inputbox_mode_multitap_HINDI();
- break;
- #endif /* defined(__MMI_MULTITAP_HINDI__) */
- #if defined(__MMI_MULTITAP_MARATHI__)
- case INPUT_TYPE_MULTITAP_MARATHI:
- wgui_change_inputbox_mode_multitap_MARATHI();
- break;
- #endif /* defined(__MMI_MULTITAP_MARATHI__) */
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_INDONESIAN:
- wgui_change_inputbox_mode_multitap_INDONESIAN();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_INDONESIAN:
- wgui_change_inputbox_mode_multitap_indonesian();
- break;
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- /* PMT CZ_PO_TU START 20050812 */
- #if defined(__MMI_MULTITAP_CZECH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CZECH:
- wgui_change_inputbox_mode_multitap_CZECH();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CZECH:
- wgui_change_inputbox_mode_multitap_czech();
- break;
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- /* PMT CZ_PO_TU END 20050812 */
- #if defined(__MMI_MULTITAP_MALAY__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_MALAY:
- wgui_change_inputbox_mode_multitap_MALAY();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_MALAY:
- wgui_change_inputbox_mode_multitap_malay();
- break;
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_VIETNAMESE:
- wgui_change_inputbox_mode_multitap_VIETNAMESE();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_VIETNAMESE:
- wgui_change_inputbox_mode_multitap_vietnamese();
- break;
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- /* PMT START HU_FI 20050825 */
- #if defined(__MMI_MULTITAP_FINNISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FINNISH:
- wgui_change_inputbox_mode_multitap_FINNISH();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FINNISH:
- wgui_change_inputbox_mode_multitap_finnish();
- break;
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_HUNGARIAN:
- wgui_change_inputbox_mode_multitap_HUNGARIAN();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_HUNGARIAN:
- wgui_change_inputbox_mode_multitap_hungarian();
- break;
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- //PMT END HU_FI 20050825
- //PMT NO_AR_SL_DU START 20050909
- #if defined(__MMI_MULTITAP_SLOVAK__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVAK:
- wgui_change_inputbox_mode_multitap_SLOVAK();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVAK:
- wgui_change_inputbox_mode_multitap_slovak();
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DUTCH:
- wgui_change_inputbox_mode_multitap_DUTCH();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DUTCH:
- wgui_change_inputbox_mode_multitap_dutch();
- break;
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- #if defined(__MMI_MULTITAP_ARABIC__)
- case INPUT_TYPE_ALPHANUMERIC_ARABIC:
- wgui_change_inputbox_mode_multitap_arabic();
- break;
- #endif /* defined(__MMI_MULTITAP_ARABIC__) */
- /* PMT START PERSIAN */
- #if defined(__MMI_MULTITAP_PERSIAN__)
- case INPUT_TYPE_ALPHANUMERIC_PERSIAN:
- wgui_change_inputbox_mode_multitap_persian();
- break;
- #endif /* defined(__MMI_MULTITAP_PERSIAN__) */
- /* PMT END PERSIAN */
- /* Norwegian start */
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_NORWEGIAN:
- wgui_change_inputbox_mode_multitap_NORWEGIAN();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_NORWEGIAN:
- wgui_change_inputbox_mode_multitap_norwegian();
- break;
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- //Norwegian end
- //PMT NO_AR_SL_DU END 20050909
- //PMT START SWEDISH 20050916
- #if defined(__MMI_MULTITAP_SWEDISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SWEDISH:
- wgui_change_inputbox_mode_multitap_SWEDISH();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SWEDISH:
- wgui_change_inputbox_mode_multitap_swedish();
- break;
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- /* PMT END SWEDISH 20050916 */
- /* PMT START CR_ROM_SLO 20050923 */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CROATIAN:
- wgui_change_inputbox_mode_multitap_CROATIAN();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CROATIAN:
- wgui_change_inputbox_mode_multitap_croatian();
- break;
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ROMANIAN:
- wgui_change_inputbox_mode_multitap_ROMANIAN();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ROMANIAN:
- wgui_change_inputbox_mode_multitap_romanian();
- break;
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVENIAN:
- wgui_change_inputbox_mode_multitap_SLOVENIAN();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVENIAN:
- wgui_change_inputbox_mode_multitap_slovenian();
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- /* PMT END CR_ROM_SLO 20050923 */
- /* PMT START GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_MULTITAP_HEBREW__)
- case INPUT_TYPE_ALPHANUMERIC_HEBREW:
- wgui_change_inputbox_mode_multitap_hebrew();
- break;
- #endif /* defined(__MMI_MULTITAP_HEBREW__) */
- #if defined(__MMI_MULTITAP_GREEK__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GREEK:
- wgui_change_inputbox_mode_multitap_GREEK();
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GREEK:
- wgui_change_inputbox_mode_multitap_greek();
- break;
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- /* PMT END GR_HE_CZ_FI_DA_HU 20051007 */
- #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
- case INPUT_TYPE_SMART_UPPERCASE_ABC:
- wgui_change_inputbox_mode_smart_ABC();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ABC:
- wgui_change_inputbox_mode_smart_abc();
- break;
- //KP Jerry modify on 2007-4-18 start
- #ifdef __MMI_LANG_TR_CHINESE__ //KP Jerry add on 2007-4-17
- case INPUT_TYPE_TR_MULTITAP_BOPOMO:
- wgui_change_inputbox_mode_tr_multitap_bpmf();
- break;
- case INPUT_TYPE_TR_BOPOMO:
- wgui_change_inputbox_mode_tr_bpmf();
- break;
- case INPUT_TYPE_TR_STROKE:
- wgui_change_inputbox_mode_tr_stroke();
- break;
- #endif/*__MMI_LANG_TR_CHINESE__*/ //KP Jerry add on 2007-4-17
- #ifdef __MMI_LANG_SM_CHINESE__ //KP Jerry add on 2007-4-17
- case INPUT_TYPE_SM_MULTITAP_PINYIN:
- wgui_change_inputbox_mode_sm_multitap_pinyin();
- break;
- case INPUT_TYPE_SM_PINYIN:
- wgui_change_inputbox_mode_sm_pinyin();
- break;
- case INPUT_TYPE_SM_STROKE:
- wgui_change_inputbox_mode_sm_stroke();
- break;
- #endif/*__MMI_LANG_SM_CHINESE__*/ //KP Jerry add on 2007-4-17
- //KP Jerry modify on 2007-4-18 end
- #if defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) || defined(__MMI_CSTAR_SPANISH__) //KP Jerry add "__MMI_CSTAR_SPANISH__" on 2007-3-8
- case INPUT_TYPE_SMART_UPPERCASE_SPANISH:
- wgui_change_inputbox_mode_smart_SPANISH();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SPANISH:
- wgui_change_inputbox_mode_smart_spanish();
- break;
- #endif /* defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) || defined(__MMI_CSTAR_SPANISH__) */ //KP Jerry add "__MMI_CSTAR_SPANISH__" on 2007-3-8
- /* PMT VIKASG START 20050729 */
- #if defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) || defined(__MMI_CSTAR_DANISH__) //KP Jerry add "__MMI_CSTAR_DANISH__" on 2007-3-8
- case INPUT_TYPE_SMART_UPPERCASE_DANISH:
- wgui_change_inputbox_mode_smart_DANISH();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_DANISH:
- wgui_change_inputbox_mode_smart_danish();
- break;
- #endif /* defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) || defined(__MMI_CSTAR_DANISH__) */ //KP Jerry add "__MMI_CSTAR_DANISH__" on 2007-3-8
- //PMT VIKASG END 20050729
- //PMT CZ_PO_TU START 20050812
- #if defined(__MMI_T9_POLISH__) || defined(__MMI_ZI_POLISH__) || defined(__MMI_CSTAR_POLISH__) //KP Jerry add "__MMI_CSTAR_POLISH__" on 2007-3-8
- case INPUT_TYPE_SMART_UPPERCASE_POLISH:
- wgui_change_inputbox_mode_smart_POLISH();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_POLISH:
- wgui_change_inputbox_mode_smart_polish();
- break;
- #endif /* defined(__MMI_T9_POLISH__) || defined(__MMI_ZI_POLISH__) || defined(__MMI_CSTAR_POLISH__) */ //KP Jerry add "__MMI_CSTAR_POLISH__" on 2007-4-14
- /* PMT CZ_PO_TU END 20050812 */
- #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-14
- case INPUT_TYPE_SMART_UPPERCASE_FRENCH:
- wgui_change_inputbox_mode_smart_FRENCH();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_FRENCH:
- wgui_change_inputbox_mode_smart_french();
- break;
- #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-14
- #if defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-14
- case INPUT_TYPE_SMART_UPPERCASE_GERMAN:
- wgui_change_inputbox_mode_smart_GERMAN();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_GERMAN:
- wgui_change_inputbox_mode_smart_german();
- break;
- #endif /* defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) */ //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-14
- #if defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-14
- case INPUT_TYPE_SMART_UPPERCASE_ITALIAN:
- wgui_change_inputbox_mode_smart_ITALIAN();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ITALIAN:
- wgui_change_inputbox_mode_smart_italian();
- break;
- #endif /* defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) */ //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-14
- #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-14
- case INPUT_TYPE_SMART_UPPERCASE_RUSSIAN:
- wgui_change_inputbox_mode_smart_RUSSIAN();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_RUSSIAN:
- wgui_change_inputbox_mode_smart_russian();
- break;
- #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-14
- #if defined(__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-13
- case INPUT_TYPE_SMART_UPPERCASE_BULGARIAN:
- wgui_change_inputbox_mode_smart_BULGARIAN();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_BULGARIAN:
- wgui_change_inputbox_mode_smart_bulgarian();
- break;
- #endif /* defined(__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) */ //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-13
- #if defined(__MMI_ZI_THAI__) || defined (__MMI_T9_THAI__) || defined(__MMI_CSTAR_THAI__) //KP Jerry add "__MMI_CSTAR_THAI__" on 2007-4-13
- case INPUT_TYPE_SMART_THAI:
- wgui_change_inputbox_mode_smart_thai();
- break;
- #endif /* defined(__MMI_ZI_THAI__) || defined (__MMI_T9_THAI__) || defined(__MMI_CSTAR_THAI__) */ //KP Jerry add "__MMI_CSTAR_THAI__" on 2007-4-13
- #if defined(__MMI_ZI_ARABIC__) || defined(__MMI_T9_ARABIC__) || defined(__MMI_CSTAR_ARABIC__) //KP Jerry add "__MMI_CSTAR_ARABIC__" on 2007-4-13
- /* PMT NO_AR_SL_DU END 20050909 */
- case INPUT_TYPE_SMART_ARABIC:
- wgui_change_inputbox_mode_smart_arabic();
- break;
- #endif /* defined(__MMI_ZI_ARABIC__) || defined(__MMI_T9_ARABIC__) || defined(__MMI_CSTAR_ARABIC__) */ //KP Jerry add "__MMI_CSTAR_ARABIC__" on 2007-4-13
- /* PMT START PERSIAN */
- #if defined(__MMI_ZI_PERSIAN__)
- /* PMT NO_AR_SL_DU END 20050909 */
- case INPUT_TYPE_SMART_PERSIAN:
- wgui_change_inputbox_mode_smart_persian();
- break;
- #endif /* defined(__MMI_ZI_PERSIAN__) */
- /* PMT end PERSIAN */
- /* PMT VIKAS GUPTA START 20051129 */
- #if defined(__MMI_ZI_HINDI__) || defined(__MMI_T9_HINDI__) || defined(__MMI_CSTAR_HINDI__) //KP Jerry add "__MMI_CSTAR_HINDI__" on 2007-4-13
- /* PMT NO_AR_SL_DU END 20050909 */
- case INPUT_TYPE_SMART_HINDI:
- wgui_change_inputbox_mode_smart_hindi();
- break;
- #endif /* defined(__MMI_ZI_HINDI__) || defined(__MMI_T9_HINDI__) || defined(__MMI_CSTAR_HINDI__) */ //KP Jerry add "__MMI_CSTAR_HINDI__" on 2007-4-13
- //PMT VIKAS GUPTA END 20051129
- //PMT START GR_HE_CZ_FI_DA_HU 20051007
- //PMT LANGUAGE START 20051221
- #if defined(__MMI_ZI_HEBREW__) || defined(__MMI_T9_HEBREW__) || defined(__MMI_CSTAR_HEBREW__) //KP Jerry add "__MMI_CSTAR_HEBREW__" on 2007-4-13
- /* PMT LANGUAGE END 20051221 */
- case INPUT_TYPE_SMART_HEBREW:
- wgui_change_inputbox_mode_smart_hebrew();
- break;
- #endif /* defined(__MMI_ZI_HEBREW__) || defined(__MMI_T9_HEBREW__) || defined(__MMI_CSTAR_HEBREW__) */ //KP Jerry add "__MMI_CSTAR_HEBREW__" on 2007-4-13
- //PMT END GR_HE_CZ_FI_DA_HU 20051007
- //PMT CZ_PO_TU START 20050812
- #if defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-13
- /* PMT CZ_PO_TU END 20050812 */
- case INPUT_TYPE_SMART_UPPERCASE_TURKISH:
- wgui_change_inputbox_mode_smart_TURKISH();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_TURKISH:
- wgui_change_inputbox_mode_smart_turkish();
- break;
- #endif /* defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) */ //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-13
- /* PMT SHARIQ START 20050729 */
- #if defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__) //KP Jerry add "__MMI_CSTAR_PORTUGUESE__" on 2007-4-13
- /* PMT SHARIQ END 20050729 */
- case INPUT_TYPE_SMART_UPPERCASE_PORTUGUESE:
- wgui_change_inputbox_mode_smart_PORTUGUESE();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_PORTUGUESE:
- wgui_change_inputbox_mode_smart_portuguese();
- break;
- #endif /* defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__) */ //KP Jerry add "__MMI_CSTAR_PORTUGUESE__" on 2007-4-13
- /* PMT Gurdev Start 20050729 */
- #if defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-13
- case INPUT_TYPE_SMART_UPPERCASE_INDONESIAN:
- wgui_change_inputbox_mode_smart_INDONESIAN();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_INDONESIAN:
- wgui_change_inputbox_mode_smart_indonesian();
- break;
- #endif /* defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) */ //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-13
- //PMT Gurdev End 20050729
- //PMT CZ_PO_TU START 20050812
- //PMT START GR_HE_CZ_FI_DA_HU 20051007
- #if defined(__MMI_T9_CZECH__) || defined(__MMI_ZI_CZECH__) || defined(__MMI_CSTAR_CZECH__) //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-13
- /* PMT END GR_HE_CZ_FI_DA_HU 20051007 */
- case INPUT_TYPE_SMART_UPPERCASE_CZECH:
- wgui_change_inputbox_mode_smart_CZECH();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_CZECH:
- wgui_change_inputbox_mode_smart_czech();
- break;
- #endif /* defined(__MMI_T9_CZECH__) || defined(__MMI_ZI_CZECH__) || defined(__MMI_CSTAR_CZECH__) */ //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-13
- //PMT CZ_PO_TU END 20050812
- //PMT START LANGUAGE 20060104
- #if defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-13
- /* PMT END LANGUAGE 20060104 */
- case INPUT_TYPE_SMART_UPPERCASE_MALAY:
- wgui_change_inputbox_mode_smart_MALAY();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_MALAY:
- wgui_change_inputbox_mode_smart_malay();
- break;
- #endif /* defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) */ //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-13
- /* PMT BHASKAR START 20052907 */
- #if defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-13
- /* PMT BHASKAR END 20052907 */
- case INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE:
- wgui_change_inputbox_mode_smart_VIETNAMESE();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE:
- wgui_change_inputbox_mode_smart_vietnamese();
- break;
- #endif /* defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) */ //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-13
- /* PMT START HU_FI 20050825 */
- #if defined(__MMI_ZI_FINNISH__) || defined(__MMI_T9_FINNISH__) || defined(__MMI_CSTAR_FINNISH__) //KP Jerry add "__MMI_CSTAR_FINNISH__" on 2007-4-13
- case INPUT_TYPE_SMART_UPPERCASE_FINNISH:
- wgui_change_inputbox_mode_smart_FINNISH();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_FINNISH:
- wgui_change_inputbox_mode_smart_finnish();
- break;
- #endif /* defined(__MMI_ZI_FINNISH__) || defined(__MMI_T9_FINNISH__) || defined(__MMI_CSTAR_FINNISH__) */ //KP Jerry add "__MMI_CSTAR_FINNISH__" on 2007-4-13
- /* PMT START GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_T9_HUNGARIAN__) || defined(__MMI_ZI_HUNGARIAN__) || defined(__MMI_CSTAR_HUNGARIAN__) //KP Jerry add "__MMI_CSTAR_HUNGARIAN__" on 2007-4-13
- /* PMT END GR_HE_CZ_FI_DA_HU 20051007 */
- case INPUT_TYPE_SMART_UPPERCASE_HUNGARIAN:
- wgui_change_inputbox_mode_smart_HUNGARIAN();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_HUNGARIAN:
- wgui_change_inputbox_mode_smart_hungarian();
- break;
- #endif /* defined(__MMI_T9_HUNGARIAN__) || defined(__MMI_ZI_HUNGARIAN__) || defined(__MMI_CSTAR_HUNGARIAN__) */ //KP Jerry add "__MMI_CSTAR_HUNGARIAN__" on 2007-4-13
- //PMT END HU_FI 20050825
- //PMT NO_AR_SL_DU START 20050909
- #if defined(__MMI_ZI_SLOVAK__) || defined(__MMI_T9_SLOVAK__) || defined(__MMI_CSTAR_SLOVAK__) //KP Jerry add "__MMI_CSTAR_SLOVAK__" on 2007-4-13
- case INPUT_TYPE_SMART_UPPERCASE_SLOVAK:
- wgui_change_inputbox_mode_smart_SLOVAK();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SLOVAK:
- wgui_change_inputbox_mode_smart_slovak();
- break;
- #endif /* defined(__MMI_ZI_SLOVAK__) || defined(__MMI_T9_SLOVAK__) || defined(__MMI_CSTAR_SLOVAK__) */ //KP Jerry add "__MMI_CSTAR_SLOVAK__" on 2007-4-13
- #if defined(__MMI_ZI_DUTCH__) || defined(__MMI_T9_DUTCH__) || defined(__MMI_CSTAR_DUTCH__) //KP Jerry add "__MMI_CSTAR_DUTCH__" on 2007-4-13
- case INPUT_TYPE_SMART_UPPERCASE_DUTCH:
- wgui_change_inputbox_mode_smart_DUTCH();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_DUTCH:
- wgui_change_inputbox_mode_smart_dutch();
- break;
- #endif /* defined(__MMI_ZI_DUTCH__) || defined(__MMI_T9_DUTCH__) || defined(__MMI_CSTAR_DUTCH__) */ //KP Jerry add "__MMI_CSTAR_DUTCH__" on 2007-4-13
- //Norwegian start
- //PMT VIKAS GUPTA START PO_NO_ZI 20050930
- #if defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-13
- /* PMT VIKAS GUPTA END PO_NO_ZI 20050930 */
- case INPUT_TYPE_SMART_UPPERCASE_NORWEGIAN:
- wgui_change_inputbox_mode_smart_NORWEGIAN();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_NORWEGIAN:
- wgui_change_inputbox_mode_smart_norwegian();
- break;
- #endif /* defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) */ //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-13
- //Norwegian end
- //PMT NO_AR_SL_DU END 20050909
- //PMT START SWEDISH 20050916
- #if defined(__MMI_ZI_SWEDISH__) || defined(__MMI_T9_SWEDISH__) || defined(__MMI_CSTAR_SWEDISH__) //KP Jerry add "__MMI_CSTAR_SWEDISH__" on 2007-4-13
- case INPUT_TYPE_SMART_UPPERCASE_SWEDISH:
- wgui_change_inputbox_mode_smart_SWEDISH();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SWEDISH:
- wgui_change_inputbox_mode_smart_swedish();
- break;
- #endif /* defined(__MMI_ZI_SWEDISH__) || defined(__MMI_T9_SWEDISH__) || defined(__MMI_CSTAR_SWEDISH__) */ //KP Jerry add "__MMI_CSTAR_SWEDISH__" on 2007-4-13
- //PMT END SWEDISH 20050916
- //PMT START CR_ROM_SLO 20050923
- #if defined(__MMI_ZI_CROATIAN__) || defined(__MMI_T9_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) //KP Jerry add "__MMI_CSTAR_CROATIAN__" on 2007-4-13
- case INPUT_TYPE_SMART_UPPERCASE_CROATIAN:
- wgui_change_inputbox_mode_smart_CROATIAN();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_CROATIAN:
- wgui_change_inputbox_mode_smart_croatian();
- break;
- #endif /* defined(__MMI_ZI_CROATIAN__) || defined(__MMI_T9_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) */ //KP Jerry add "__MMI_CSTAR_CROATIAN__" on 2007-4-13
- /* PMT START LANGUAGE 20060104 */
- #if defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-13
- /* PMT END LANGUAGE 20060104 */
- case INPUT_TYPE_SMART_UPPERCASE_ROMANIAN:
- wgui_change_inputbox_mode_smart_ROMANIAN();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ROMANIAN:
- wgui_change_inputbox_mode_smart_romanian();
- break;
- #endif /* defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) */ //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-13
- /* PMT LANGUAGE START 20051221 */
- #if defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-13
- /* PMT LANGUAGE END 20051221 */
- case INPUT_TYPE_SMART_UPPERCASE_SLOVENIAN:
- wgui_change_inputbox_mode_smart_SLOVENIAN();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SLOVENIAN:
- wgui_change_inputbox_mode_smart_slovenian();
- break;
- #endif /* defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) */ //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-13
- /* PMT END CR_ROM_SLO 20050923 */
- /* PMT START GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_ZI_GREEK__) || defined(__MMI_T9_GREEK__) || defined(__MMI_CSTAR_GREEK__) //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-13
- case INPUT_TYPE_SMART_UPPERCASE_GREEK:
- wgui_change_inputbox_mode_smart_GREEK();
- break;
- case INPUT_TYPE_SMART_LOWERCASE_GREEK:
- wgui_change_inputbox_mode_smart_greek();
- break;
- #endif /* defined(__MMI_ZI_GREEK__) || defined(__MMI_T9_GREEK__) || defined(__MMI_CSTAR_GREEK__) */ //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-13
- /* PMT END GR_HE_CZ_FI_DA_HU 20051007 */
- #endif /* defined (__MMI_T9__) || defined (__MMI_ZI__) || defined(__MMI_CSTAR__) || defined(__MMI_KA__) || defined(__MMI_ITAP__) */ //KP Jerry add "__MMI_CSTAR__" on 2007-4-13
- }
- }
- /* __CUSTPACK_MULTIBIN Terry BEGIN */
- extern S16 MMI_AP_required_input_mode_set[INPUT_MODE_MAX_NUM];
- /*****************************************************************************
- * FUNCTION
- * InputMethodSetKeyHandler
- * DESCRIPTION
- *
- * PARAMETERS
- * preFuncPtrs [?]
- * postPtrs [?]
- * IMEModeArray [IN]
- * EnglishOnly [IN]
- * AP_required [IN]
- * RETURNS
- *
- *****************************************************************************/
- U32 InputMethodSetKeyHandler(
- FuncPtr *preFuncPtrs,
- FuncPtr *postPtrs,
- const sIMEModeDetails *IMEModeArray,
- BOOL EnglishOnly,
- BOOL AP_required)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- int i = 0, j = 0;
- int input_mode_id = 0;
- MMI_BOOL ExitFlag = MMI_FALSE;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- for (;;)
- {
- if (AP_required)
- {
- input_mode_id = MMI_AP_required_input_mode_set[i];
- }
- else
- {
- input_mode_id = IMEModeArray[i].IME_Mode_ID;
- }
- switch (input_mode_id)
- {
- case INPUT_MODE_MULTITAP_UPPERCASE_ABC:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_ABC;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_ABC:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_abc;
- break;
- /* PMT LANGUAGE START 20051221 */
- case INPUT_MODE_123:
- preFuncPtrs[j] = wgui_change_inputbox_mode_mode_numeric;
- break;
- /* PMT NO_AR_SL_DU END 20050909 */
- #if defined(__MMI_T9_ENGLISH__) || defined(__MMI_ZI_PRC_ENGLISH__) || defined(__MMI_ZI_UK_ENGLISH__) || defined(__MMI_CSTAR_ENGLISH__) || defined(__MMI_ITAP_ENGLISH__) //KP Jerry add "__MMI_CSTAR_ENGLISH__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_ABC:
- if (mmi_is_alphanum_pass) /* smart ABC, abc should be removed when INPUT_TYPE_ALPHANUMERIC_PASSWORD */
- {
- j--;
- }
- else
- {
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_ABC;
- }
- break;
- case INPUT_MODE_SMART_LOWERCASE_ABC:
- if (mmi_is_alphanum_pass) /* smart ABC, abc should be removed when INPUT_TYPE_ALPHANUMERIC_PASSWORD */
- {
- j--;
- }
- else
- {
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_abc;
- }
- break;
- #endif /* defined(__MMI_T9_ENGLISH__) || defined(__MMI_ZI_PRC_ENGLISH__) || defined(__MMI_ZI_UK_ENGLISH__) || defined(__MMI_CSTAR_ENGLISH__) || defined(__MMI_ITAP_ENGLISH__) */ //KP Jerry add "__MMI_CSTAR_ENGLISH__" on 2007-4-13
- #if defined(__MMI_MULTITAP_HINDI__)
- case INPUT_MODE_MULTITAP_HINDI:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_HINDI;
- break;
- #endif /* defined(__MMI_MULTITAP_HINDI__) */
- #if defined(__MMI_MULTITAP_MARATHI__)
- case INPUT_MODE_MULTITAP_MARATHI:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_MARATHI;
- break;
- #endif /* defined(__MMI_MULTITAP_MARATHI__) */
- #if defined(__MMI_MULTITAP_ARABIC__)
- case INPUT_MODE_MULTITAP_ARABIC:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_arabic;
- break;
- #endif /* defined(__MMI_MULTITAP_ARABIC__) */
- /* PMT START PERSIAN */
- #if defined(__MMI_MULTITAP_PERSIAN__)
- case INPUT_MODE_MULTITAP_PERSIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_persian;
- break;
- #endif /* defined(__MMI_MULTITAP_PERSIAN__) */
- /* PMT END PERSIAN */
- #if defined(__MMI_ZI_ARABIC__) || defined(__MMI_T9_ARABIC__) || defined(__MMI_CSTAR_ARABIC__) //KP Jerry add "__MMI_CSTAR_ARABIC__" on 2007-4-13
- /* PMT NO_AR_SL_DU END 20050909 */
- case INPUT_MODE_SMART_ARABIC:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_arabic;
- break;
- #endif /* defined(__MMI_ZI_ARABIC__) || defined(__MMI_T9_ARABIC__) || defined(__MMI_CSTAR_ARABIC__) */ //KP Jerry add "__MMI_CSTAR_ARABIC__" on 2007-4-13
- /* PMT START PERSIAN */
- #if defined(__MMI_ZI_PERSIAN__)
- case INPUT_MODE_SMART_PERSIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_persian;
- break;
- #endif /* defined(__MMI_ZI_PERSIAN__) */
- /* PMT END PERSIAN */
- /* PMT VIKAS GUPTA START 20051129 */
- #if defined(__MMI_ZI_HINDI__) || defined(__MMI_T9_HINDI__) || defined(__MMI_CSTAR_HINDI__) //KP Jerry add "__MMI_CSTAR_HINDI__" on 2007-4-13
- /* PMT NO_AR_SL_DU END 20050909 */
- case INPUT_MODE_SMART_HINDI:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_hindi;
- break;
- #endif /* defined(__MMI_ZI_HINDI__) || defined(__MMI_T9_HINDI__) || defined(__MMI_CSTAR_HINDI__) */ //KP Jerry add "__MMI_CSTAR_HINDI__" on 2007-4-13
- /* PMT LANGUAGE END 20051221 */
- #if defined(__MMI_MULTITAP_SPANISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_SPANISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_SPANISH;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_SPANISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_spanish;
- break;
- #endif /* defined(__MMI_MULTITAP_SPANISH__) */
- /* PMT VIKASG START 20050729 */
- #if defined(__MMI_MULTITAP_DANISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_DANISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_DANISH;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_DANISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_danish;
- break;
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- //PMT VIKASG END 20050729
- //PMT CZ_PO_TU START 20050812
- #if defined(__MMI_MULTITAP_POLISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_POLISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_POLISH;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_POLISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_polish;
- break;
- #endif /* defined(__MMI_MULTITAP_POLISH__) */
- /* PMT CZ_PO_TU END 20050812 */
- #if defined(__MMI_MULTITAP_FRENCH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_FRENCH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_FRENCH;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_FRENCH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_french;
- break;
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #if defined(__MMI_MULTITAP_GERMAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_GERMAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_GERMAN;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_GERMAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_german;
- break;
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_MULTITAP_ITALIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_ITALIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_ITALIAN;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_ITALIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_italian;
- break;
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_RUSSIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_RUSSIAN;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_RUSSIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_russian;
- break;
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_BULGARIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_BULGARIAN;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_BULGARIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_bulgarian;
- break;
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_TURKISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_TURKISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_TURKISH;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_TURKISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_turkish;
- break;
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- case INPUT_MODE_MULTITAP_UPPERCASE_PORTUGUESE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_PORTUGUESE;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_PORTUGUESE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_portuguese;
- break;
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_INDONESIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_INDONESIAN;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_INDONESIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_indonesian;
- break;
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- /* PMT CZ_PO_TU START 20050812 */
- #if defined(__MMI_MULTITAP_CZECH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_CZECH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_CZECH;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_CZECH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_czech;
- break;
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- /* PMT CZ_PO_TU END 20050812 */
- #if defined(__MMI_MULTITAP_MALAY__)
- case INPUT_MODE_MULTITAP_UPPERCASE_MALAY:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_MALAY;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_MALAY:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_malay;
- break;
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- case INPUT_MODE_MULTITAP_UPPERCASE_VIETNAMESE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_VIETNAMESE;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_VIETNAMESE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_vietnamese;
- break;
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- /* PMT START HU_FI 20050825 */
- #if defined(__MMI_MULTITAP_FINNISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_FINNISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_FINNISH;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_FINNISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_finnish;
- break;
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_HUNGARIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_HUNGARIAN;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_HUNGARIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_hungarian;
- break;
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- //PMT END HU_FI 20050825
- //PMT NO_AR_SL_DU START 20050909
- #if defined(__MMI_MULTITAP_SLOVAK__)
- case INPUT_MODE_MULTITAP_UPPERCASE_SLOVAK:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_SLOVAK;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_SLOVAK:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_slovak;
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_DUTCH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_DUTCH;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_DUTCH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_dutch;
- break;
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- //PMT NO_AR_SL_DU END 20050909
- //PMT START SWEDISH 20050916
- #if defined(__MMI_MULTITAP_SWEDISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_SWEDISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_SWEDISH;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_SWEDISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_swedish;
- break;
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- /* PMT END SWEDISH 20050916 */
- /* PMT START CR_ROM_SLO 20050923 */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_CROATIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_CROATIAN;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_CROATIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_croatian;
- break;
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_ROMANIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_ROMANIAN;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_ROMANIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_romanian;
- break;
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_SLOVENIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_SLOVENIAN;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_SLOVENIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_slovenian;
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- /* PMT END CR_ROM_SLO 20050923 */
- /* PMT START GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_MULTITAP_GREEK__)
- case INPUT_MODE_MULTITAP_UPPERCASE_GREEK:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_GREEK;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_GREEK:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_greek;
- break;
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- //PMT END GR_HE_CZ_FI_DA_HU 20051007
- //PMT LANGUAGE START 20051221
- /* #if defined(__MMI_MULTITAP_HINDI__)
- case INPUT_MODE_MULTITAP_HINDI:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_HINDI;
- break;
- #endif */
- //PMT LANGUAGE END 20051221
- //PMT dara added for Multitap Thai
- #if defined(__MMI_MULTITAP_THAI__)
- case INPUT_MODE_MULTITAP_THAI:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_thai;
- break;
- #endif /* defined(__MMI_MULTITAP_THAI__) */
- //PMT end
- //PMT START GR_HE_CZ_FI_DA_HU 20051007
- #if defined(__MMI_MULTITAP_HEBREW__)
- case INPUT_MODE_MULTITAP_HEBREW:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_hebrew;
- break;
- #endif /* defined(__MMI_MULTITAP_HEBREW__) */
- //PMT END GR_HE_CZ_FI_DA_HU 20051007
- //PMT NO_AR_SL_DU START 20050909
- //PMT LANGUAGE START 20051221
- /* #if defined(__MMI_MULTITAP_ARABIC__)
- case INPUT_MODE_MULTITAP_ARABIC:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_arabic;
- break;
- #endif */
- //PMT LANGUAGE END 20051221
- //Norwegian start
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_NORWEGIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_NORWEGIAN;
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_NORWEGIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_multitap_norwegian;
- break;
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- //Norwegian end
- //PMT LANGUAGE START 20051221
- //PMT NO_AR_SL_DU END 20050909
- /* #if defined(__MMI_T9_ENGLISH__)||defined(__MMI_ZI_PRC_ENGLISH__)||defined(__MMI_ZI_UK_ENGLISH__)||defined(__MMI_ITAP_ENGLISH__)
- case INPUT_MODE_SMART_UPPERCASE_ABC:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_ABC;
- break;
- case INPUT_MODE_SMART_LOWERCASE_ABC:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_abc;
- break;
- #endif
- case INPUT_MODE_123:
- preFuncPtrs[j] = wgui_change_inputbox_mode_mode_numeric;
- break; */
- /* PMT LANGUAGE END 20051221 */
- #if defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) || defined(__MMI_CSTAR_SPANISH__) //KP Jerry add "__MMI_CSTAR_SPANISH__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_SPANISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_SPANISH;
- break;
- case INPUT_MODE_SMART_LOWERCASE_SPANISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_spanish;
- break;
- #endif /* defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) || defined(__MMI_CSTAR_SPANISH__) */ //KP Jerry add "__MMI_CSTAR_SPANISH__" on 2007-4-13
- /* PMT VIKASG START 20050729 */
- #if defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) || defined(__MMI_CSTAR_DANISH__) //KP Jerry add "__MMI_CSTAR_DANISH__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_DANISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_DANISH;
- break;
- case INPUT_MODE_SMART_LOWERCASE_DANISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_danish;
- break;
- #endif /* defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) || defined(__MMI_CSTAR_DANISH__) */ //KP Jerry add "__MMI_CSTAR_DANISH__" on 2007-4-13
- //PMT VIKASG END 20050729
- //PMT CZ_PO_TU START 20050812
- #if defined(__MMI_T9_POLISH__) || defined(__MMI_ZI_POLISH__) || defined(__MMI_CSTAR_POLISH__) //KP Jerry add "__MMI_CSTAR_POLISH__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_POLISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_POLISH;
- break;
- case INPUT_MODE_SMART_LOWERCASE_POLISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_polish;
- break;
- #endif /* defined(__MMI_T9_POLISH__) || defined(__MMI_ZI_POLISH__) || defined(__MMI_CSTAR_POLISH__) */ //KP Jerry add "__MMI_CSTAR_POLISH__" on 2007-4-13
- /* PMT CZ_PO_TU END 20050812 */
- #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-13
- case INPUT_MODE_SMART_UPPERCASE_FRENCH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_FRENCH;
- break;
- case INPUT_MODE_SMART_LOWERCASE_FRENCH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_french;
- break;
- #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-13
- #if defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_GERMAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_GERMAN;
- break;
- case INPUT_MODE_SMART_LOWERCASE_GERMAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_german;
- break;
- #endif /* defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) */ //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-13
- #if defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_ITALIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_ITALIAN;
- break;
- case INPUT_MODE_SMART_LOWERCASE_ITALIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_italian;
- break;
- #endif /* defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) */ //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-13
- /* START PMT VANDANA 20051506 */
- #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-13
- /* END PMT */
- case INPUT_MODE_SMART_UPPERCASE_RUSSIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_RUSSIAN;
- break;
- case INPUT_MODE_SMART_LOWERCASE_RUSSIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_russian;
- break;
- #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-13
- /* PMT BULGARIAN START 20051201 */
- #if defined(__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_BULGARIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_BULGARIAN;
- break;
- case INPUT_MODE_SMART_LOWERCASE_BULGARIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_bulgarian;
- break;
- #endif /* defined(__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) */ //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-13
- /* PMT BULGARIAN END 20051201 */
- #if defined(__MMI_ZI_THAI__) || defined(__MMI_T9_THAI__) || defined(__MMI_CSTAR_THAI__) //KP Jerry add "__MMI_CSTAR_THAI__" on 2007-4-13
- case INPUT_MODE_SMART_THAI:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_thai;
- break;
- #endif /* defined(__MMI_ZI_THAI__) || defined(__MMI_T9_THAI__) || defined(__MMI_CSTAR_THAI__) */ //KP Jerry add "__MMI_CSTAR_THAI__" on 2007-4-13
- //PMT NO_AR_SL_DU START 20050909
- //PMT LANGUAGE START 20051221
- /* #if defined(__MMI_ZI_ARABIC__) || defined(__MMI_T9_ARABIC__)
- case INPUT_MODE_SMART_ARABIC:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_arabic;
- break;
- #endif
- //PMT VIKAS GUPTA START 20051129
- #if defined(__MMI_ZI_HINDI__) || defined(__MMI_T9_HINDI__)
- //PMT NO_AR_SL_DU END 20050909
- case INPUT_MODE_SMART_HINDI:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_hindi;
- break;
- #endif */
- //PMT LANGUAGE END 20051221
- //PMT VIKAS GUPTA END 20051129
- //PMT START GR_HE_CZ_FI_DA_HU 20051007
- //PMT LANGUAGE START 20051221
- #if defined(__MMI_ZI_HEBREW__) || defined(__MMI_T9_HEBREW__) || defined(__MMI_CSTAR_HEBREW__) //KP Jerry add "__MMI_CSTAR_HEBREW__" on 2007-4-13
- /* PMT LANGUAGE END 20051221 */
- case INPUT_MODE_SMART_HEBREW:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_hebrew;
- break;
- #endif /* defined(__MMI_ZI_HEBREW__) || defined(__MMI_T9_HEBREW__) || defined(__MMI_CSTAR_HEBREW__) */ //KP Jerry add "__MMI_CSTAR_HEBREW__" on 2007-4-13
- //PMT END GR_HE_CZ_FI_DA_HU 20051007
- //PMT CZ_PO_TU START 20050812
- #if defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-13
- /* PMT CZ_PO_TU END 20050812 */
- case INPUT_MODE_SMART_UPPERCASE_TURKISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_TURKISH;
- break;
- case INPUT_MODE_SMART_LOWERCASE_TURKISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_turkish;
- break;
- #endif /* defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) */ //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-13
- /* PMT SHARIQ START 20050729 */
- #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-13
- /* PMT SHARIQ END 20050729 */
- case INPUT_MODE_SMART_UPPERCASE_PORTUGUESE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_PORTUGUESE;
- break;
- case INPUT_MODE_SMART_LOWERCASE_PORTUGUESE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_portuguese;
- break;
- #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-13
- /* PMT Gurdev Start 20050729 */
- #if defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_INDONESIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_INDONESIAN;
- break;
- case INPUT_MODE_SMART_LOWERCASE_INDONESIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_indonesian;
- break;
- #endif /* defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) */ //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-13
- //PMT Gurdev End 20050729
- //PMT CZ_PO_TU START 20050812
- //PMT START GR_HE_CZ_FI_DA_HU 20051007
- #if defined(__MMI_T9_CZECH__) || defined(__MMI_ZI_CZECH__) || defined(__MMI_CSTAR_CZECH__) //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-13
- /* PMT END GR_HE_CZ_FI_DA_HU 20051007 */
- case INPUT_MODE_SMART_UPPERCASE_CZECH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_CZECH;
- break;
- case INPUT_MODE_SMART_LOWERCASE_CZECH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_czech;
- break;
- #endif /* defined(__MMI_T9_CZECH__) || defined(__MMI_ZI_CZECH__) || defined(__MMI_CSTAR_CZECH__) */ //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-13
- //PMT CZ_PO_TU END 20050812
- //PMT START LANGUAGE 20060104
- #if defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-13
- /* PMT END LANGUAGE 20060104 */
- case INPUT_MODE_SMART_UPPERCASE_MALAY:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_MALAY;
- break;
- case INPUT_MODE_SMART_LOWERCASE_MALAY:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_malay;
- break;
- #endif /* defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) */ //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-13
- /* PMT BHASKAR START 20052907 */
- #if defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-13
- /* PMT BHASKAR END 20052907 */
- case INPUT_MODE_SMART_UPPERCASE_VIETNAMESE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_VIETNAMESE;
- break;
- case INPUT_MODE_SMART_LOWERCASE_VIETNAMESE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_vietnamese;
- break;
- #endif /* defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) */ //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-13
- /* PMT START HU_FI 20050825 */
- #if defined(__MMI_ZI_FINNISH__) || defined(__MMI_T9_FINNISH__) || defined(__MMI_CSTAR_FINNISH__) //KP Jerry add "__MMI_CSTAR_FINNISH__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_FINNISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_FINNISH;
- break;
- case INPUT_MODE_SMART_LOWERCASE_FINNISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_finnish;
- break;
- #endif /* defined(__MMI_ZI_FINNISH__) || defined(__MMI_T9_FINNISH__) || defined(__MMI_CSTAR_FINNISH__) */ //KP Jerry add "__MMI_CSTAR_FINNISH__" on 2007-4-13
- /* PMT START GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_T9_HUNGARIAN__) || defined(__MMI_ZI_HUNGARIAN__) || defined(__MMI_CSTAR_HUNGARIAN__) //KP Jerry add "__MMI_CSTAR_HUNGARIAN__" on 2007-4-13
- /* PMT END GR_HE_CZ_FI_DA_HU 20051007 */
- case INPUT_MODE_SMART_UPPERCASE_HUNGARIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_HUNGARIAN;
- break;
- case INPUT_MODE_SMART_LOWERCASE_HUNGARIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_hungarian;
- break;
- #endif /* defined(__MMI_T9_HUNGARIAN__) || defined(__MMI_ZI_HUNGARIAN__) || defined(__MMI_CSTAR_HUNGARIAN__) */ //KP Jerry add "__MMI_CSTAR_HUNGARIAN__" on 2007-4-13
- //PMT END HU_FI 20050825
- //PMT NO_AR_SL_DU START 20050909
- #if defined(__MMI_ZI_SLOVAK__) || defined(__MMI_T9_SLOVAK__) || defined(__MMI_CSTAR_SLOVAK__) //KP Jerry add "__MMI_CSTAR_SLOVAK__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_SLOVAK:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_SLOVAK;
- break;
- case INPUT_MODE_SMART_LOWERCASE_SLOVAK:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_slovak;
- break;
- #endif /* defined(__MMI_ZI_SLOVAK__) || defined(__MMI_T9_SLOVAK__) || defined(__MMI_CSTAR_SLOVAK__) */ //KP Jerry add "__MMI_CSTAR_SLOVAK__" on 2007-4-13
- #if defined(__MMI_ZI_DUTCH__) || defined(__MMI_T9_DUTCH__) || defined(__MMI_CSTAR_DUTCH__) //KP Jerry add "__MMI_CSTAR_DUTCH__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_DUTCH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_DUTCH;
- break;
- case INPUT_MODE_SMART_LOWERCASE_DUTCH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_dutch;
- break;
- #endif /* defined(__MMI_ZI_DUTCH__) || defined(__MMI_T9_DUTCH__) || defined(__MMI_CSTAR_DUTCH__) */ //KP Jerry add "__MMI_CSTAR_DUTCH__" on 2007-4-13
- //Norwegian start
- //PMT VIKAS GUPTA START PO_NO_ZI 20050930
- #if defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-13
- /* PMT VIKAS GUPTA END PO_NO_ZI 20050930 */
- case INPUT_MODE_SMART_UPPERCASE_NORWEGIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_NORWEGIAN;
- break;
- case INPUT_MODE_SMART_LOWERCASE_NORWEGIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_norwegian;
- break;
- #endif /* defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) */ //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-13
- //Norwegian end
- //PMT NO_AR_SL_DU END 20050909
- //PMT START SWEDISH 20050916
- #if defined(__MMI_ZI_SWEDISH__) || defined(__MMI_T9_SWEDISH__) || defined(__MMI_CSTAR_SWEDISH__) //KP Jerry add "__MMI_CSTAR_SWEDISH__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_SWEDISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_SWEDISH;
- break;
- case INPUT_MODE_SMART_LOWERCASE_SWEDISH:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_swedish;
- break;
- #endif /* defined(__MMI_ZI_SWEDISH__) || defined(__MMI_T9_SWEDISH__) || defined(__MMI_CSTAR_SWEDISH__) */ //KP Jerry add "__MMI_CSTAR_SWEDISH__" on 2007-4-13
- /* PMT END SWEDISH 20050916 */
- /* PMT START CR_ROM_SLO 20050923 */
- #if defined(__MMI_ZI_CROATIAN__) || defined(__MMI_T9_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) //KP Jerry add "__MMI_CSTAR_CROATIAN__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_CROATIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_CROATIAN;
- break;
- case INPUT_MODE_SMART_LOWERCASE_CROATIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_croatian;
- break;
- #endif /* defined(__MMI_ZI_CROATIAN__) || defined(__MMI_T9_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) */ //KP Jerry add "__MMI_CSTAR_CROATIAN__" on 2007-4-13
- /* PMT START LANGUAGE 20060104 */
- #if defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-13
- /* PMT END LANGUAGE 20060104 */
- case INPUT_MODE_SMART_UPPERCASE_ROMANIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_ROMANIAN;
- break;
- case INPUT_MODE_SMART_LOWERCASE_ROMANIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_romanian;
- break;
- #endif /* defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) */ //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-13
- /* PMT LANGUAGE START 20051221 */
- #if defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-13
- /* PMT LANGUAGE END 20051221 */
- case INPUT_MODE_SMART_UPPERCASE_SLOVENIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_SLOVENIAN;
- break;
- case INPUT_MODE_SMART_LOWERCASE_SLOVENIAN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_slovenian;
- break;
- #endif /* defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) */ //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-13
- /* PMT END CR_ROM_SLO 20050923 */
- /* PMT START GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_ZI_GREEK__) || defined(__MMI_T9_GREEK__) || defined(__MMI_CSTAR_GREEK__) //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-13
- case INPUT_MODE_SMART_UPPERCASE_GREEK:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_GREEK;
- break;
- case INPUT_MODE_SMART_LOWERCASE_GREEK:
- preFuncPtrs[j] = wgui_change_inputbox_mode_smart_greek;
- break;
- #endif /* defined(__MMI_ZI_GREEK__) || defined(__MMI_T9_GREEK__) || defined(__MMI_CSTAR_GREEK__) */ //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-13
- /* PMT END GR_HE_CZ_FI_DA_HU 20051007 */
- #if defined(__MMI_T9_TR_CHINESE__) || defined(__MMI_ZI_TR_CHINESE__) ||defined(__MMI_CSTAR_TR_CHINESE__) || defined(__MMI_ITAP_TR_CHINESE__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-18
- #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_XXX__" on 2007-4-18
- case INPUT_MODE_TR_MULTITAP_BOPOMO:
- preFuncPtrs[j] = wgui_change_inputbox_mode_tr_multitap_bpmf;
- break;
- #endif /* 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_XXX__" on 2007-4-18
- #if (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_XXX__" on 2007-4-18
- case INPUT_MODE_TR_BOPOMO:
- preFuncPtrs[j] = wgui_change_inputbox_mode_tr_bpmf;
- break;
- #endif /* (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_XXX__" on 2007-4-18
- case INPUT_MODE_TR_STROKE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_tr_stroke;
- break;
- #endif /* defined(__MMI_T9_TR_CHINESE__) || defined(__MMI_ZI_TR_CHINESE__) || defined(__MMI_CSTAR_TR_CHINESE__) || defined(__MMI_ITAP_TR_CHINESE__) */ //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-18
- #if defined(__MMI_T9_SM_CHINESE__) || defined(__MMI_ZI_SM_CHINESE__) || defined(__MMI_CSTAR_SM_CHINESE__) || defined(__MMI_ITAP_SM_CHINESE__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-18
- #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_XXX__" on 2007-4-18
- case INPUT_MODE_SM_MULTITAP_PINYIN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_sm_multitap_pinyin;
- break;
- #endif /* 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_XXX__" on 2007-4-18
- #if 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_XXX__" on 2007-4-18
- case INPUT_MODE_SM_PINYIN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_sm_pinyin;
- break;
- #endif /* 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_XXX__" on 2007-4-18
- case INPUT_MODE_SM_STROKE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_sm_stroke;
- break;
- #endif /* defined(__MMI_T9_SM_CHINESE__) || defined(__MMI_ZI_SM_CHINESE__) || defined(__MMI_CSTAR_SM_CHINESE__) || defined(__MMI_ITAP_SM_CHINESE__) */ //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-18
- #if defined(__MMI_KA__)
- case INPUT_MODE_SM_PINYIN:
- preFuncPtrs[j] = wgui_change_inputbox_mode_sm_pinyin;
- break;
- case INPUT_MODE_SM_STROKE:
- preFuncPtrs[j] = wgui_change_inputbox_mode_sm_stroke;
- break;
- #endif /* defined(__MMI_KA__) */
- #if defined(__MMI_WCSS_INPUT_FORMAT_SUPPORT__)
- case INPUT_MODE_MULTITAP_UPPERCASE_ABC_NO_NUMERIC:
- case INPUT_MODE_MULTITAP_LOWERCASE_ABC_NO_NUMERIC:
- case INPUT_MODE_123_SYMBOLS:
- #endif /* defined(__MMI_WCSS_INPUT_FORMAT_SUPPORT__) */
- case (0xff):
- break;
- default:
- if (AP_required)
- {
- i++;
- if (MMI_AP_required_input_mode_set[i - 1] == -1 || MMI_AP_required_input_mode_set[i] == -1)
- {
- ExitFlag = 1;
- break;
- }
- continue;
- }
- else
- {
- MMI_ASSERT(0);
- }
- }
- if (AP_required)
- {
- if (MMI_AP_required_input_mode_set[i] != -1 && ExitFlag != MMI_TRUE)
- {
- postPtrs[j] = InputMethodScreenCloseFunction;
- i++;
- j++;
- if (MMI_AP_required_input_mode_set[i] == -1)
- {
- break;
- }
- }
- else
- {
- break;
- }
- }
- else
- {
- if ((0xff) != IMEModeArray[i].IME_Mode_ID
- #if defined(__MMI_WCSS_INPUT_FORMAT_SUPPORT__)
- && INPUT_MODE_MULTITAP_UPPERCASE_ABC_NO_NUMERIC != IMEModeArray[i].IME_Mode_ID
- && INPUT_MODE_MULTITAP_LOWERCASE_ABC_NO_NUMERIC != IMEModeArray[i].IME_Mode_ID
- && INPUT_MODE_123_SYMBOLS != IMEModeArray[i].IME_Mode_ID
- #endif /* defined(__MMI_WCSS_INPUT_FORMAT_SUPPORT__) */
- )
- {
- if (MMI_TRUE == EnglishOnly)
- {
- if (IMEModeArray[i].English_Only_Flag)
- {
- postPtrs[j] = InputMethodScreenCloseFunction;
- j++;
- }
- i++;
- }
- else
- {
- postPtrs[j] = InputMethodScreenCloseFunction;
- i++;
- j++;
- }
- }
- else
- {
- break;
- }
- }
- }
- /* PMT LANGUAGE START 20051221 */
- //PMT START PERSIAN
- #if defined __MMI_LANG_HINDI__ && (defined __MMI_LANG_ARABIC__ || defined __MMI_LANG_PERSIAN__)
- //PMT END PERSIAN
- if (HINDI_PRESENT || ARABIC_PRESENT)
- {
- return j - 2;
- }
- else
- #endif /* defined __MMI_LANG_HINDI__ && defined __MMI_LANG_ARABIC__ */
- /* PMT LANGUAGE END 20051221 */
- return j;
- }
- /*****************************************************************************
- * FUNCTION
- * APRequiredInputMethodScreenHandleLSK
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void APRequiredInputMethodScreenHandleLSK(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U32 i;
- FuncPtr currPreFuncPtr = NULL;
- FuncPtr currPostFuncPtr = NULL;
- S32 index = GetHighlightedItem();
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- /* MTK Elvis multitap phonetic input mode */
- i = 0;
- i = InputMethodSetKeyHandler(
- preHandleInputMethodLSKFuncPtrs,
- postHandleInputMethodLSKFuncPtrs,
- gIMEModeArray,
- MMI_FALSE,
- MMI_TRUE);
- #if !defined(__MMI_TOUCH_SCREEN__)
- postHandleInputMethodLSKFuncPtrs[i] = UI_dummy_function;
- preHandleInputMethodLSKFuncPtrs[i++] = EntrySymbolPickerScreenFromMenuList;
- #endif /* !defined(__MMI_TOUCH_SCREEN__) */
- currPreFuncPtr = preHandleInputMethodLSKFuncPtrs[index];
- currPostFuncPtr = postHandleInputMethodLSKFuncPtrs[index];
- /* PMT LANGUAGE START 20051221 */
- /* PMT START PERSIAN */
- #if defined __MMI_LANG_HINDI__ && (defined __MMI_LANG_ARABIC__ || defined __MMI_LANG_PERSIAN__)
- /* PMT END PERSIAN */
- if (HINDI_PRESENT)
- {
- /* PMT START LANGUAGE 20060104 */
- #if defined(__MMI_MULTITAP_ARABIC__)
- if (currPreFuncPtr == wgui_change_inputbox_mode_multitap_arabic)
- {
- index++;
- currPreFuncPtr = preHandleInputMethodLSKFuncPtrs[index];
- currPostFuncPtr = postHandleInputMethodLSKFuncPtrs[index];
- }
- else
- /* PMT START PERSIAN */
- #elif defined(__MMI_MULTITAP_PERSIAN__)
- if (currPreFuncPtr == wgui_change_inputbox_mode_multitap_persian)
- {
- index++;
- currPreFuncPtr = preHandleInputMethodLSKFuncPtrs[index];
- currPostFuncPtr = postHandleInputMethodLSKFuncPtrs[index];
- }
- else
- #endif
- /* PMT END PERSIAN */
- if (currPreFuncPtr == wgui_change_inputbox_mode_multitap_HINDI)
- /* PMT END LANGUAGE 20060104 */
- {
- index += 2;
- currPreFuncPtr = preHandleInputMethodLSKFuncPtrs[index];
- currPostFuncPtr = postHandleInputMethodLSKFuncPtrs[index];
- }
- }
- #endif /* defined __MMI_LANG_HINDI__ && (defined __MMI_LANG_ARABIC__ || defined __MMI_LANG_PERSIAN__) */
- /* PMT LANGUAGE END 20051221 */
- if (currPreFuncPtr != NULL)
- {
- (*currPreFuncPtr) ();
- }
- if (currPostFuncPtr != NULL)
- {
- (*currPostFuncPtr) ();
- }
- }
- /*****************************************************************************
- * FUNCTION
- * InputMethodScreenHandleLSK
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void InputMethodScreenHandleLSK(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U32 i;
- FuncPtr currPreFuncPtr = NULL;
- FuncPtr currPostFuncPtr = NULL;
- S32 index = GetHighlightedItem();
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- /* MTK Elvis multitap phonetic input mode */
- i = 0;
- i = InputMethodSetKeyHandler(
- preHandleInputMethodLSKFuncPtrs,
- postHandleInputMethodLSKFuncPtrs,
- gIMEModeArray,
- MMI_FALSE,
- MMI_FALSE);
- #if !defined(__MMI_TOUCH_SCREEN__)
- postHandleInputMethodLSKFuncPtrs[i] = UI_dummy_function;
- preHandleInputMethodLSKFuncPtrs[i++] = EntrySymbolPickerScreenFromMenuList;
- #endif /* !defined(__MMI_TOUCH_SCREEN__) */
- currPreFuncPtr = preHandleInputMethodLSKFuncPtrs[index];
- currPostFuncPtr = postHandleInputMethodLSKFuncPtrs[index];
- /* PMT LANGUAGE START 20051221 */
- #if defined __MMI_LANG_HINDI__ && defined __MMI_LANG_ARABIC__
- if (HINDI_PRESENT)
- {
- /* PMT START LANGUAGE 20060104 */
- #if defined(__MMI_MULTITAP_ARABIC__)
- if (currPreFuncPtr == wgui_change_inputbox_mode_multitap_arabic)
- {
- index++;
- currPreFuncPtr = preHandleInputMethodLSKFuncPtrs[index];
- currPostFuncPtr = postHandleInputMethodLSKFuncPtrs[index];
- }
- else
- #endif /* defined(__MMI_MULTITAP_ARABIC__) */
- if (currPreFuncPtr == wgui_change_inputbox_mode_multitap_HINDI)
- /* PMT END LANGUAGE 20060104 */
- {
- index += 2;
- currPreFuncPtr = preHandleInputMethodLSKFuncPtrs[index];
- currPostFuncPtr = postHandleInputMethodLSKFuncPtrs[index];
- }
- }
- #endif /* defined __MMI_LANG_HINDI__ && defined __MMI_LANG_ARABIC__ */
- /* PMT LANGUAGE END 20051221 */
- if (currPreFuncPtr != NULL)
- {
- (*currPreFuncPtr) ();
- }
- if (currPostFuncPtr != NULL)
- {
- (*currPostFuncPtr) ();
- }
- }
- /*****************************************************************************
- * FUNCTION
- * InputMethodScreenEnglishOnlyHandleLSK
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void InputMethodScreenEnglishOnlyHandleLSK(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U32 i;
- FuncPtr currPreFuncPtr = NULL;
- FuncPtr currPostFuncPtr = NULL;
- S32 index = GetHighlightedItem();
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- /* MTK Elvis multitap phonetic input mode */
- i = 0;
- i = InputMethodSetKeyHandler(
- preHandleInputMethodLSKFuncPtrs,
- postHandleInputMethodLSKFuncPtrs,
- gIMEModeArray,