Res_Setting.c
上传用户:dengyu
上传日期:2022-05-01
资源大小:153k
文件大小:390k
- /*****************************************************************************
- * 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:
- * ---------
- * Res_setting.c
- *
- * Project:
- * --------
- * MAUI
- *
- * Description:
- * ------------
- *
- *
- * Author:
- * -------
- * -------
- *
- *============================================================================
- * HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *------------------------------------------------------------------------------
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *============================================================================
- ****************************************************************************/
- #include "MMI_features.h"
- #include "MMIDataType.h" /* for resource base */
- #include "CustResDef.h" /* for image/audio path */
- #include "CustDataProts.h" /* for resource generator API */
- #include "GlobalMenuItems.h" /* for menu resource */
- #include "SettingResDef.h"
- #include "WallpaperResDef.h"
- #include "mmi_phnset_dispchar.h"
- #include <dirent.h>
- #include "GlobalDefs.h"
- #include "PopulateRes.h"
- #define ISCATEGORY(x) (category & (1 << x))
- #include "PhoneBookResDef.h"
- #include "CallSetUpEnumResDef.h"
- #include "NetworkSetupResDef.h"
- #include "ScheduledPowerOnOffResDef.h"
- #include "OrganizerResDef.h"
- #include "kal_non_specific_general_types.h"
- #include "custom_equipment.h"
- #ifdef __MMI_OP12_TOOLBAR__
- #include "IdleAppResDef.h"
- #endif
- #ifdef __MMI_DUAL_SIM_MASTER__
- #include "MTPNP_AD_resdef.h"
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- #if defined(__MMI_THEMES_APPLICATION__)||defined(__MMI_INNERVATION_WORLD__)
- #include "MMIThemesResDef.h"
- #endif
- typedef enum
- {
- MENU_ENUM_TIME_AND_DATE,
- MENU_ENUM_SETTING_SCHEDULE_POWER,
- MENU_ENUM_SETTING_LANGUAGE,
- #ifdef __MMI_PREFER_INPUT_METHOD__
- MENU_ENUM_SETTING_PREFERED_INPUT_METHOD,
- #endif
- #if defined(__MMI_PREFER_WRITING_LANG__) || defined(__MMI_MIXED_LANG_SUPPORT__)
- MENU_ENUM_SETTING_PREFERED_WRITING_LANG,
- #endif
- #ifdef __MMI_SET_DEF_ENCODING_TYPE__
- MENU_ENUM_SETTING_DEF_ENCODING_TYPE,
- #endif
- MENU_ENUM_IDLE_SCR_DISP,
- #ifdef __MMI_THEMES_APPLICATION__
- MENU_ENUM_THEME, /* Theme, Wen */
- #endif
- #if !defined(__MMI_NO_CONTRAST_LEVEL__)
- MENU_ENUM_SETTING_CONTRAST_LEVEL,
- #endif
- MENU_ENUM_WELCOME_TEXT,
- #if ((!defined(__MMI_VERSION_2__) && !defined(__MMI_OP01_MENU_9MATRIX__)) ||
- (defined(__WIFI_WIZARD_SUPPORT__) && !defined(__MMI_BI_DEGREE_MAIN_MENU_STYLE__))) && !defined(__DISABLE_SHORTCUTS_MENU__)
- MAIN_ENUM_SHORTCUTS,
- #endif
- #if defined(__MMI_DEDICATED_KEY_SHORTCUTS__)
- MENU_ENUM_DEDICATED_KEY,
- #endif
- #if (defined(__MMI_NITZ__) && (!defined(__MMI_AUTOTIMEZONE_IN_DATEANDTIME__)))
- MENU_ENUM_NITZ,
- #endif
- #ifdef __FLIGHT_MODE_SUPPORT__
- #ifndef __MMI_DUAL_SIM_MASTER__
- MENU_ENUM_FLIGHT_MODE,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- #endif
- #ifdef __MMI_TVOUT__
- MENU_ENUM_TVOUT,
- #endif
- #if defined(__MMI_TOUCH_SCREEN__) && !defined(__MMI_NO_HANDWRITING__)
- MENU_ENUM_HANDWRITING,
- #endif
- #ifdef __MMI_CHANGABLE_FONT__
- MENU_ENUM_FONT_SIZE,
- #endif
- /* begin: zhangclc modified at: 2009-12-01 */
- #if defined(__THAI_SUPPORT__)
- #ifdef __MMI_DUAL_SIM_MASTER__
- MENU_ENUM_UART_SETUP,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- #endif
- /* end: zhangclc modified at: 2009-12-01 */
- MENU_ENUM_GPIO_SETTING,
-
- MENU_ENUM_TOTAL_PHONE_SETUP
- } PhoneSetupMenus;
- typedef enum
- {
- #if !defined(HARDWARE_LED_NOT_SUPPORT)
- MMI_GPIO_SET_MENU_LED,
- #endif
- MMI_GPIO_SET_MENU_BKLITE,
- #ifdef __MMI_COVER_CLOSE_SETTING__
- MMI_GPIO_SET_COVER_CLOSE,
- #endif
- MMI_GPIO_SET_MENU_MAX
- }mmi_gpio_set_menu_enum;
- typedef enum
- {
- #ifndef __MMI_HIDE_HOMECITY__
- MENU_SETDT_HOMECITY,
- #endif
- #ifdef __MMI_DUAL_CLOCK__
- MENU_SETDT_FOREIGNCITY,
- #endif
- #ifndef __MMI_SEPARATE_DT_SETTING__
- MENU_SETDT_TIMEANDDATE,
- MENU_SETDT_FORMAT,
- #else /* __MMI_SEPARATE_DT_SETTING__ */
- MENU_SET_DATEANDFORMAT,
- MENU_SET_TIMEANDFORMAT,
- #endif /* __MMI_SEPARATE_DT_SETTING__ */
- #if defined(__MMI_TIMEZONE_CHANGE_DATETIME__)
- MENU_TZ_CHANGE_DATETIME,
- #endif
- #if (defined(__MMI_NITZ__) && defined(__MMI_AUTOTIMEZONE_IN_DATEANDTIME__))
- MENU_SETDT_NITZ,
- #endif
- MENU_SETDT_NUM
- } PhoneSetup_DateNTime_Menus;
- typedef enum
- {
- #ifndef __MMI_REMOVE_CALLER_ID__
- MANAGECALL_CALLER_ID,
- #endif
- #ifndef __MMI_DISABLE_CALL_TIME_DISPLAY__
- MANAGECALL_CALL_TIME_DISPLAY,
- #endif
- #ifndef __MMI_REMOVE_CUG__
- MANAGECALL_CUG,
- #endif
- #ifdef __IP_NUMBER__
- MANAGECALL_IP_NUMBER,
- #endif
- #ifdef __MMI_CM_BLACK_LIST__
- MANAGECALL_BLACK_LIST,
- #endif
- #ifdef __CTM_SUPPORT__
- MANAGECALL_TEXT_PHONE,
- #endif
- MANAGECALL_MENU_ITEM_COUNT
- } managecall_menu_item_enum;
- typedef enum
- {
- DISPCHAR_SETTING_WALLPAPER,
- #ifdef __MMI_SUB_WALLPAPER__
- DISPCHAR_SETTING_SUBLCD_WALLPAPER,
- #endif
- DISPCHAR_SETTING_SCR_SVR,
- #if defined(__MMI_POWER_ON_OFF_DISPLAY__)&&!defined(__R301__)
- DISPCHAR_SETTING_POWER_ON_DISPLAY,
- DISPCHAR_SETTING_POWER_OFF_DISPLAY,
- #endif /* __MMI_POWER_ON_OFF_DISPLAY__ */
- #if defined(__MMI_MAINMENU_STYLE_CHANGE_EN__)&&!defined(__R301__)
- DISPCHAR_SETTING_MAINMENU_STYLE,
- #endif
- #ifdef __MMI_MOTION_DIAL__
- DISPCHAR_SETTING_DIAL_STYLE,
- #endif /* __MMI_MOTION_DIAL__ */
- #ifdef __MMI_VUI_HOMESCREEN__
- DISPCHAR_SETTING_VUI_HOMESCREEN, /* for VUI Interactive screen */
- #endif
- #ifdef __MMI_VUI_MAINMENU__
- DISPCHAR_SETTING_VUI_MAINMENU_EFFECT, /* for VUI MAINMENU effect */
- #endif
- #ifdef __MMI_CALENDAR_ON_IDLE_SCREEN__
- DISPCHAR_SETTING_CALENDAR_IDLESCREEN,
- #endif
- #ifdef __MMI_DUAL_CLOCK__
- #ifndef __MMI_VUI_HOMESCREEN_DUALCLOCK__
- DISPCHAR_SETTING_DUAL_CLOCK_IDLESCREEN,
- #endif /* __MMI_VUI_HOMESCREEN_DUALCLOCK__ */
- #endif /* __MMI_DUAL_CLOCK__ */
- #ifdef __MMI_OP11_HOMESCREEN__
- /* under construction !*/
- #endif /* __MMI_OP11_HOMESCREEN__ */
- #ifdef __MMI_OP12_TOOLBAR__
- DISPCHAR_SETTING_TOOLBAR,
- #endif
- DISPCHAR_SETTING_SHOW_DT_TIME,
- /* begin: zhangclc modified at: 2009-12-08 */
- //DISPCHAR_SETTING_SHOW_OWN_NUMBER,
- /* end: zhangclc modified at: 2009-12-08 */
- #if defined(__MMI_OPERATOR_NAME_MENU__)
- DISPCHAR_SETTING_SHOW_OPN,
- #endif
- #if defined(__MMI_UI_TECHNO_IDLESCREEN_BAR__)
- DISPCHAR_SETTING_IDLE_CLOCK_TYPE,
- #endif
- #ifdef __MMI_SCREEN_SWITCH_EFFECT__
- DISPCHAR_SETTING_SCREEN_SWITCH_EFFECT,
- #endif /* __MMI_SCREEN_SWITCH_EFFECT__ */
- DISPCHAR_MENU_ITEM_COUNT
- } dispchar_menu_item_enum;
- #ifdef __MMI_MAINMENU_STYLE_CHANGE_EN__
- typedef enum
- {
- #ifdef __MMI_MAINMENU_MATRIX_SUPPORT__
- MAINMENU_STYLE_MATRIX,
- #endif
- #ifdef __MMI_MAINMENU_PAGE_SUPPORT__
- #ifndef __MMI_TOUCH_SCREEN__
- MAINMENU_STYLE_PAGE,
- #endif
- #endif /* __MMI_MAINMENU_PAGE_SUPPORT__ */
- #ifdef __MMI_MAINMENU_LIST_SUPPORT__
- MAINMENU_STYLE_LIST,
- #endif
- #ifdef __MMI_MAINMENU_CIRCULAR_SUPPORT__
- MAINMENU_STYLE_CIRCULAR,
- #endif
- #ifdef __MMI_MAINMENU_ROTATE_SUPPORT__
- MAINMENU_STYLE_ROTATE,
- #endif
- MAINMENU_STYLE_COUNT
- } mainmenu_style_enum;
- #endif /* __MMI_MAINMENU_STYLE_CHANGE_EN__ */
- typedef enum
- {
- DISPSEL_MENU_SYS,
- #ifndef __MMI_DISPLAY_CHAR_HIDE_MENU_FROM_FILE__
- DISPSEL_MENU_USER,
- #endif
- #ifdef __MMI_AVATAR__
- DISPSEL_MENU_AVATAR,
- #endif
- DISPSEL_MENU_TOTAL
- } dispsel_menu_enum;
- typedef enum
- {
- AUTODISP_IMG_START,
- AUTODISP_IMG_MAX,
- AUTODISP_ANALOG_CLK,
- AUTODISP_DIGITAL_CLK,
- AUTODISP_VDO_START = AUTODISP_ANALOG_CLK,
- AUTODISP_VDO_MAX = AUTODISP_DIGITAL_CLK,
- AUTODISP_MAX
- } autodisp_enum;
- typedef enum
- {
- AUTODISP_CATEGORY_IMG = 0x0020,
- AUTODISP_CATEGORY_VDO = 0x0040,
- AUTODISP_CATEGORY_MB = 0x0080,
- AUTODISP_CATEGORY_SB = 0x0100,
- AUTODISP_CATEGORY_ANALOG = 0x0200,
- AUTODISP_CATEGORY_DIGITAL = 0x0400,
- AUTODISP_CATEGORY_SWFLASH = 0x0800,
- AUTODISP_CATEGORY_MAX
- } autodisp_category_enum;
- FILE *res_log; /* for log */
- void PopulateDisplayChar(void);
- #ifdef __MMI_FREETYPE_SETTING_SUPPORT__
- void PopulateFreeType(void)
- {
- ADD_APPLICATION_STRING(STR_ID_PHNSET_FREETYPE_SETTING, "Font size");
- ADD_APPLICATION_STRING(STR_ID_PHNSET_FREETYPE_SMALL, "Small font");
- ADD_APPLICATION_STRING(STR_ID_PHNSET_FREETYPE_MEDIUM, "Medium font");
- ADD_APPLICATION_STRING(STR_ID_PHNSET_FREETYPE_LARGE, "Large font");
-
- ADD_APPLICATION_MENUITEM2((MENU_ID_PHNSET_FREETYPE_SETTING, MENU9102_INITIAL_SETUP,
- MENU_ID_PHNSET_FREETYPE_SMALL,
- MENU_ID_PHNSET_FREETYPE_MEDIUM,
- MENU_ID_PHNSET_FREETYPE_LARGE,
- MENU_ITEM_END,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_PHNSET_FREETYPE_SETTING, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_FREETYPE_SMALL, MENU_ID_PHNSET_FREETYPE_SETTING, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_PHNSET_FREETYPE_SMALL, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_FREETYPE_MEDIUM, MENU_ID_PHNSET_FREETYPE_SETTING, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_PHNSET_FREETYPE_MEDIUM, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_FREETYPE_LARGE, MENU_ID_PHNSET_FREETYPE_SETTING, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_PHNSET_FREETYPE_LARGE, 0));
- }
- #endif
- #ifdef __MMI_INNERVATION_WORLD__
- void PopulateInnerWorResDate(void)
- {
- ADD_APPLICATION_MENUITEM((MENU_ID_INNERVATION_WORLD, MENU9102_INITIAL_SETUP,
- #if defined(__MMI_TV_PLAYER__)
- 1+
- #endif
- 6,
- MENU_ID_DYNAMIC_WALLPAPER,
- #if defined(__MMI_TV_PLAYER__)
- MENU_ID_TV_FULLSCREEN_SWITCH,
- #endif
- MENU_ID_VDO_FULLSCREEN_SWITCH,
- MENU_ID_ROCK_SONG_SWITCH,
- MENU_ID_CALLIN_MODE,
- MENU_ID_LAZYBOOTS_CLOCK,
- MENU_ID_FMCHNL_SWITCH,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_INNERVATION_WORLD, IMG_INNERVATION_WORLD));
- /*2008/10/07 heww modify*/
- /*
- ADD_APPLICATION_MENUITEM((MENU_ID_DYNAMIC_WALLPAPER, MENU_ID_INNERVATION_WORLD, 2,
- MENU_ID_DYNAMIC_WALLPAPER_SETTING,
- MENU_ID_DYNAMIC_WALLPAPER_INSTRUCTIONS,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_DYNAMIC_WALLPAPER, 0));
- */
- ADD_APPLICATION_MENUITEM((MENU_ID_DYNAMIC_WALLPAPER, MENU_ID_INNERVATION_WORLD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_DYNAMIC_WALLPAPER, 0));
- #if defined(__MMI_TV_PLAYER__)
- ADD_APPLICATION_MENUITEM((MENU_ID_TV_FULLSCREEN_SWITCH, MENU_ID_INNERVATION_WORLD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_TV_FULLSCREEN_MODE_SWITCH, 0));
- #endif
- ADD_APPLICATION_MENUITEM((MENU_ID_VDO_FULLSCREEN_SWITCH, MENU_ID_INNERVATION_WORLD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_VDO_FULLSCREEN_MODE_SWITCH, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_ROCK_SONG_SWITCH, MENU_ID_INNERVATION_WORLD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_ROCK_SONG_SWITCH, 0));
- /*
- ADD_APPLICATION_MENUITEM((MENU_ID_CALLIN_MODE, MENU_ID_INNERVATION_WORLD, 1,
- MENU_ID_CALLIN_SILENT,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLIN_MODE, 0));
- */
- ADD_APPLICATION_MENUITEM((MENU_ID_CALLIN_MODE, MENU_ID_INNERVATION_WORLD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLIN_MODE, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_LAZYBOOTS_CLOCK, MENU_ID_INNERVATION_WORLD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_LAZYBOOTS_CLOCK, 0));
- /* begin: zhangclc added at 2010-02-05 */
- ADD_APPLICATION_MENUITEM((MENU_ID_FMCHNL_SWITCH, MENU_ID_INNERVATION_WORLD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_FM_CHNL_SWITCH, 0));
- /* end: zhangclc added at 2010-02-05 */
-
- /*2008/10/07 heww modify*/
- /*
- ADD_APPLICATION_MENUITEM((MENU_ID_DYNAMIC_WALLPAPER_SETTING, MENU_ID_DYNAMIC_WALLPAPER, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_DYNAMIC_WALLPAPER_SETTING, 0));
-
- ADD_APPLICATION_MENUITEM((MENU_ID_DYNAMIC_WALLPAPER_INSTRUCTIONS, MENU_ID_DYNAMIC_WALLPAPER, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_DYNAMIC_WALLPAPER_INSTRUCTIONS, 0));
-
- ADD_APPLICATION_MENUITEM((MENU_ID_CALLIN_SILENT, MENU_ID_CALLIN_MODE, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLIN_SILENT, 0));
- */
- ADD_APPLICATION_STRING2(STR_ID_INNERVATION_WORLD, "Innervation World", "Innervation World.");
- ADD_APPLICATION_STRING2(STR_ID_DYNAMIC_WALLPAPER, "Dynamic Wallpaper", "Dynamic Wallpaper.");
- /*2008/10/07 heww modify*/
- //ADD_APPLICATION_STRING2(STR_ID_DYNAMIC_WALLPAPER_SETTING, "Dynamic Wallpaper Setting", "Dynamic Wallpaper Setting.");
- //ADD_APPLICATION_STRING2(STR_ID_DYNAMIC_WALLPAPER_INSTRUCTIONS, "Dynamic Wallpaper Setting Instruction", "Dynamic Wallpaper Setting Instructions.");
- #if defined(__MMI_TV_PLAYER__)
- ADD_APPLICATION_STRING2(STR_ID_TV_FULLSCREEN_MODE_SWITCH, "TV Fullscreen Switch", "TV Fullscreen Switch.");
- #endif
- ADD_APPLICATION_STRING2(STR_ID_VDO_FULLSCREEN_MODE_SWITCH, "VDO Fullscreen Switch", "VDO Fullscreen Switch.");
- ADD_APPLICATION_STRING2(STR_ID_ROCK_SONG_SWITCH, "Rock Songs Switch", "Rock Songs Switch.");
- ADD_APPLICATION_STRING2(STR_ID_CALLIN_MODE, "Call in Mode", "Call in Mode.");
- //ADD_APPLICATION_STRING2(STR_ID_CALLIN_SILENT, "Silent Mode", "Silent Mode.");
- ADD_APPLICATION_STRING2(STR_ID_LAZYBOOTS_CLOCK, "Lazyboots Alarm Clock", "Lazyboots Alarm Clock.");
- ADD_APPLICATION_STRING2(STR_ID_FM_CHNL_SWITCH, "FM radio channel switch", "FM radio channel switch.");
- ADD_APPLICATION_IMAGE2(
- IMG_INNERVATION_WORLD,
- CUST_IMG_PATH "\\MainLCD\\Submenu\\SB_VE.bmp",
- "Setting Submenu image for innervation world.");
-
- }
- #endif
- /*****************************************************************************
- * FUNCTION
- * PopulateCallBarring
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateCallBarring()
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU8237_SCR8093_MNGCALL_MENU_BARRING,
- #ifdef __MMI_UCM__
- #ifdef __MMI_DUAL_SIM_MASTER__
- MENU_ID_UCM_CALL_SETTING_SIM1,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- MENU_ID_UCM_CALL_SETTING,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- #else /* __MMI_UCM__ */
- MENU8237_SCR8093_MNGCALL_MENU_MAIN,
- #endif /* __MMI_UCM__ */
- 5,
- MENU_CALL_BARRING_OUTGOING,
- MENU_CALL_BARRING_INCOMING,
- MENU_CALL_BARRING_ACTIVATEALL,
- MENU_CALL_BARRING_CANCELALL,
- MENU_CALL_BARRING_CHANGEPASS, SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALL_BARRING, NULL));
- ADD_APPLICATION_MENUITEM((MENU_CALL_BARRING_CANCELALL,
- MENU_BARRING_MAIN, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALL_BARRING_CANCELALL, NULL));
- ADD_APPLICATION_MENUITEM((MENU_CALL_BARRING_ACTIVATEALL,
- MENU_BARRING_MAIN, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALL_BARRING_ACTIVATEALL, NULL));
- ADD_APPLICATION_MENUITEM((MENU_CALL_BARRING_CHANGEPASS,
- MENU_BARRING_MAIN, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALL_BARRING_CHANGEPASS, NULL));
- ADD_APPLICATION_STRING2(STR_MENU_CALL_BARRING, "Call Barring", "STR MENU CALL BARRING");
- ADD_APPLICATION_STRING2(STR_MENU_CALL_BARRING_CANCELALL, "Cancel All", "STR_MENU_CALL_BARRING_CANCELALL");
-
- ADD_APPLICATION_STRING2(STR_MENU_CALL_BARRING_ACTIVATEALL, "Activate All", "STR_MENU_CALL_BARRING_ACTIVATEALL");
- ADD_APPLICATION_STRING2(STR_MENU_CALL_BARRING_CHANGEPASS, "Change Barring Password", "STR_MENU_CALL_BARRING_CHANGEPASS");
- ADD_APPLICATION_MENUITEM((MENU_CALL_BARRING_OUTGOING,
- MENU8237_SCR8093_MNGCALL_MENU_BARRING, 3,
- MENU_BARRING_OUTGOING_ALLCALLS,
- MENU_BARRING_OUTGOING_INTERCALL,
- MENU_BARRING_OUTGOING_INTEREXCEPTHOME,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_OUT_CALLS_MAIN, NULL));
- ADD_APPLICATION_MENUITEM((MENU_BARRING_OUTGOING_ALLCALLS,
- MENU_CALL_BARRING_OUTGOING, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_OUTGOING_ALLCALLS, NULL));
- ADD_APPLICATION_MENUITEM((MENU_BARRING_OUTGOING_INTERCALL,
- MENU_CALL_BARRING_OUTGOING, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_OUTGOING_INTERCALL, NULL));
- ADD_APPLICATION_MENUITEM((MENU_BARRING_OUTGOING_INTEREXCEPTHOME,
- MENU_CALL_BARRING_OUTGOING, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_OUTGOING_INTEREXCEPTHOME, NULL));
- ADD_APPLICATION_STRING2(STR_MENU_BARRING_OUT_CALLS_MAIN, "Outgoing Calls ", "STR_MENU_BARRING_OUT_CALLS_MAIN");
- ADD_APPLICATION_STRING2(STR_MENU_BARRING_OUTGOING_ALLCALLS, "All Calls ", "STR_MENU_BARRING_OUTGOING_ALLCALLS");
- ADD_APPLICATION_STRING2(
- STR_MENU_BARRING_OUTGOING_INTERCALL,
- "International Calls ",
- "STR_MENU_BARRING_OUTGOING_INTERCALL");
- ADD_APPLICATION_STRING2(
- STR_MENU_BARRING_OUTGOING_INTEREXCEPTHOME,
- "International Calls Except To Home PLMN",
- "MENU_BARRING_OUTGOING_INTEREXCEPTHOME");
- ADD_APPLICATION_MENUITEM((MENU_CALL_BARRING_INCOMING,
- MENU8237_SCR8093_MNGCALL_MENU_BARRING, 2,
- MENU_BARRING_INCOMING_ALLCALLS,
- MENU_BARRING_INCOMING_ROAMING,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_INCOMING_MAIN, NULL));
- ADD_APPLICATION_MENUITEM((MENU_BARRING_INCOMING_ALLCALLS,
- MENU_CALL_BARRING_INCOMING, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_INCOMING_ALLCALLS, NULL));
- ADD_APPLICATION_MENUITEM((MENU_BARRING_INCOMING_ROAMING,
- MENU_CALL_BARRING_INCOMING, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_INCOMING_ROAMING, NULL));
- ADD_APPLICATION_STRING2(STR_MENU_BARRING_INCOMING_MAIN, "Incoming Calls ", "STR_MENU_BARRING_INCOMING_MAIN");
- ADD_APPLICATION_STRING2(STR_MENU_BARRING_INCOMING_ALLCALLS, "All Calls ", "STR_MENU_BARRING_INCOMING_ALLCALLS");
- ADD_APPLICATION_STRING2(STR_MENU_BARRING_INCOMING_ROAMING, "When Roaming ", "STR_MENU_BARRING_INCOMING_ROAMING");
- ADD_APPLICATION_MENUITEM((MENU_BARRING_OPTION,
- 0, 3,
- MENU_BARRING_ACTIVATE,
- MENU_BARRING_DEACTIVATE,
- MENU_BARRING_QUERY, SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_OPTION, NULL));
- ADD_APPLICATION_MENUITEM((MENU_BARRING_ACTIVATE,
- MENU_BARRING_OPTION, 0, SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_ACTIVATE, NULL));
- ADD_APPLICATION_MENUITEM((MENU_BARRING_DEACTIVATE,
- MENU_BARRING_OPTION, 0, SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_DEACTIVATE, NULL));
- ADD_APPLICATION_MENUITEM((MENU_BARRING_QUERY,
- MENU_BARRING_OPTION, 0, SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_QUERY, NULL));
- ADD_APPLICATION_STRING2(STR_MENU_BARRING_OPTION, "Call Barring Options", "STR_MENU_BARRING_OPTION");
- ADD_APPLICATION_STRING2(STR_MENU_BARRING_QUERY, "Query Status", "STR_MENU_BARRING_QUERY");
- ADD_APPLICATION_STRING2(STR_BARRING_OUTGOING_CALL_CAPTION, "Outgoing Calls ", "STR_SCR_ACTIVATE_DEACTIVATE_RSK");
- ADD_APPLICATION_STRING2(STR_BARRING_PASSWORD_CAP, "Call Barring Password ", "STR_BARRING_PASSWORD_CAP");
- ADD_APPLICATION_IMAGE2(IMG_BARRING_ACIVATE_CAP, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "IMG_BARRING_ACIVATE_CAP ");
- ADD_APPLICATION_IMAGE2(
- IMG_BARRING_DEACTIVATE_CAP,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "IMG_BARRING_DEACTIVATE_CAP ");
- ADD_APPLICATION_STRING2(STR_OLD_BARRINGPASS_CAP, "Old Password", "STR_OLD_BARRINGPASS_CAP");
- ADD_APPLICATION_STRING2(STR_NEW_BARRINGPASS_CAP, "New Password", "STR_NEW_BARRINGPASS_CAP");
- ADD_APPLICATION_STRING2(STR_CONFIRM_BARRINGPASS_CAP, "Confirm New Password", "STR_CONFIRM_BARRINGPASS_CAP");
- ADD_APPLICATION_IMAGE2(IMG_BARING_CAP, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "IMG_BARING_CAP ");
- ADD_APPLICATION_STRING2(
- STR_CHANGE_PSW_SUCCESS_TEXT,
- "Barring Password Changed Successfully !!",
- "STR_CHANGE_PSW_SUCCESS_TEXT");
- ADD_APPLICATION_STRING2(STR_BAOC_A, "Barring All Outgoing Calls ", "Barring All Outgoing Calls.");
- ADD_APPLICATION_STRING2(
- STR_BOIC_A,
- "Barring Outgoing International Calls ",
- "Barring Outgoing International Calls.");
- ADD_APPLICATION_STRING2(
- STR_BOICEXHC_A,
- "Barring Outgoing International Calls Except To Home PLMN ",
- "Barring Outgoing International Calls Except To Home PLMN.");
- ADD_APPLICATION_STRING2(STR_BAIC_A, "Barring All Incoming Calls ", "Barring All Incoming Calls.");
- ADD_APPLICATION_STRING2(
- STR_BAICROAM_A,
- "Barring All Incoming Calls When Roaming ",
- "Barring All Incoming Calls When Roaming.");
- ADD_APPLICATION_STRING2(STR_BAC_A, "Barring All Calls ", "Barring All Calls.");
- ADD_APPLICATION_STRING2(STR_BOC_A, "Barring Outgoing Calls ", "Barring Outgoing Calls.");
- ADD_APPLICATION_STRING2(STR_BIC_A, "Barring Incoming Calls ", "Barring Incoming Calls.");
- ADD_APPLICATION_STRING2(STR_DEFAULT_A, "Unknown Barring Service Type ", "Unknown Barring Service Type.");
- ADD_APPLICATION_STRING2(STR_ACTIVATED, "activatedn", "Activated.");
- ADD_APPLICATION_STRING2(STR_DEACTIVATED, "deactivatedn", "Deactivated.");
- ADD_APPLICATION_STRING2(STR_NOT_PROVIDED, "not providedn", "Not Provided.");
- ADD_APPLICATION_STRING2(STR_SECONDS, "Seconds ", "Seconds.");
- ADD_APPLICATION_STRING2(STR_BOTH_LINES, "On Both Lines ", "On Both Lines ");
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_SCR8093_MNGCALL_MENU_BARRING, HighlightCALLSETCallBarring);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_BARRING_OUTGOING, HighlightCALLSETCallBarringOutgoing);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_BARRING_INCOMING, HighlightCALLSETCallBarringIncoming);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_BARRING_CANCELALL, HighlightCALLSETCallBarringCancelAll);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_BARRING_ACTIVATEALL, HighlightCALLSETCallBarringActivateAll);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_BARRING_CHANGEPASS, HighlightCALLSETCallBarringChangePwd);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_OUTGOING_ALLCALLS, HighlightCALLSETCallBarringAllOutCalls);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_OUTGOING_INTERCALL, HighlightCALLSETCallBarringAllOutInter);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_OUTGOING_INTEREXCEPTHOME, HighlightCALLSETCallBarringAllOutInterExcHome);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_INCOMING_ALLCALLS, HighlightCALLSETCallBarringAllInCalls);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_INCOMING_ROAMING, HighlightCALLSETCallBarringAllInRoaming);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_ACTIVATE, HighlightCALLSETCallBarringActive);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_DEACTIVATE, HighlightCALLSETCallBarringDeactive);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_QUERY, HighlightCALLSETCallBarringQuery);
- }
- /*****************************************************************************
- * FUNCTION
- * PopulateCallForward
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateCallForward(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM2((MENU8237_SCR8093_MNGCALL_MENU_FWD,
- #ifdef __MMI_UCM__
- #ifdef __MMI_DUAL_SIM_MASTER__
- MENU_ID_UCM_CALL_SETTING_SIM1,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- MENU_ID_UCM_CALL_SETTING,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- #else /* __MMI_UCM__ */
- MENU8237_SCR8093_MNGCALL_MENU_MAIN,
- #endif /* __MMI_UCM__ */
- MENU8238_MNGCALL_CALFWD_VOICECALL,
- MENU8239_CALFWD_VOICECALL_UNREACHABLE,
- MENU8239_CALFWD_VOICECALL_NOANSWER,
- MENU8239_CALFWD_VOICECALL_BUSY,
- #ifdef __MMI_SS_CF_ALLCOND_MENU__
- MENU8239_CALFWD_VOICECALL_ALLCOND,
- #endif
- #ifdef __MMI_VIDEO_TELEPHONY__
- MENU_ID_CALFWD_VIDEO_ALL,
- MENU_ID_CALFWD_VIDEO_UNREACHABLE,
- MENU_ID_CALFWD_VIDEO_NOANSWER,
- MENU_ID_CALFWD_VIDEO_BUSY,
- #ifdef __MMI_SS_CF_ALLCOND_MENU__
- MENU_ID_CALFWD_VIDEO_ALL_COND,
- #endif /* __MMI_SS_CF_ALLCOND_MENU__ */
- #endif /* __MMI_VIDEO_TELEPHONY__ */
- MENU8238_MNGCALL_CALFWD_DATACALL,
- MENU_CALL_FWD_CANCELALL,
- MENU_ITEM_END,
- SHOW, SHORTCUTABLE, DISP_LIST, STR_MENU8238_MNGCALL_CALLFWD_CAPTION, NULL));
- ADD_APPLICATION_MENUITEM((MENU8238_MNGCALL_CALFWD_VOICECALL,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8238_MNGCALL_CALLFWD_VOICE, NULL));
- ADD_APPLICATION_MENUITEM((MENU_CALL_FWD_CANCELALL,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALL_FWD_CANCELALL, NULL));
- ADD_APPLICATION_MENUITEM((MENU8238_MNGCALL_CALFWD_DATACALL,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8238_MNGCALL_CALLFWD_DATA, NULL));
- ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_UNREACHABLE,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST,
- #ifdef __MMI_VIDEO_TELEPHONY__
- STR_ID_CALLFWD_VOICE_UNREACHABLE,
- #else /* __MMI_VIDEO_TELEPHONY__ */
- STR_MENU8239_CALFWD_VOICECALL_UNREACHABLE,
- #endif /* __MMI_VIDEO_TELEPHONY__ */
- NULL));
- ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_NOANSWER,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST,
- #ifdef __MMI_VIDEO_TELEPHONY__
- STR_ID_CALLFWD_VOICE_NOANSWER,
- #else /* __MMI_VIDEO_TELEPHONY__ */
- STR_MENU8239_CALFWD_VOICECALL_NOANSWER,
- #endif /* __MMI_VIDEO_TELEPHONY__ */
- NULL));
- ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_ALLCOND,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST,
- #ifdef __MMI_VIDEO_TELEPHONY__
- STR_ID_CALLFWD_VOICE_ALL_COND,
- #else /* __MMI_VIDEO_TELEPHONY__ */
- STR_MENU8239_CALFWD_VOICECALL_ALLCOND,
- #endif /* __MMI_VIDEO_TELEPHONY__ */
- NULL));
- ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS,
- 0, 6,
- MENU_NOANSWER_TIME_05_SECONDS,
- MENU_NOANSWER_TIME_10_SECONDS,
- MENU_NOANSWER_TIME_15_SECONDS,
- MENU_NOANSWER_TIME_20_SECONDS,
- MENU_NOANSWER_TIME_25_SECONDS,
- MENU_NOANSWER_TIME_30_SECONDS,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, NULL));
- ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_05_SECONDS,
- MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_05_SECONDS, NULL));
- ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_10_SECONDS,
- MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_10_SECONDS, NULL));
- ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_15_SECONDS,
- MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_15_SECONDS, NULL));
- ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_20_SECONDS,
- MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_20_SECONDS, NULL));
- ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_25_SECONDS,
- MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_25_SECONDS, NULL));
- ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_30_SECONDS,
- MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_30_SECONDS, NULL));
- ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_BUSY,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST,
- #ifdef __MMI_VIDEO_TELEPHONY__
- STR_ID_CALLFWD_VOICE_BUSY,
- #else /* __MMI_VIDEO_TELEPHONY__ */
- STR_MENU8239_CALFWD_VOICECALL_BUSY,
- #endif /* __MMI_VIDEO_TELEPHONY__ */
- NULL));
- ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_UNCONDITIONALY,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8239_CALFWD_VOICECALL_UNCONDITIONALY, NULL));
- ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_VIDEO_ALL,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLFWD_VIDEO_ALL, NULL));
- ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_VIDEO_UNREACHABLE,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLFWD_VIDEO_UNREACHABLE, NULL));
- ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_VIDEO_NOANSWER,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLFWD_VIDEO_NOANSWER, NULL));
- ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_VIDEO_BUSY,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLFWD_VIDEO_BUSY, NULL));
- ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_VIDEO_ALL_COND,
- MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLFWD_VIDEO_ALL_COND, NULL));
-
- ADD_APPLICATION_MENUITEM((MENU8240_MNGCALL_CALLFWD_FWD_OPTION,
- 0, 3,
- MENU8240_MNGCALL_CALLFWD_FWD_ON,
- MENU8240_MNGCALL_CALLFWD_FWD_OFF,
- MENU8240_MNGCALL_CALLFWD_FWD_QUERY,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8240_MNGCALL_CALLFWD_FWD_OPTION, NULL));
- ADD_APPLICATION_MENUITEM((MENU8240_MNGCALL_CALLFWD_FWD_ON,
- MENU8240_MNGCALL_CALLFWD_FWD_OPTION, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_ACTIVATE, NULL));
- ADD_APPLICATION_MENUITEM((MENU8240_MNGCALL_CALLFWD_FWD_OFF,
- MENU8240_MNGCALL_CALLFWD_FWD_OPTION, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_DEACTIVATE, NULL));
- ADD_APPLICATION_MENUITEM((MENU8240_MNGCALL_CALLFWD_FWD_QUERY,
- MENU8240_MNGCALL_CALLFWD_FWD_OPTION, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8240_MNGCALL_CALLFWD_FWD_QUERY, NULL));
- ADD_APPLICATION_STRING2(STR_MENU8238_MNGCALL_CALLFWD_CAPTION, "Call Divert ", "CALL FWD MAIN SCREEN CAPTION ");
- ADD_APPLICATION_STRING2(
- SCR_CALL_FWD_ENTER_NO_ANSWER_TIME_CAP,
- "No Answer Time",
- "SCR_CALL_FWD_ENTER_NO_ANSWER_TIME_CAP ");
- ADD_APPLICATION_STRING2(
- STR_MENU8238_MNGCALL_CALLFWD_VOICE,
- "Divert All Voice Calls",
- " CALL FORWARD MAIN SCREEN VOICE CALL OPTION");
- ADD_APPLICATION_STRING2(
- STR_MENU8238_MNGCALL_CALLFWD_DATA,
- "Divert All Data Calls",
- " CALL FORWARD MAIN SCREEN DATA CALL OPTION");
- ADD_APPLICATION_STRING2(
- STR_MENU8239_CALFWD_VOICECALL_UNREACHABLE,
- "Divert If Unreachable",
- " CALL FORWARD VOICE CALLS OPTION UNREACHABLE");
- ADD_APPLICATION_STRING2(
- STR_MENU8239_CALFWD_VOICECALL_NOANSWER,
- "Divert If No Answer",
- " CALL FORWARD VOICE CALLS OPTION NO ANSWER ");
- ADD_APPLICATION_STRING2(
- STR_MENU8239_CALFWD_VOICECALL_ALLCOND,
- "Divert For All Conditional",
- " CALL FORWARD VOICE CALLS OPTION ALL CONDITIONAL ");
- ADD_APPLICATION_STRING2(
- STR_MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS,
- "Divert If No Answer Options",
- " CALL FORWARD VOICE CALLS OPTION NO ANSWER ");
- ADD_APPLICATION_STRING2(
- STR_MENU8239_CALFWD_VOICECALL_BUSY,
- "Divert If Busy",
- " CALL FORWARD VOICE CALLS OPTION IF BUSY ");
- ADD_APPLICATION_STRING2(
- STR_MENU8239_CALFWD_VOICECALL_UNCONDITIONALY,
- "Unconditional",
- " CALL FORWARD VOICE CALLS OPTION UNCONDITIONAL ");
- ADD_APPLICATION_STRING2(
- STR_ID_CALLFWD_VIDEO_ALL,
- "Divert All Video Calls",
- " CALL FORWARD MAIN SCREEN VIDEO CALL OPTION");
- ADD_APPLICATION_STRING2(
- STR_ID_CALLFWD_VIDEO_UNREACHABLE,
- "Divert Video Calls If Unreachable",
- " CALL FORWARD VIDEO CALLS OPTION UNREACHABLE");
- ADD_APPLICATION_STRING2(
- STR_ID_CALLFWD_VIDEO_NOANSWER,
- "Divert Video Calls If No Answer",
- " CALL FORWARD VIDEO CALLS OPTION NO ANSWER ");
- ADD_APPLICATION_STRING2(
- STR_ID_CALLFWD_VIDEO_BUSY,
- "Divert Video Calls If Busy",
- " CALL FORWARD VIDEO CALLS OPTION IF BUSY ");
- ADD_APPLICATION_STRING2(
- STR_ID_CALLFWD_VIDEO_ALL_COND,
- "Divert Video Calls For All Conditional",
- " CALL FORWARD VIDEO CALLS OPTION ALL CONDITIONAL ");
-
- ADD_APPLICATION_STRING2(
- STR_ID_CALLFWD_VOICE_UNREACHABLE,
- "Divert Voice Calls If Unreachable",
- " CALL FORWARD VOICE CALLS OPTION UNREACHABLE");
- ADD_APPLICATION_STRING2(
- STR_ID_CALLFWD_VOICE_NOANSWER,
- "Divert Voice Calls If No Answer",
- " CALL FORWARD VOICE CALLS OPTION NO ANSWER ");
- ADD_APPLICATION_STRING2(
- STR_ID_CALLFWD_VOICE_BUSY,
- "Divert Voice Calls If Busy",
- " CALL FORWARD VOICE CALLS OPTION IF BUSY ");
- ADD_APPLICATION_STRING2(
- STR_ID_CALLFWD_VOICE_ALL_COND,
- "Divert Voice Calls For All Conditional",
- " CALL FORWARD VOICE CALLS OPTION ALL CONDITIONAL ");
- ADD_APPLICATION_STRING2(STR_MENU_CALL_FWD_CANCELALL, "Cancel All Divert ", " STR_MENU_CALL_FWD_CANCELALL ");
- ADD_APPLICATION_STRING2(STR_05_SECONDS, " 5 Seconds", "5 Seconds");
- ADD_APPLICATION_STRING2(STR_10_SECONDS, " 10 Seconds", "10 Seconds");
- ADD_APPLICATION_STRING2(STR_15_SECONDS, " 15 Seconds", "15 Seconds");
- ADD_APPLICATION_STRING2(STR_20_SECONDS, " 20 Seconds", "20 Seconds");
- ADD_APPLICATION_STRING2(STR_25_SECONDS, " 25 Seconds", "25 Seconds");
- ADD_APPLICATION_STRING2(STR_30_SECONDS, " 30 Seconds", "30 Seconds");
- ADD_APPLICATION_STRING2(
- STR_MENU8240_MNGCALL_CALLFWD_FWD_OPTION,
- "Call Divert Options",
- "CALL FRWD OPTIONS CAPTION ");
- ADD_APPLICATION_STRING2(STR_MENU8240_MNGCALL_CALLFWD_FWD_QUERY, "Query Status", "CALL FRWD QUERY OPTION ");
- ADD_APPLICATION_STRING2(STR_CALL_FWD_ENTER_NUM_CAP, "Divert Number", "STR_CALL_FWD_ENTER_NUM_CAP");
- #ifndef __BW_MMI__
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8103_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL FORWARD VOICE CALL SCREEN CAPTION IMAGE ");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8105_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL FORWARD OPTIONS RSK IMAGE ");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8106_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL FORWARD ON SUCCESS CAPTION ");
- ADD_APPLICATION_IMAGE2(IMG_SCR8107_CAPTION, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "CALL FORWARD ON FAIL CAPTION ");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8108_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL FORWARD QUERY FAIL CAPTION ");
- #endif /* __BW_MMI__ */
- ADD_APPLICATION_STRING2(STR_HASH_VALUE, "#", "STR_HASH_VALUE");
- ADD_APPLICATION_STRING2(STR_L4_CFU, "Call Forward Unconditional ", "Call Forward Unconditional.");
- ADD_APPLICATION_STRING2(STR_L4_CFB, "Call Forward When Busy ", "Call Forward When Busy.");
- ADD_APPLICATION_STRING2(STR_L4_CFNRY, "Call Forward When Not Reply ", "Call Forward When Not Reply");
- ADD_APPLICATION_STRING2(STR_L4_CFNRC, "Call Forward When Not Reachable ", "Call Forward When Not Reachable");
- ADD_APPLICATION_STRING2(STR_L4_CFA, "All Call Forward ", "All Call Forward");
- ADD_APPLICATION_STRING2(STR_L4_CFC, "All Conditional Call Forward ", "All Conditional Call Forward");
- ADD_APPLICATION_STRING2(STR_FWD_UNKNOWN_SERVICE, "Unknown Service Type ", "Unknown Service Type");
- ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_TO_OPTION,
- 0, 2,
- MENU_ID_CALFWD_TO_NEW_NUMBER,
- MENU_ID_CALFWD_TO_VM,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALFWD_TO_OPTION, NULL));
- ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_TO_NEW_NUMBER,
- MENU_ID_CALFWD_TO_OPTION, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALFWD_TO_NEW_NUMBER, NULL));
- ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_TO_VM,
- MENU_ID_CALFWD_TO_OPTION, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALFWD_TO_VM, NULL));
- ADD_APPLICATION_STRING2(STR_ID_CALFWD_TO_OPTION, "Divert To", "Divert option");
- ADD_APPLICATION_STRING2(STR_ID_CALFWD_TO_NEW_NUMBER, "To New Number", "Divert to new number");
- ADD_APPLICATION_STRING2(STR_ID_CALFWD_TO_VM, "To Voice Mail", "divert to voice mail");
- ADD_APPLICATION_STRING2(STR_CALL_SETUP_PERIOD, ".", "period for call setup result");
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_SCR8093_MNGCALL_MENU_FWD, HighlightCALLSETCallFwd);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8238_MNGCALL_CALFWD_VOICECALL, HighlightCALLSETCallFwdVoice);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8238_MNGCALL_CALFWD_DATACALL, HighlightCALLSETCallFwdData);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8239_CALFWD_VOICECALL_UNREACHABLE, HighlightCALLSETCallFwdUnreach);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8239_CALFWD_VOICECALL_NOANSWER, HighlightCALLSETCallFwdNoAns);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8239_CALFWD_VOICECALL_ALLCOND, HighlightCALLSETCallFwdAllCond);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8239_CALFWD_VOICECALL_BUSY, HighlightCALLSETCallFwdBusy);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8240_MNGCALL_CALLFWD_FWD_ON, HighlightCALLSETCallFwdOn);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8240_MNGCALL_CALLFWD_FWD_OFF, HighlightCALLSETCallFwdOff);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8240_MNGCALL_CALLFWD_FWD_QUERY, HighlightCALLSETCallFwdQuery);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_FWD_CANCELALL, HighlightCALLSETCallFwdCancelAll);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_TO_NEW_NUMBER, mmi_callfwd_highlight_foward_to_new_number);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_TO_VM, mmi_callfwd_highlight_foward_to_vm);
- #ifdef __MMI_VIDEO_TELEPHONY__
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_VIDEO_ALL, HighlightCALLSETCallFwdVideo);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_VIDEO_UNREACHABLE, HighlightCALLSETCallFwdVideoUnreach);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_VIDEO_BUSY, HighlightCALLSETCallFwdVideoBusy);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_VIDEO_NOANSWER, HighlightCALLSETCallFwdVideoNoAns);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_VIDEO_ALL_COND, HighlightCALLSETCallFwdVideoAllCond);
- #endif /* __MMI_VIDEO_TELEPHONY__ */
- }
- /*****************************************************************************
- * FUNCTION
- * PopulateCallWait
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateCallWait()
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU8237_SCR8093_MNGCALL_MENU_WAIT,
- #ifdef __MMI_UCM__
- #ifdef __MMI_DUAL_SIM_MASTER__
- MENU_ID_UCM_CALL_SETTING_SIM1,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- MENU_ID_UCM_CALL_SETTING,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- #else
- MENU8237_SCR8093_MNGCALL_MENU_MAIN,
- #endif /* __MMI_UCM__ */
- 3,
- MENU8237_MNGCALL_CALWAIT_MENU_ON,
- MENU8237_MNGCALL_CALWAIT_MENU_OFF,
- MENU8237_MNGCALL_CALWAIT_MENU_QUERY,
- SHOW, NONMOVEABLE, DISP_LIST, STR_SCR8094_MNGCALL_CALWAIT_MENU_CAPTION, NULL));
- ADD_APPLICATION_MENUITEM((MENU8237_MNGCALL_CALWAIT_MENU_ON,
- MENU8237_SCR8093_MNGCALL_MENU_WAIT, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_ACTIVATE, NULL));
- ADD_APPLICATION_MENUITEM((MENU8237_MNGCALL_CALWAIT_MENU_OFF,
- MENU8237_SCR8093_MNGCALL_MENU_WAIT, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_DEACTIVATE, NULL));
- ADD_APPLICATION_MENUITEM((MENU8237_MNGCALL_CALWAIT_MENU_QUERY,
- MENU8237_SCR8093_MNGCALL_MENU_WAIT, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_SCR8094_MNGCALL_CALWAIT_MENU_QUERY, NULL));
- ADD_APPLICATION_STRING2(STR_SCR8094_MNGCALL_CALWAIT_MENU_CAPTION, "Call Waiting", "CALL WAITING MENU CAPTION");
- ADD_APPLICATION_STRING2(STR_SCR8094_MNGCALL_CALWAIT_MENU_QUERY, "Query Status", "CALL WAITING QUERY OPTION ");
- ADD_APPLICATION_STRING2(STR_SCR8096_MNGCALL_CALLWAIT_ON, "Call Waiting ", "CALL WAITING ON string");
- #ifndef __BW_MMI__
- ADD_APPLICATION_IMAGE2(
- IMG_SCR_CALL_SETUP_REQ_CAP,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "IMG_SCR_CALL_SETUP_REQ_CAP");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR_CALL_SETUP_REQ_LSK,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "IMG_SCR_CALL_SETUP_REQ_LSK");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8095_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL WAITING SCR CAPTION IMAGE ");
- ADD_APPLICATION_IMAGE2(IMG_SCR8095_TEXT, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "CALL WAITING SCR TEXT IMAGE ");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8096_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL WAITING SCR ON SUCCESS CAPTION IMAGE ");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8097_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL WAITING SCR ON FAILURE CAPTION IMAGE");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8098_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL WAITING SCR OFF SUCCESS CAPTION IMAGE");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8099_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL WAITING SCR OFF FAILURE CAPTION IMAGE");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8100_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL WAITING SCR STATUS ON CAPTION IMAGE");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR8101_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "CALL WAITING SCR STATUS OFF CAPTION IMAGE");
- #endif /* __BW_MMI__ */
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_SCR8093_MNGCALL_MENU_WAIT, HighlightCALLSETCallWaiting);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_MNGCALL_CALWAIT_MENU_ON, HighlightCALLSETCallWaitingOn);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_MNGCALL_CALWAIT_MENU_OFF, HighlightCALLSETCallWaitingOff);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_MNGCALL_CALWAIT_MENU_QUERY, HighlightCALLSETCallWaitingQuery);
- }
- /*****************************************************************************
- * FUNCTION
- * PopulateCallerId
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateCallerId(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU_CALLER_ID,
- #ifdef __MMI_UCM__
- #ifdef __MMI_DUAL_SIM_MASTER__
- MENU_ID_UCM_CALL_SETTING_SIM1,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- MENU_ID_UCM_CALL_SETTING,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- #else /* __MMI_UCM__ */
- MENU8237_SCR8093_MNGCALL_MENU_MAIN,
- #endif /* __MMI_UCM__ */
- 3,
- MENU_CID_SET_NWK,
- MENU_CID_HIDE_ID,
- MENU_CID_SHOW_ID, SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALLER_ID, NULL));
- ADD_APPLICATION_MENUITEM((MENU_CID_SET_NWK, MENU_CALLER_ID, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_CLI_SET_NETWORK, NULL));
- ADD_APPLICATION_MENUITEM((MENU_CID_HIDE_ID, MENU_CALLER_ID, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_CLI_HIDE_ID, NULL));
- ADD_APPLICATION_MENUITEM((MENU_CID_SHOW_ID, MENU_CALLER_ID, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_CLI_SEND_ID, NULL));
- ADD_APPLICATION_STRING2(STR_MENU_CALLER_ID, "Caller ID", "Menu Item String for Caller Id");
- ADD_APPLICATION_STRING2(
- STR_CLI_SET_NETWORK,
- "Set By Network",
- "String for allowing user to set caller id by network");
- ADD_APPLICATION_STRING2(STR_CLI_HIDE_ID, "Hide Id", "String for allowing user to set CLIR");
- ADD_APPLICATION_IMAGE2(STR_CLI_HIDE_ID, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "Manage Calls Caller Id Hide");
- ADD_APPLICATION_STRING2(STR_CLI_SEND_ID, "Send Id", "String for allowing user to set CLIP");
- ADD_APPLICATION_IMAGE2(IMG_CALLER_ID_TITLE_ICN, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "Manage Calls Caller Id ");
- ADD_APPLICATION_IMAGE2(IMG_CLIP_STATUS_TITLE, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "CLIP Status Title Icon");
- ADD_APPLICATION_IMAGE2(IMG_CLIR_STATUS_TITLE, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "CLIR Status Title Icon");
- ADD_APPLICATION_STRING2(STR_CLIP_STATUS_ACT_TXT, "Call ID Presentation Provided", "Message Text for CLIP Status");
- ADD_APPLICATION_STRING2(
- STR_CLIP_STATUS_NACT_TXT,
- "Call ID Presentation Not Provided",
- "Message Text for CLIP Status");
- ADD_APPLICATION_STRING2(STR_CLIR_STATUS_ACT_TXT, "Call ID Restriction Provided", "Message Text for CLIR Status");
- ADD_APPLICATION_STRING2(
- STR_CLIR_STATUS_ACT_PERMANENTLY_TXT,
- "Call ID Restriction Activated Permantly",
- "Message Text for CLIR Status");
- ADD_APPLICATION_STRING2(
- STR_CLIR_STATUS_ACT_DEFAULT_RESTRICT_TXT,
- "Call ID Restriction Activated By Default",
- "Message Text for CLIR Status");
- ADD_APPLICATION_STRING2(
- STR_CLIR_STATUS_ACT_DEFAULT_ALLOW_TXT,
- "Call ID Restriction Not Activated By Default",
- "Message Text for CLIR Status");
- ADD_APPLICATION_STRING2(
- STR_CLIR_STATUS_NACT_TXT,
- "Call ID Restriction Not Provided",
- "Message Text for CLIR Status");
- ADD_APPLICATION_STRING2(STR_COLP_STATUS_ACT_TXT, "Connected Line ID Presentation Provided", "COLP Status Title");
- ADD_APPLICATION_STRING2(STR_COLR_STATUS_ACT_TXT, "Connected Line ID Restriction Provided", "COLR Status Title");
- ADD_APPLICATION_STRING2(
- STR_COLP_STATUS_NACT_TXT,
- "Connected Line ID Presentation Not Provided",
- "COLP Status Title");
- ADD_APPLICATION_STRING2(
- STR_COLR_STATUS_NACT_TXT,
- "Connected Line ID Restriction Not Provided",
- "COLR Status Title");
-
- ADD_APPLICATION_STRING2(STR_CNAP_STATUS_ACT_TXT, "Calling Name Presentation Provided", "CNAP Status Title");
- ADD_APPLICATION_STRING2(STR_CNAP_STATUS_NACT_TXT, "Calling Name Presentation Not Provided", "CNAP Status Title");
- ADD_APPLICATION_STRING2(STR_CCBS_STATUS_TITLE, "CCBS Status", "CCBS Status Title");
- ADD_APPLICATION_STRING2(STR_CCBS_STATUS_ACT_TXT, "CCBS Provided", "CCBS Status Title");
- ADD_APPLICATION_STRING2(STR_CCBS_STATUS_NACT_TXT, "CCBS Not Provided", "CCBS Status Title");
- ADD_APPLICATION_IMAGE2(IMG_CLIP_SETUP_REQ_LSK_ERR, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "CLIR Status Title Icon");
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALLER_ID, HighlightCALLSETCallerId);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CID_SET_NWK, HiliteSetByNwk);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CID_SHOW_ID, HiliteShowCid);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CID_HIDE_ID, HiliteHideCid);
- }
- /*****************************************************************************
- * FUNCTION
- * PopulateLanguageStrings
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateLanguageStrings(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_STRING2(STR_MENU_LANGUAGE, "Language", "Language Menu String");
- ADD_APPLICATION_STRING2(STR_MENU_INPUT_METHOD, "Prefered Input Methods", "menu string for phone setup");
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_U_ABC, "Multitap ABC", "Input methods list Option 1");
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_L_ABC, "Multitap abc", "Input methods list Option 2");
-
- #if defined(__MMI_MULTITAP_FIRST_UPPERCASE__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_FIRST_U_ABC,"Multitap Abc", "Input methods list Option Multitap Abc");
- #endif
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_SMART_U_ABC, "Smart ABC", "Input methods list Option 3");
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_SMART_L_ABC, "Smart abc", "Input methods list Option 4");
- #if defined(__MMI_SMART_FIRST_UPPERCASE__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_SMART_FIRST_U_ABC, "Smart Abc", "Input methods list Option 3");
- #endif
- #if defined(__MMI_MULTITAP_HINDI__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_HINDI, "Multitap Hindi", "Input methods Option Hindi");
- #endif
- #if defined(__MMI_MULTITAP_MARATHI__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_MARATHI, "Multitap Marathi", "Input methods Option Marathi");
- #endif
- #if defined (__MMI_MULTITAP_TAMIL__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_TAMIL, "Multitap Tamil", "Input methods Option Tamil");
- #endif
- #if defined (__MMI_MULTITAP_BENGALI__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_BENGALI, "Multitap Bengali", "Input methods Option Bengali");
- #endif
- #if defined (__MMI_MULTITAP_ASSAMESE__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_ASSAMESE, "Multitap Assamese", "Input methods Option Assamese");
- #endif
- #if defined (__MMI_MULTITAP_PUNJABI__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_PUNJABI, "Multitap Punjabi", "Input methods Option Punjabi");
- #endif
- #if defined (__MMI_MULTITAP_TELUGU__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_TELUGU, "Multitap Telugu", "Input methods Option Telugu");
- #endif
- #if defined (__MMI_MULTITAP_KANNADA__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_KANNADA, "Multitap Kannada", "Input methods Option Kannada");
- #endif
- #if defined (__MMI_MULTITAP_MALAYALAM__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_MALAYALAM, "Multitap Malayalam", "Input methods Option Malayalam");
- #endif
- #if defined (__MMI_MULTITAP_GUJARATI__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_GUJARATI, "Multitap Gujarati", "Input methods Option Gujarati");
- #endif
- #if defined (__MMI_MULTITAP_ORIYA__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_ORIYA, "Multitap Oriya", "Input methods Option Oriya");
- #endif
- #if defined(__MMI_MULTITAP_HEBREW__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_HEBREW, "Multitap Hebrew", "Input methods Option HEBREW");
- #endif
- #if defined (__MMI_MULTITAP_THAI__)
- ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_THAI, "Multitap Thai", "Input methods Option Thai");
- #endif
- #if defined(__MMI_MULTITAP_SPANISH__)
- ADD_APPLICATION_STRING2(
- STR_INPUT_METHOD_MULTITAP_U_SPANISH,
- "Multitap ES",
- "Input methods list Option Multitap SPANISH");
- ADD_APPLICATION_STRING2(
- STR_INPUT_METHOD_MULTITAP_L_SPANISH,
- "Multitap es",
- "Input methods list Option Multitap spanish");
- #if defined(__MMI_MULTITAP_FIRST_UPPERCASE__)
- ADD_APPLICATION_STRING2(
- STR_INPUT_METHOD_MULTITAP_FIRST_U_SPANISH,
- "Multitap Es",