Res_Setting.c
上传用户:dengyu
上传日期:2022-05-01
资源大小:153k
文件大小:390k
- " IMG_ID_DISPCHAR_DIGITAL_CLK = IMG_ID_DISPCHAR_OTHER_START + 2,n"
- "#endif /* __MMI_DIGITAL_CLOCK__ */n"
- "#endif /* __MMI_UI_TECHNO_IDLESCREEN_BAR__ */n"
- "n"
- " IMG_ID_DISPCHAR_THEME_WALLPAPER,n"
- "#ifdef __MMI_THEMES_V2_SUPPORT__n"
- " IMG_ID_DISPCHAR_THEME_SCREENSAVER,n"
- "#endif n"
- "n"
- " IMG_ID_DISPCHAR_OTHER_MAX,n");
- /* Output SWFlash enum id */
- fprintf(targetHeader, " IMG_ID_DISPCHAR_SWFLASH_START,n");
- if(swflashCount)
- fprintf(targetHeader, " IMG_ID_DISPCHAR_SWFLASH_0 = IMG_ID_DISPCHAR_SWFLASH_START,n");
-
- for(i = 0; i < swflashCount; i++)
- {
- fprintf(targetHeader, " IMG_ID_DISPCHAR_SWFLASH_%d,n", i);
- }
-
- if(swflashCount)
- fprintf(targetHeader, " IMG_ID_DISPCHAR_SWFLASH_MAX = IMG_ID_DISPCHAR_SWFLASH_%d,n", swflashCount -1);
- else
- fprintf(targetHeader, " IMG_ID_DISPCHAR_SWFLASH_MAX = IMG_ID_DISPCHAR_SWFLASH_START,n");
-
- fprintf(targetHeader, " IMG_ID_PHNSET_MAXn");
- fprintf(targetHeader, "}phnset_dispchar_enum; nn");
- fprintf(targetHeader, ""
- "#ifdef __MMI_SWFLASH__n"
- "#define MAX_DISPCHAR_SWFLASH (IMG_ID_DISPCHAR_SWFLASH_MAX - IMG_ID_DISPCHAR_SWFLASH_START + 1)n"
- "#elsen"
- "#define MAX_DISPCHAR_SWFLASH 0n"
- "#endif /* __MMI_FLASH__ */n"
- " n"
- "#define MAX_OTHER_WALLPAPER (IMG_ID_DISPCHAR_OTHER_MAX - IMG_ID_DISPCHAR_OTHER_START -1)n"
- "#define MAX_OTHER_SCREENSAVER MAX_OTHER_WALLPAPERn"
- " n"
- "#ifdef __MMI_DISPCHAR_M3D__n"
- "#define MAX_WALLPAPER_IMG (IMG_ID_PHNSET_WP_MAX - IMG_ID_PHNSET_WP_START + 1 + MAX_OTHER_WALLPAPER + MAX_DISPCHAR_SWFLASH + 3)n"
- "#elsen"
- "#define MAX_WALLPAPER_IMG (IMG_ID_PHNSET_WP_MAX - IMG_ID_PHNSET_WP_START + 1 + MAX_OTHER_WALLPAPER + MAX_DISPCHAR_SWFLASH)n"
- "#endif /* __MMI_DISPCHAR_M3D__ */n"
- " n"
- "#define MAX_DL_WPSS_NUMBERS MAXIMUM_DOWNLOAD_IMAGESn"
- "#define MAX_SUB_WALLPAPER_IMG (IMG_ID_PHNSET_SUB_WP_MAX - IMG_ID_PHNSET_SUB_WP_START + 1)n"
- " n"
- "#define MAX_SCREENSAVER_IMG (IMG_ID_PHNSET_SS_MAX - IMG_ID_PHNSET_SS_START + 1 + MAX_OTHER_SCREENSAVER + MAX_DISPCHAR_SWFLASH)n"
- "#if defined(__MMI_SCREENSAVER_DISPLAY_VIDEO__) && defined(__MTK_TARGET__)n"
- "#define MAX_SCREENSAVER_VDO (IMG_ID_PHNSET_SS_VDO_MAX-IMG_ID_PHNSET_SS_VDO_START + 1)n"
- "#else n"
- "#define MAX_SCREENSAVER_VDO 0n"
- "#endif n"
- " n"
- "#ifdef __MMI_POWER_ON_OFF_DISPLAY__n"
- "#define MAX_POWER_ON_IMG (IMG_ID_PHNSET_ON_MAX-IMG_ID_PHNSET_ON_START + 1 + MAX_DISPCHAR_SWFLASH)n"
- "#if defined(__MMI_POWER_ON_OFF_DISPLAY_VIDEO__) && defined(__MTK_TARGET__)n"
- "#define MAX_POWER_ON_VDO (IMG_ID_PHNSET_ON_VDO_MAX-IMG_ID_PHNSET_ON_VDO_START + 1)n"
- "#else n"
- "#define MAX_POWER_ON_VDO 0n"
- "#endif n"
- "#define MAX_POWER_OFF_IMG MAX_POWER_ON_IMGn"
- "#define MAX_POWER_OFF_VDO MAX_POWER_ON_VDOn"
- "#endif /* __MMI_POWER_ON_OFF_DISPLAY__ */ n"
- "#endif /* PHONESETUPRESLIST_H */ n");
- fclose(targetHeader);
- /* Free Output Buffer for PhoneSetupResList.h */
- for(i = 0; i < (MMI_PHNSET_TYPE_MAX + 3); i++)
- {
- free(dispStr[i]);
- }
- fprintf(res_log, "Success to generate PhoneSetupResList.hn");
- return MMI_TRUE;
- }
- }
- #endif /* LOW_COST_SUPPORT */
- /*****************************************************************************
- * FUNCTION
- * PopulateDisplayChar
- * DESCRIPTION
- * Populate all display char. resources.
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateDisplayChar(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- int i;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- /* Populating Wallpaper dependent Resources */
- ADD_APPLICATION_STRING2(STR_WALLPAPER_CAPTION, "Wallpaper", "STR_MENU_WALLPAPER_TYPES");
- ADD_APPLICATION_STRING2(STR_WALLPAPER_SYSTEM, "System", "STR_WALLPAPER_SYSTEM");
- ADD_APPLICATION_STRING2(STR_WALLPAPER_DOWNLOAD, "Download", "STR_WALLPAPER_DOWNLOAD");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_WP_AVATAR, "3D Avatar", "STR_WALLPAPER_3D_AVATAR");
- #ifdef __DAILY_WALLPAPER__
- ADD_APPLICATION_STRING2(STR_WALLPAPER_FIX, "Fix", "STR_WALLPAPER_FIX");
- ADD_APPLICATION_STRING2(STR_WALLPAPER_ROTATE, "Rotate", "STR_WALLPAPER_ROTATE");
- #endif /* __DAILY_WALLPAPER__ */
- #ifdef __MMI_THEMES_V2_SUPPORT__
- #ifdef __MMI_RES_TYPE_WALLPAPER__
- ADD_APPLICATION_IMAGE3(IMG_ID_DISPCHAR_THEME_WALLPAPER, CUST_IMG_PATH "\\MainLCD\\IdleScreen\\Wallpaper\\WALL01."__MMI_RES_TYPE_WALLPAPER__, "wallpaper download");
- #else
- ADD_APPLICATION_IMAGE3(IMG_ID_DISPCHAR_THEME_WALLPAPER, CUST_IMG_PATH "\\MainLCD\\IdleScreen\\Wallpaper\\WALL01.gif", "wallpaper download");
- #endif
- #ifdef __MMI_RES_TYPE_SCREEN_SAVER__
- ADD_APPLICATION_IMAGE3(IMG_ID_DISPCHAR_THEME_SCREENSAVER, CUST_IMG_PATH "\\MainLCD\\IdleScreen\\Wallpaper\\WALL01."__MMI_RES_TYPE_SCREEN_SAVER__, "wallpaper download");
- #elif defined __MMI_RES_TYPE_WALLPAPER__
- ADD_APPLICATION_IMAGE3(IMG_ID_DISPCHAR_THEME_SCREENSAVER, CUST_IMG_PATH "\\MainLCD\\IdleScreen\\Wallpaper\\WALL01."__MMI_RES_TYPE_WALLPAPER__, "wallpaper download");
- #else
- ADD_APPLICATION_IMAGE3(IMG_ID_DISPCHAR_THEME_SCREENSAVER, CUST_IMG_PATH "\\MainLCD\\IdleScreen\\Wallpaper\\WALL01.gif", "wallpaper download");
- #endif
- #endif /* __MMI_THEMES_V2_SUPPORT__ */
- ADD_APPLICATION_IMAGE2(IMG_WALLPAPER_SYSTEM, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "IMG_WALLPAPER_SYSTEM");
- ADD_APPLICATION_IMAGE2(IMG_WALLPAPER_DOWNLAOD, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "IMG_WALLPAPER_DOWNLAOD");
- ADD_APPLICATION_IMAGE2(IMG_WALLPAPER_CAPTION, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "IMG_WALLPAPER_CAPTION");
- ADD_APPLICATION_STRING2(STR_WALLPAPER_SELECT_CAPTION, "Wallpaper Select", "STR_WALLPAPER_SET");
- ADD_APPLICATION_STRING2(
- STR_IDLE_WP_DECODE_ERR,
- "Image error, Restore Default Wallpaper",
- "User defined wallpaper error message");
- ADD_APPLICATION_STRING2(
- STR_IDLE_SS_DECODE_ERR,
- "Image error, Restore Default Screen Saver",
- "User defined wallpaper error message");
- ADD_APPLICATION_STRING2(STR_ID_WP_FRAME_ERR, "Image error: Frame > 30", "User defined wallpaper error message");
- /* Populating Screensaver dependent Resources */
- ADD_APPLICATION_STRING2(STR_SCR_SCREENSAVER_CAPTION, "Screen Saver", "SS CAPTION");
- ADD_APPLICATION_STRING2(STR_SCR_SCREENSAVER_SETTINGS, "Setting", "Setting");
- ADD_APPLICATION_STRING2(SCR_SCREENSAVER_SETTING_CAPTION, "Screen Saver Setting", "Screen Saver Setting");
- ADD_APPLICATION_STRING2(STR_SCR_SCREENSAVER_SYSTEM, "System", "System");
- ADD_APPLICATION_STRING2(STR_SCR_SCREENSAVER_DOWNLOAD, "Download", "Download");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_SS_AVATAR, "3D Avatar", "3D Avatar");
- ADD_APPLICATION_STRING2(STR_SCREENSAVER_5SEC, "5 Sec", "5SEC");
- ADD_APPLICATION_STRING2(STR_SCREENSAVER_15SEC, "15 Sec", "15SEC ");
- ADD_APPLICATION_STRING2(STR_SCREENSAVER_30SEC, "30 Sec", "30SEC");
- ADD_APPLICATION_STRING2(STR_SCREENSAVER_1MINUTE, "1 Minute", "1MIN");
- ADD_APPLICATION_STRING2(STR_SCREENSAVER_STATUS, "Status:", "STATUS");
- ADD_APPLICATION_STRING2(STR_SCREENSAVER_WAITING, "Waiting:", "WAITING");
- ADD_APPLICATION_STRING2(STR_SCREENSAVER_WAITING_COMMENT, "Waiting: (1~59 sec)", "WAITING");
- ADD_APPLICATION_STRING2(STR_SETTING_SS_WAITTIME_ERROR, "Wait time: 1 ~ 59 sec", "WAITING");
- #ifdef __MMI_LCD_PARTIAL_ON__
- ADD_APPLICATION_STRING2(STR_SCREENSAVER_DISPLAY_TIME, "Display Time", "Screen Saver for partial display ");
- #endif
- ADD_APPLICATION_STRING2(STR_ID_DISPCHAR_THEME_WALLPAPER, "Theme Image", "Wallpaper Menu string");
- #ifdef __MMI_THEMES_V2_SUPPORT__
- ADD_APPLICATION_STRING2(STR_ID_DISPCHAR_THEME_SCREENSAVER, "Theme Image", "Wallpaper Menu string");
- #endif
- ADD_APPLICATION_IMAGE2(
- IMAGE_SETTING_TIME,
- CUST_IMG_PATH "\\MainLCD\\SubMenu\\Settings\\Common\\ST_TIME.PBM",
- "Icon for Time In Category 57");
- #ifdef __MMI_POWER_ON_OFF_DISPLAY__
- /* Populating Power on/off dependent Resources */
- //ADD_APPLICATION_STRING2(STR_ID_PHNSET_ON_OFF_CAPTION, "Power On/Off Display", "STR_ID_PHNSET_ON_OFF_CAPTION");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_ON_OFF_SYSTEM, "System", "STR_ID_PHNSET_ON_OFF_SYSTEM");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_ON_OFF_DOWNLOAD, "User Deine", "STR_ID_PHNSET_ON_OFF_DOWNLOAD");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_ON_OFF_AVATAR, "3D Avatar", "3D Avatar");
- //ADD_APPLICATION_STRING2(STR_ID_PHNSET_ON_OFF_BAD_FILE, "Invalid File", "STR_ID_PHNSET_ON_OFF_BAD_FILE");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_ON_OFF_SELECT_CAPTION, "On/off Select", "STR_WALLPAPER_SET");
- ADD_APPLICATION_IMAGE2(IMG_ID_PHNSET_ON_OFF_SYSTEM, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "IMG_WALLPAPER_SYSTEM");
- ADD_APPLICATION_IMAGE2(
- IMG_ID_PHNSET_ON_OFF_DOWNLAOD,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "IMG_WALLPAPER_DOWNLAOD");
- ADD_APPLICATION_IMAGE2(IMG_ID_PHNSET_ON_OFF_CAPTION, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "IMG_WALLPAPER_CAPTION");
- #endif /* __MMI_POWER_ON_OFF_DISPLAY__ */
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_DISPCHAR_ANALOG, "Analog Clock", "DisplayCharList");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_DISPCHAR_DIGITAL, "Digital Clock", "DisplayCharList");
- #ifdef __OTG_ENABLE__
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_DISPCHAR_INVALID_PATH, "Invalid Folder", "OTG doesn't support dispchar");
- #endif
- if (!res_log)
- {
- res_log = fopen("PhnsetAutoGen.log", "w+");
- }
- #ifdef __MMI_VUI_HOMESCREEN__
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_WP_START,
- #ifdef __MMI_VUI_HOMESCREEN_LITE_DISPLAY__
- CUST_IMG_PATH "\\MainLCD\\VUI\\HomeScreen\\Venus_wall01.bmp",
- #else
- CUST_IMG_PATH "\\MainLCD\\VUI\\HomeScreen\\Venus_wall01.jpg",
- #endif /* __MMI_VUI_HOMESCREEN_LITE_DISPLAY__ */
- "VENUS UI idle default wallpaper");
- #endif /* __MMI_VUI_HOMESCREEN__ */
- #ifndef LOW_COST_SUPPORT
- if (!AutoGenDispCharRes())
- #endif
- {
- #if defined(__MMI_DISPCHAR_M3D__)
- int max_m3d = 3;
- #else
- int max_m3d = 0;
- #endif
- int j = 0;
- fprintf(res_log, "Can't open the directory: %sn", CUST_IMG_PATH "\\DispChar");
- /* Generate Wallpaper Images */
- #ifndef __MMI_UI_TECHNO_IDLESCREEN_BAR__
- #ifdef __MMI_ANALOG_CLOCK__
- fprintf(
- res_log,
- " ADD_APPLICATION_IMAGE3(IMG_ID_DISPCHAR_ANALOG_CLK=%d, path=%s)n",
- IMG_ID_DISPCHAR_ANALOG_CLK,
- CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\analog."__MMI_RES_TYPE_WALLPAPER__);
- #ifdef __MMI_RES_TYPE_WALLPAPER__
- ADD_APPLICATION_IMAGE3(
- IMG_ID_DISPCHAR_ANALOG_CLK,
- CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\analog."__MMI_RES_TYPE_WALLPAPER__,
- "Image associated with Wallpaper.");
- #else
- ADD_APPLICATION_IMAGE3(
- IMG_ID_DISPCHAR_ANALOG_CLK,
- CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\analog.gif",
- "Image associated with Wallpaper.");
- #endif /* __MMI_RES_TYPE_WALLPAPER__ */
- #endif /* __MMI_ANALOG_CLOCK__ */
- #ifdef __MMI_DIGITAL_CLOCK__
- fprintf(
- res_log,
- " ADD_APPLICATION_IMAGE3(IMG_ID_DISPCHAR_DIGITAL_CLK=%d, path=%s)n",
- IMG_ID_DISPCHAR_DIGITAL_CLK,
- CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\digital."__MMI_RES_TYPE_WALLPAPER__);
- #ifdef __MMI_RES_TYPE_WALLPAPER__
- ADD_APPLICATION_IMAGE3(
- IMG_ID_DISPCHAR_DIGITAL_CLK,
- CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\digital."__MMI_RES_TYPE_WALLPAPER__,
- "Image associated with Wallpaper.");
- #else
- ADD_APPLICATION_IMAGE3(
- IMG_ID_DISPCHAR_DIGITAL_CLK,
- CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\digital.gif",
- "Image associated with Wallpaper.");
- #endif /* __MMI_RES_TYPE_WALLPAPER__ */
- #endif /* __MMI_DIGITAL_CLOCK__ */
- #endif /* __MMI_UI_TECHNO_IDLESCREEN_BAR__ */
- #ifdef __MMI_POWER_ON_OFF_DISPLAY__
- fprintf(res_log, " ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_ON_0=%d, path=%s)n",IMG_ID_PHNSET_ON_START,CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\POON."__MMI_RES_TYPE_POWER_ONOFF__);
- fprintf(res_log, " ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_OFF_0=%d, path=%s)n",IMG_ID_PHNSET_OFF_START,CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\pooff."__MMI_RES_TYPE_POWER_ONOFF__);
- #ifdef __MMI_RES_TYPE_POWER_ONOFF__
- #ifdef __MMI_LANG_EUROPE_ASIA_TYPE__
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_ON_START, CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\poonoff_cta."__MMI_RES_TYPE_POWER_ONOFF__,"Power ON image");
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_OFF_START,CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\poonoff_cta."__MMI_RES_TYPE_POWER_ONOFF__,"Power OFF image");
- #elif defined (__THAI_SUPPORT__)
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_ON_START, CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\poonoff_twz."__MMI_RES_TYPE_POWER_ONOFF__,"Power ON image");
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_OFF_START,CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\poonoff_twz."__MMI_RES_TYPE_POWER_ONOFF__,"Power OFF image");
- #elif defined(__INDONESIAN_SUPPORT__)
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_ON_START, CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\poon_mito."__MMI_RES_TYPE_POWER_ONOFF__,"Power ON image");
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_OFF_START,CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\pooff_mito."__MMI_RES_TYPE_POWER_ONOFF__,"Power OFF image");
- #else
- #ifdef __MMI_9700_SW_SUPPORT__
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_ON_START, CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\POON_nokia."__MMI_RES_TYPE_POWER_ONOFF__,"Power ON image");
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_OFF_START,CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\pooff_nokia."__MMI_RES_TYPE_POWER_ONOFF__,"Power OFF image");
- #else
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_ON_START, CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\POON."__MMI_RES_TYPE_POWER_ONOFF__,"Power ON image");
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_OFF_START,CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\pooff."__MMI_RES_TYPE_POWER_ONOFF__,"Power OFF image");
- #endif
- #endif
- #else
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_ON_START, CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\POON.gif","Power ON image");
- ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_OFF_START,CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\pooff.gif","Power OFF image");
- #endif /* __MMI_RES_TYPE_POWER_ONOFF__ */
- #endif /* __MMI_POWER_ON_OFF_DISPLAY__ */
- #if defined(__MMI_WALLPAPER_NUM__) && (__MMI_WALLPAPER_NUM__)
- for (i = 0; i < __MMI_WALLPAPER_NUM__; i++)
- #else
- for (i = 0; i < MAX_WALLPAPER_IMG - MAX_OTHER_WALLPAPER; i++)
- #endif
- {
- char strStr[15], strId[50];
- #ifdef __MMI_RES_TYPE_WALLPAPER__
-
- #ifdef __MMI_LANG_EUROPE_ASIA_TYPE__
- char gif_path[] = CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\wall01."__MMI_RES_TYPE_WALLPAPER__;
- #elif defined (__THAI_SUPPORT__)
- char gif_path[] = CUST_IMG_PATH "\\MainLCD\\IdleScreen\\Thai_WallPaper\\wall01."__MMI_RES_TYPE_WALLPAPER__;
- #elif defined(__INDONESIAN_SUPPORT__)
- char gif_path[] = CUST_IMG_PATH "\\MainLCD\\IdleScreen\\INDO_Wallpaper\\wall01."__MMI_RES_TYPE_WALLPAPER__;
- #else
- char gif_path[] = CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\wall01."__MMI_RES_TYPE_WALLPAPER__;
- #endif
-
- #else
- char gif_path[] = CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\wall01.gif";
- #endif
- char m3d_path[] = CUST_IMG_PATH "\\MainLCD\\Active\\M3D\\m3d01.m3d";
- char *path = NULL;
- int position = 0;
- #ifdef __MMI_LANG_EUROPE_ASIA_TYPE__
- int gif_position = sizeof(CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\wall");
- #elif defined (__THAI_SUPPORT__)
- int gif_position = sizeof(CUST_IMG_PATH "\\MainLCD\\IdleScreen\\Thai_WallPaper\\wall");
- #elif defined(__INDONESIAN_SUPPORT__)
- int gif_position = sizeof(CUST_IMG_PATH "\\MainLCD\\IdleScreen\\INDO_Wallpaper\\wall");
- #else
- int gif_position = sizeof(CUST_IMG_PATH "\\MainLCD\\IdleScreen\\WallPaper\\wall");
- #endif
- int m3d_position = sizeof(CUST_IMG_PATH "\\MainLCD\\Active\\M3D\\m3d");
-
- if (i < (MAX_WALLPAPER_IMG - MAX_OTHER_WALLPAPER))
- {
- position = gif_position;
- path = &gif_path[0];
- {
- path[position - 1] = '0' + (i + 1)/10;
- path[position] = '0' + (i + 1)%10;
- }
- }
- else
- {
- position = m3d_position;
- path = &m3d_path[0];
- #if defined(__MMI_DISPCHAR_M3D_FISH__)
- path[position] = '1' + j;
- #elif defined(__MMI_DISPCHAR_M3D_PENGUIN__)
- path[position] = '4' + j;
- #elif defined(__MMI_DISPCHAR_M3D_BALL__)
- path[position] = '7' + j;
- #endif
- j++;
- }
- fprintf(res_log, " ADD_APPLICATION_IMAGE3(i = %d, path=%s)n", i, path);
- ADD_APPLICATION_IMAGE3((IMG_ID_PHNSET_WP_START + i), path, "Image associated with wallpaer.");
- ADD_APPLICATION_IMAGE3((IMG_ID_PHNSET_SS_START + i), path, "Image associated with screensaver.");
- /* Add image & animation & video string */
- {
- sprintf(strId, "STR_ID_PHNSET_DISPCHAR_IMGID_%d", i);
- sprintf(strStr, "Image %d", i + 1);
- ADD_APPLICATION_STRING3(STR_ID_PHNSET_DISPCHAR_IMGID_START + i, strId, strStr, "DisplayCharList");
- fprintf(res_log, "Generate %s=%d, String=%sn", strId, STR_ID_PHNSET_DISPCHAR_IMGID_START + i, strStr);
- }
- {
- sprintf(strId, "STR_ID_PHNSET_DISPCHAR_ANMID_%d", i);
- sprintf(strStr, "Animation %d", i + 1);
- ADD_APPLICATION_STRING3(STR_ID_PHNSET_DISPCHAR_ANMID_START + i, strId, strStr, "DisplayCharList");
- fprintf(res_log, "Generate %s=%d, String=%sn", strId, STR_ID_PHNSET_DISPCHAR_ANMID_START + i, strStr);
- }
- {
- sprintf(strId, "STR_ID_PHNSET_DISPCHAR_VDOID_%d", i);
- sprintf(strStr, "Video %d", i + 1);
- ADD_APPLICATION_STRING3(STR_ID_PHNSET_DISPCHAR_VDOID_START + i, strId, strStr, "DisplayCharList");
- fprintf(res_log, "Generate %s=%d, String=%sn", strId, STR_ID_PHNSET_DISPCHAR_VDOID_START + i, strStr);
- }
- #ifdef __MMI_POWER_ON_OFF_DISPLAY__
- gif_path[gif_position] = '1' + i;
- if(i == 0)
- {
- ADD_APPLICATION_IMAGE3((IMG_ID_PHNSET_ON_START + 1), CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\POON."__MMI_RES_TYPE_POWER_ONOFF__,"Power ON image");
- ADD_APPLICATION_IMAGE3((IMG_ID_PHNSET_OFF_START + 1),CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\pooff."__MMI_RES_TYPE_POWER_ONOFF__,"Power OFF image");
- }
- else
- {
- ADD_APPLICATION_IMAGE3((IMG_ID_PHNSET_ON_START + i + 1), gif_path, "Image associated with poweron disp.");
- ADD_APPLICATION_IMAGE3((IMG_ID_PHNSET_OFF_START + i + 1), gif_path, "Image associated with poweroff disp.");
- }
- #endif /* __MMI_POWER_ON_OFF_DISPLAY__ */
- }
- #ifdef __MMI_SWFLASH__
- ADD_APPLICATION_STRING2(STR_ID_DISPCHAR_SWFLASH_0,"SWFlash 1","DisplayCharList");
- ADD_APPLICATION_STRING2(STR_ID_DISPCHAR_SWFLASH_1,"SWFlash 2","DisplayCharList");
- ADD_APPLICATION_IMAGE3(IMG_ID_DISPCHAR_SWFLASH_0,CUST_IMG_PATH"\\MainLCD\\SWFlash\\IC_M01.VIS","Built-in SWFlash file 1");
- ADD_APPLICATION_IMAGE3(IMG_ID_DISPCHAR_SWFLASH_1,CUST_IMG_PATH"\\MainLCD\\SWFlash\\IC_M02.VIS","Built-in SWFlash file 2");
- #endif /* __MMI_SWFLASH__ */
-
- /* Generate Sub Wallpaper images */
- #ifdef __MMI_SUB_WALLPAPER__
- #ifdef __MMI_RES_TYPE_SUBLCD_WALLPAPER__
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_0,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall01."__MMI_RES_TYPE_SUBLCD_WALLPAPER__,
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_1,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall02."__MMI_RES_TYPE_SUBLCD_WALLPAPER__,
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_2,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall03."__MMI_RES_TYPE_SUBLCD_WALLPAPER__,
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_3,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall04."__MMI_RES_TYPE_SUBLCD_WALLPAPER__,
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_4,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall05."__MMI_RES_TYPE_SUBLCD_WALLPAPER__,
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_5,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall06."__MMI_RES_TYPE_SUBLCD_WALLPAPER__,
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_6,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall07."__MMI_RES_TYPE_SUBLCD_WALLPAPER__,
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_7,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall08."__MMI_RES_TYPE_SUBLCD_WALLPAPER__,
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_8,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall09."__MMI_RES_TYPE_SUBLCD_WALLPAPER__,
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_9,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall10."__MMI_RES_TYPE_SUBLCD_WALLPAPER__,
- "Image associated with wallpaper.");
- #else
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_0,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall01.gif",
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_1,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall02.gif",
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_2,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall03.gif",
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_3,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall04.gif",
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_4,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall05.gif",
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_5,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall06.gif",
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_6,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall07.gif",
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_7,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall08.gif",
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_8,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall09.gif",
- "Image associated with wallpaper.");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_SUB_WP_9,
- CUST_IMG_PATH "\\SubLCD\\WallPaper\\wall10.gif",
- "Image associated with wallpaper.");
- #endif /* __MMI_RES_TYPE_SUBLCD_WALLPAPER__ */
- #endif /* __MMI_SUB_WALLPAPER__ */
- #if defined(__MMI_SCREENSAVER_DISPLAY_VIDEO__) && defined(MJPG_SUPPORT)
- ADD_APPLICATION_MEDIA(
- IMG_ID_PHNSET_SS_VDO_START,
- CUST_IMG_PATH "\\MainLCD\\Active\\Poweronoff\\PWRONOFF.avi");
- #elif defined(__MMI_SCREENSAVER_DISPLAY_VIDEO__) && defined(MP4_DECODE)
- ADD_APPLICATION_MEDIA(
- IMG_ID_PHNSET_SS_VDO_START,
- CUST_IMG_PATH "\\MainLCD\\Active\\Poweronoff\\PWRONOFF.mp4");
- #endif
- /* Generate Power on/off display images */
- #ifndef __MMI_POWER_ON_OFF_DISPLAY__
- #ifdef LOW_COST_SUPPORT
- fprintf(res_log, " ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_ON_ANIMATION_DEFAULT=%d, path=%s)n",IMG_ID_PHNSET_ON_ANIMATION_DEFAULT, CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\logo." __MMI_RES_TYPE_BOOTUP_LOGO_IMAGE__);
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_ON_ANIMATION_DEFAULT,
- CUST_IMG_PATH "\\MainLCD\\Active\\poweronoff\\logo." __MMI_RES_TYPE_BOOTUP_LOGO_IMAGE__,
- "Power ON image");
- fprintf(res_log, " ADD_APPLICATION_IMAGE3(IMG_ID_PHNSET_OFF_ANIMATION_DEFAULT=%d, path=%s)n",IMG_ID_PHNSET_OFF_ANIMATION_DEFAULT, CUST_IMG_PATH"\\MainLCD\\Active\\poweronoff\\logo." __MMI_RES_TYPE_BOOTUP_LOGO_IMAGE__);
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_OFF_ANIMATION_DEFAULT,
- CUST_IMG_PATH "\\MainLCD\\Active\\poweronoff\\logo." __MMI_RES_TYPE_BOOTUP_LOGO_IMAGE__,
- "Power OFF image");
- #else /* LOW_COST_SUPPORT */
- #ifdef __MMI_RES_TYPE_POWER_ONOFF__
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_ON_ANIMATION_DEFAULT,
- CUST_IMG_PATH "\\MainLCD\\Active\\poweronoff\\POON."__MMI_RES_TYPE_POWER_ONOFF__,
- "Power ON image");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_OFF_ANIMATION_DEFAULT,
- CUST_IMG_PATH "\\MainLCD\\Active\\poweronoff\\pooff."__MMI_RES_TYPE_POWER_ONOFF__,
- "Power OFF image");
- #else /* __MMI_RES_TYPE_POWER_ONOFF__ */
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_ON_ANIMATION_DEFAULT,
- CUST_IMG_PATH "\\MainLCD\\Active\\poweronoff\\POON.gif",
- "Power ON image");
- ADD_APPLICATION_IMAGE3(
- IMG_ID_PHNSET_OFF_ANIMATION_DEFAULT,
- CUST_IMG_PATH "\\MainLCD\\Active\\poweronoff\\pooff.gif",
- "Power OFF image");
- #endif /* __MMI_RES_TYPE_WALLPAPER__ */
- #endif /* LOW_COST_SUPPORT */
- #elif defined( __MMI_POWER_ON_OFF_DISPLAY_VIDEO__) && defined(MJPG_SUPPORT)
- ADD_APPLICATION_MEDIA(
- IMG_ID_PHNSET_ON_VDO_0,
- CUST_IMG_PATH "\\MainLCD\\Active\\Poweronoff\\PWRONOFF.avi");
- ADD_APPLICATION_MEDIA(
- IMG_ID_PHNSET_OFF_VDO_0,
- CUST_IMG_PATH "\\MainLCD\\Active\\Poweronoff\\PWRONOFF.avi");
- #elif defined( __MMI_POWER_ON_OFF_DISPLAY_VIDEO__) && defined(MP4_DECODE)
- ADD_APPLICATION_MEDIA(
- IMG_ID_PHNSET_ON_VDO_0,
- CUST_IMG_PATH "\\MainLCD\\Active\\Poweronoff\\PWRONOFF.mp4");
- ADD_APPLICATION_MEDIA(
- IMG_ID_PHNSET_OFF_VDO_0,
- CUST_IMG_PATH "\\MainLCD\\Active\\Poweronoff\\PWRONOFF.mp4");
- #endif
- }
- fclose(res_log);
- }
- /*****************************************************************************
- * FUNCTION
- * PopulateBarredDialList
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateBarredDialList(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU8236_BDL_VIEW_OPTIONS_MAIN,
- 0, 3,
- MENU8236_BDL_VIEW_OPTIONS_ADD,
- MENU8236_BDL_VIEW_OPTIONS_EDIT,
- MENU8236_BDL_VIEW_OPTIONS_DELETE,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_OPTIONS, 0));
- ADD_APPLICATION_MENUITEM((MENU8236_BDL_VIEW_OPTIONS_ADD,
- MENU8236_BDL_VIEW_OPTIONS_MAIN, 2,
- MENU_FDL_NAME,
- MENU_FDL_NUMBER, SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_ADD, 0));
- ADD_APPLICATION_MENUITEM((MENU_FDL_NAME,
- MENU8236_BDL_VIEW_OPTIONS_ADD, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_SETTING_FDL_NAME, IMG_NAME));
- ADD_APPLICATION_MENUITEM((MENU_FDL_NUMBER,
- MENU8236_BDL_VIEW_OPTIONS_ADD, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_SETTING_FDL_NUMBER, IMG_MOBILE_NUMBER));
- ADD_APPLICATION_MENUITEM((MENU8236_BDL_VIEW_OPTIONS_EDIT,
- MENU8236_BDL_VIEW_OPTIONS_MAIN, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_EDIT, 0));
- ADD_APPLICATION_MENUITEM((MENU8236_BDL_VIEW_OPTIONS_DELETE,
- MENU8236_BDL_VIEW_OPTIONS_MAIN, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_DELETE, 0));
- ADD_APPLICATION_STRING2(STR_SCR8079_BDL_VIEW_LIST_CAPTION, "BDN List", "BDL VIEW LIST CAPTION");
- }
- /*****************************************************************************
- * FUNCTION
- * PopulateFixedDialList
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateFixedDialList(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU8234_FDL_VIEW_OPTIONS_MAIN,
- 0, 3,
- MENU8234_FDL_VIEW_OPTIONS_ADD,
- MENU8234_FDL_VIEW_OPTIONS_EDIT,
- MENU8234_FDL_VIEW_OPTIONS_DELETE,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_OPTIONS, 0));
- ADD_APPLICATION_MENUITEM((MENU8234_FDL_VIEW_OPTIONS_ADD,
- MENU8234_FDL_VIEW_OPTIONS_MAIN, 2,
- MENU_FDL_NAME,
- MENU_FDL_NUMBER, SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_ADD, 0));
- ADD_APPLICATION_MENUITEM((MENU_FDL_NAME,
- MENU8234_FDL_VIEW_OPTIONS_ADD, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_SETTING_FDL_NAME, IMG_NAME));
- ADD_APPLICATION_MENUITEM((MENU_FDL_NUMBER,
- MENU8234_FDL_VIEW_OPTIONS_ADD, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_SETTING_FDL_NUMBER, IMG_MOBILE_NUMBER));
- ADD_APPLICATION_MENUITEM((MENU8234_FDL_VIEW_OPTIONS_EDIT,
- MENU8234_FDL_VIEW_OPTIONS_MAIN, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_EDIT, 0));
- ADD_APPLICATION_MENUITEM((MENU8234_FDL_VIEW_OPTIONS_DELETE,
- MENU8234_FDL_VIEW_OPTIONS_MAIN, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_DELETE, 0));
- ADD_APPLICATION_STRING2(STR_SETTING_FDL_NAME, "Name", "NAME TEXT ");
- ADD_APPLICATION_STRING2(STR_SETTING_FDL_NUMBER, "Number", "NUMBER TEXT");
- ADD_APPLICATION_STRING2(STR_SETTING_FDL_EDIT_ENTRY, "Edit Entry", "EDIT ENTRY TEXT ");
- ADD_APPLICATION_STRING2(STR_SCR8054_CALL_FDL_CAPTION, "FDN List ", "FDL LIST CAPTION");
- }
- /*****************************************************************************
- * FUNCTION
- * PopulateAPNControlList
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateAPNControlList(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- #ifdef __MMI_ACL_SUPPORT__
- ADD_APPLICATION_MENUITEM((MENU_ID_SECSET_ACL_MAIN,
- MENU9101_SECURITY, 2,
- MENU_ID_SECSET_ACL_MODE,
- MENU_ID_SECSET_ACL_LIST,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_SECSET_ACL_MAIN, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_SECSET_ACL_MODE,
- MENU_ID_SECSET_ACL_MAIN, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_SECSET_ACL_MODE, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_SECSET_ACL_LIST,
- MENU_ID_SECSET_ACL_MAIN, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_SECSET_ACL_LIST, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_SECSET_ACL_OPTION,
- 0, 3,
- MENU_ID_SECSET_ACL_ADD,
- MENU_ID_SECSET_ACL_EDIT,
- MENU_ID_SECSET_ACL_DELETE,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_OPTIONS, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_SECSET_ACL_ADD,
- MENU_ID_SECSET_ACL_OPTION, 1,
- MENU_ID_SECSET_ACL_NAME,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_ADD, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_SECSET_ACL_NAME,
- MENU_ID_SECSET_ACL_ADD, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_SECSET_ACL_NAME, IMG_NAME));
- ADD_APPLICATION_MENUITEM((MENU_ID_SECSET_ACL_EDIT,
- MENU_ID_SECSET_ACL_OPTION, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_EDIT, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_SECSET_ACL_DELETE,
- MENU_ID_SECSET_ACL_OPTION, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_GLOBAL_DELETE, 0));
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_MAIN, "APN control", "APN Control Menu");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_MODE, "Mode", "ACL Mode Options");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_LIST, "APN control list", "ACL List Options");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_LIST_CAPTION, "ACL list", "ACL List Caption");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_NAME, "APN", "APN Label");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_IS_ON, "ACL enabled", "ACL Enabled Message");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_IS_OFF, "ACL disabled", "ACL Disabled Message");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_MEMORY_FULL, "Memory full", "Memory Full Message");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_EF_SIZE_FULL, "SIM file full", "SIM File Full Message");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_TRY_LATER, "Please try later", "Please Try Later Message");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_ADD_DEFAULT_QUERY, "Add a network provided APN?", "Add Network Provided APN Query");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_ACL_NETWORK_PROVIDED, "Network provided APN", "Network Provided APN Item List");
- #endif /* __MMI_ACL_SUPPORT__ */
- }
- /*****************************************************************************
- * FUNCTION
- * PopulateSecuritySetupMenuRes
- * DESCRIPTION
- * Security Setup highlight and hint interface
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateSecuritySetupMenuRes(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9101_SECURITY, HighlightSecurity);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9169_SIM_LOCK, HighlightSIMLock);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9165_PHONE_LOCK, HighlightPhoneLock);
- #ifdef __MMI_AUTO_KEYPAD_LOCK__
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9178_AKPL_TIME, HighlightAutoKeyPadLock);
- #endif
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9167_FIXED_DIAL, HighlightFixedDial);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_SETTING_FDL_MODE, HighlightFdlMode);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_SETTING_FDL_LIST, HighlightFdlList);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9168_BARRED_DAIL, HighlightBarredDial);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_SETTING_BDL_MODE, HighlightBdlMode);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_SETTING_BDL_LIST, HighlightBdlList);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9170_CHANGE_PASSWORD, HighlightChangePassword);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9174_CP_PIN1, HighlightPin1Passwd);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9175_CP_PIN2, HighlightPin2Passwd);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9173_CP_PHONE_LOCK, HighlightPhonePasswd);
- #ifdef __CERTMAN_SUPPORT__
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CERTIFICATE_MANAGER, mmi_certman_highlight_launch_certficate_manager);
- #endif /*__CERTMAN_SUPPORT__*/
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU9169_SIM_LOCK, HintSimLock);
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU9165_PHONE_LOCK, HintPhoneLock);
- #ifdef __MMI_AUTO_KEYPAD_LOCK__
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU9178_AKPL_TIME, HintAutoKeypadLock);
- #endif
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU9167_FIXED_DIAL, HintFdl);
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU9168_BARRED_DAIL, HintBdl);
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU_SETTING_FDL_MODE, HintFdlMode);
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU_SETTING_BDL_MODE, HintBdlMode);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8234_FDL_VIEW_OPTIONS_ADD, HighlightAddFDL);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8234_FDL_VIEW_OPTIONS_EDIT, HighlightEditFDL);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8234_FDL_VIEW_OPTIONS_DELETE, HighlightDeleteFDL);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8236_BDL_VIEW_OPTIONS_ADD, HighlightAddBDlist);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8236_BDL_VIEW_OPTIONS_EDIT, HighlightEditBDlist);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8236_BDL_VIEW_OPTIONS_DELETE, HighlightDeleteBDlist);
- #ifdef __MMI_ACL_SUPPORT__
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_SECSET_ACL_MAIN, mmi_secset_highlight_acl_main);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_SECSET_ACL_MODE, mmi_secset_highlight_acl_mode);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_SECSET_ACL_LIST, mmi_secset_highlight_acl_list);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_SECSET_ACL_ADD, mmi_secset_highlight_add_acl);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_SECSET_ACL_EDIT, mmi_secset_highlight_edit_acl);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_SECSET_ACL_DELETE, mmi_secset_highlight_delete_acl);
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU_ID_SECSET_ACL_MAIN, mmi_secset_hint_acl_main);
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU_ID_SECSET_ACL_MODE, mmi_secset_hint_acl_mode);
- #endif /* __MMI_ACL_SUPPORT__ */
- }
- /*****************************************************************************
- * FUNCTION
- * populateSecuritySetup
- * DESCRIPTION
- * populating various resources
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void populateSecuritySetup(void)
- {
- #ifdef __MMI_AUTO_KEYPAD_LOCK__
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU9101_SECURITY,
- #ifndef __MMI_DUAL_SIM_MASTER__
- MAIN_MENU_SETTINGS_MENUID,
- #ifdef __CERTMAN_SUPPORT__
- #ifdef __MMI_ACL_SUPPORT__
- 8,
- #else
- 7,
- #endif
- #else /* __CERTMAN_SUPPORT__ */
- #ifdef __MMI_ACL_SUPPORT__
- 7,
- #else
- 6,
- #endif
- #endif /* __CERTMAN_SUPPORT__ */
- #else /* __MMI_DUAL_SIM_MASTER__ */
- MENU_MTPNP_DM_SECURITY_SETTING,
- 4,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- MENU9169_SIM_LOCK,
- #ifndef __MMI_DUAL_SIM_MASTER__
- MENU9165_PHONE_LOCK,
- MENU9178_AKPL_TIME,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- MENU9167_FIXED_DIAL,
- MENU9168_BARRED_DAIL,
- #ifndef __MMI_DUAL_SIM_MASTER__
- #ifdef __MMI_ACL_SUPPORT__
- MENU_ID_SECSET_ACL_MAIN,
- #endif
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- MENU9170_CHANGE_PASSWORD,
- #ifndef __MMI_DUAL_SIM_MASTER__
- #ifdef __CERTMAN_SUPPORT__
- MENU_CERTIFICATE_MANAGER,
- #endif /*__CERTMAN_SUPPORT__ */
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- SHOW, MOVEABLEACROSSPARENT | INSERTABLE | SHORTCUTABLE, DISP_LIST,
- #ifndef __MMI_DUAL_SIM_MASTER__
- STR_MENU9101_SECURITY,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- STRING_MTPNP_CARD1_SECURITY_SETTING,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- IMG_SETTING_SECURITY));
- #else /* __MMI_AUTO_KEYPAD_LOCK__ */
- ADD_APPLICATION_MENUITEM((MENU9101_SECURITY,
- #ifndef __MMI_DUAL_SIM_MASTER__
- MAIN_MENU_SETTINGS_MENUID,
- #ifdef __CERTMAN_SUPPORT__
- #ifdef __MMI_ACL_SUPPORT__
- 7,
- #else
- 6,
- #endif
- #else /* __CERTMAN_SUPPORT__ */
- #ifdef __MMI_ACL_SUPPORT__
- 6,
- #else
- 5,
- #endif
- #endif /* __CERTMAN_SUPPORT__ */
- #else /* __MMI_DUAL_SIM_MASTER__ */
- MENU_MTPNP_DM_SECURITY_SETTING,
- 4,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- MENU9169_SIM_LOCK,
- #ifndef __MMI_DUAL_SIM_MASTER__
- MENU9165_PHONE_LOCK,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- MENU9167_FIXED_DIAL,
- MENU9168_BARRED_DAIL,
- #ifndef __MMI_DUAL_SIM_MASTER__
- #ifdef __MMI_ACL_SUPPORT__
- MENU_ID_SECSET_ACL_MAIN,
- #endif
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- MENU9170_CHANGE_PASSWORD,
- #ifndef __MMI_DUAL_SIM_MASTER__
- #ifdef __CERTMAN_SUPPORT__
- MENU_CERTIFICATE_MANAGER,
- #endif /*__CERTMAN_SUPPORT__ */
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- SHOW, MOVEABLEACROSSPARENT | INSERTABLE | SHORTCUTABLE, DISP_LIST,
- #ifndef __MMI_DUAL_SIM_MASTER__
- STR_MENU9101_SECURITY,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- STRING_MTPNP_CARD1_SECURITY_SETTING,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- IMG_SETTING_SECURITY));
- #endif /* __MMI_AUTO_KEYPAD_LOCK__ */
- ADD_APPLICATION_MENUITEM((MENU9165_PHONE_LOCK,
- #ifndef __MMI_DUAL_SIM_MASTER__
- MENU9101_SECURITY,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- MENU_MTPNP_DM_SECURITY_SETTING,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_MENU9165_PHONE_LOCK, 0));
- #ifdef __MMI_AUTO_KEYPAD_LOCK__
- ADD_APPLICATION_MENUITEM((MENU9178_AKPL_TIME,
- #ifndef __MMI_DUAL_SIM_MASTER__
- MENU9101_SECURITY,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- MENU_MTPNP_DM_SECURITY_SETTING,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- 5,
- MENU9177_AKPL_OFF,
- MENU9178_AKPL_TIME_5,
- #ifdef __MMI_LANG_EUROPE_ASIA_TYPE__
- MENU9178_AKPL_TIME_30,
- MENU9178_AKPL_TIME_60,
- MENU9178_AKPL_TIME_2,
- #elif defined (__THAI_SUPPORT__)
- MENU9178_AKPL_TIME_15,
- MENU9178_AKPL_TIME_30,
- MENU9178_AKPL_TIME_60,
- #else
- MENU9178_AKPL_TIME_30,
- MENU9178_AKPL_TIME_60,
- MENU9178_AKPL_TIME_2,
- #endif
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_MENU9166_AUTO_KEYPAD_LOCK, 0));
- ADD_APPLICATION_MENUITEM((MENU9177_AKPL_OFF, MENU9178_AKPL_TIME, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_MENU9177_AKPL_OFF, 0));
- ADD_APPLICATION_MENUITEM((MENU9178_AKPL_TIME_5, MENU9178_AKPL_TIME, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR9178_AKPL_TIME_5, 0));
- ADD_APPLICATION_MENUITEM((MENU9178_AKPL_TIME_30, MENU9178_AKPL_TIME, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR9178_AKPL_TIME_30, 0));
- ADD_APPLICATION_MENUITEM((MENU9178_AKPL_TIME_60, MENU9178_AKPL_TIME, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR9178_AKPL_TIME_60, 0));
- ADD_APPLICATION_MENUITEM((MENU9178_AKPL_TIME_2, MENU9178_AKPL_TIME, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR9178_AKPL_TIME_2, 2));
- ADD_APPLICATION_MENUITEM((MENU9178_AKPL_TIME_15, MENU9178_AKPL_TIME, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR9178_AKPL_TIME_15,0));
- #endif /* __MMI_AUTO_KEYPAD_LOCK__ */
- ADD_APPLICATION_MENUITEM((MENU9167_FIXED_DIAL, MENU9101_SECURITY, 2,
- MENU_SETTING_FDL_MODE,
- MENU_SETTING_FDL_LIST,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_MENU9167_FIXED_DIAL, 0));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_FDL_MODE, MENU9167_FIXED_DIAL, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_SETTING_FDL_MODE, 0));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_FDL_LIST, MENU9167_FIXED_DIAL, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_SETTING_FDL_LIST, 0));
- ADD_APPLICATION_MENUITEM((MENU9168_BARRED_DAIL, MENU9101_SECURITY, 2,
- MENU_SETTING_BDL_MODE,
- MENU_SETTING_BDL_LIST,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_MENU9168_BARRED_DAIL, 0));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_BDL_MODE, MENU9168_BARRED_DAIL, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_SETTING_BDL_MODE, 0));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_BDL_LIST, MENU9168_BARRED_DAIL, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_SETTING_BDL_LIST, 0));
- ADD_APPLICATION_MENUITEM((MENU9169_SIM_LOCK, MENU9101_SECURITY, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST,
- #ifndef __MMI_DUAL_SIM_MASTER__
- STR_MENU9169_SIM_LOCK,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- STRING_MTPNP_CARD1_PINLOCK,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- 0));
- ADD_APPLICATION_MENUITEM((MENU9170_CHANGE_PASSWORD, MENU9101_SECURITY, 3,
- MENU9174_CP_PIN1,
- MENU9175_CP_PIN2,
- MENU9173_CP_PHONE_LOCK,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_MENU9170_CHANGE_PASSWORD, 0));
- ADD_APPLICATION_MENUITEM((MENU9173_CP_PHONE_LOCK, MENU9170_CHANGE_PASSWORD, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_MENU9173_CP_PHONE_LOCK, 0));
- ADD_APPLICATION_MENUITEM((MENU9174_CP_PIN1, MENU9170_CHANGE_PASSWORD, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST,
- #ifndef __MMI_DUAL_SIM_MASTER__
- STR_MENU9174_CP_PIN1,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- STRING_MTPNP_CP_SIM1PIN1,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- 0));
- ADD_APPLICATION_MENUITEM((MENU9175_CP_PIN2, MENU9170_CHANGE_PASSWORD, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST,
- #ifndef __MMI_DUAL_SIM_MASTER__
- STR_MENU9175_CP_PIN2,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- STRING_MTPNP_CP_SIM1PIN2,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- 0));
- #ifdef __CERTMAN_SUPPORT__
- ADD_APPLICATION_MENUITEM((MENU_CERTIFICATE_MANAGER, MENU9101_SECURITY, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_CERTIFICATE_MANAGER, 0));
- #endif /*__CERTMAN_SUPPORT__ */
- /*****Strings*****/
- ADD_APPLICATION_STRING2(STR_MENU9101_SECURITY, "Security Setup", "Settings Security.");
- ADD_APPLICATION_STRING2(STR_SCR9002_SECURITY_CAPTION, "Security Setup", "Security Setup Caption.");
- ADD_APPLICATION_STRING2(STR_MENU9165_PHONE_LOCK, "Phone Lock", "Phone Lock Menu.");
- #ifdef __MMI_AUTO_KEYPAD_LOCK__
- ADD_APPLICATION_STRING2(STR_MENU9166_AUTO_KEYPAD_LOCK, "Auto Keypad Lock", "Auto KeyPad Lock Menu.");
- #endif
- ADD_APPLICATION_STRING2(STR_MENU9167_FIXED_DIAL, "Fixed Dial", "Fixed Dial Menu.");
- ADD_APPLICATION_STRING2(STR_MENU9168_BARRED_DAIL, "Barred Dial", "Barred Dial Menu.");
- ADD_APPLICATION_STRING2(STR_MENU9169_SIM_LOCK, "SIM Lock", "PIN Lock Menu.");
- ADD_APPLICATION_STRING2(STR_MENU9170_CHANGE_PASSWORD, "Change Password", "Change Password Menu.");
- ADD_APPLICATION_STRING2(STR_MENU9173_CP_PHONE_LOCK, "Phone Lock Password", "Change Phone Lock Menu.");
- ADD_APPLICATION_STRING2(STR_MENU9174_CP_PIN1, "PIN", "Change SIM Lock Menu.");
- ADD_APPLICATION_STRING2(STR_MENU9175_CP_PIN2, "PIN2", "Change PIN2 Menu.");
- ADD_APPLICATION_STRING2(STR_DIFF_PIN, "Different PIN codes!", "Pin codes Different String.");
- ADD_APPLICATION_STRING2(STR_ID_PIN_NOT_SUPPORT, "PIN not support!", "PIN not support!");
- ADD_APPLICATION_STRING2(STR_ID_PIN2_NOT_SUPPORT, "PIN2 not support!", "PIN2 not support!");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_UNSPECIFIED_ERROR, "Please try later!", "Please try later!");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_DELETE_ASK, "Delete?", "Delete? string");
- ADD_APPLICATION_STRING2(STR_ID_SECSET_REPLACE_WILDCARD, "Please replace ? by a digit", "Prompt string");
- #ifdef __MMI_AUTO_KEYPAD_LOCK__
- ADD_APPLICATION_STRING2(STR_MENU9177_AKPL_OFF, "None", "Off Option For AutoKeyPadLock Option.");
- ADD_APPLICATION_STRING2(STR9178_AKPL_TIME_5, "5 sec.", "Time 5 Sec For Auto KeyPad Lock.");
- ADD_APPLICATION_STRING2(STR9178_AKPL_TIME_30, "30 sec.", "Time 30 Sec For Auto KeyPad Lock.");
- ADD_APPLICATION_STRING2(STR9178_AKPL_TIME_15, "15 sec.", "Time 15 Sec For Auto KeyPad Lock.");
- ADD_APPLICATION_STRING2(STR9178_AKPL_TIME_60, "1 min.", "Time 60 sec For Auto KeyPad Lock.");
- ADD_APPLICATION_STRING2(STR9178_AKPL_TIME_2, "5 min.", "Time 5 Min For Auto KeyPad Lock.");
- #endif /* __MMI_AUTO_KEYPAD_LOCK__ */
- #ifdef __OP12__
- ADD_APPLICATION_STRING2(STR_PIN_BLOCKED_PUK_OP12, "PIN blocked. Contact operator for PUK.", "OP12 PIN Blocked String");
- ADD_APPLICATION_STRING2(STR_SETTING_PIN2_BLK_OP12, "PIN2 blocked. Some funtions are unavailable. Contact operator for PUK2.", "OP12 PIN2 Blocked String");
- ADD_APPLICATION_STRING2(STR_SIM_BLOCK_MSG_OP12, "PUK blocked. Contact operator.", "OP12 PUK Blocked String");
- ADD_APPLICATION_STRING2(STR_ID_PIN2_NOT_SUPPORT_OP12, "PUK2 blocked. Contact operator.", "OP12 PUK2 Blocked String");
- #endif /* __OP12__ */
- ADD_APPLICATION_STRING2(STR_ENABLE_PIN, "PIN Lock Must Be Enabled!", "Enable PIN Lock String.");
- ADD_APPLICATION_STRING2(STR_SETTING_PUK, "Enter PUK", "Enter PUK Screen String.");
- ADD_APPLICATION_STRING2(STR_ID_CERTIFICATE_MANAGER, "Certificate Manager", "Certificate Manager");
- ADD_APPLICATION_STRING2(STR_SETTING_FDL_LIST, "Fixed Dial List", "Fixed Dial List option.");
- ADD_APPLICATION_STRING2(STR_SETTING_FDL_MODE, "Mode", "Fixed Dial Mode Option.");
- ADD_APPLICATION_STRING2(STR_NO_FDL, "SIM Card Not Support!", "SIM Card Not Support Message.");
- ADD_APPLICATION_STRING2(STR_SETTING_BDL_LIST, "Barred Dial List", "Barred Dial List option.");
- ADD_APPLICATION_STRING2(STR_SETTING_BDL_MODE, "Mode", "Barred Dial Mode Option.");
- ADD_APPLICATION_STRING2(STR_SETTING_SOS, "SOS", "RSK associated with Drop emergency Call.");
- ADD_APPLICATION_STRING2(STR_SETTING_SIM_LOCK, "SIM Locked!", "SIM Locked.");
- ADD_APPLICATION_STRING2(STR_SETTING_SIM_UNLOCK, "SIM Unlocked!", "SIM UnLocked.");
- ADD_APPLICATION_STRING2(STR_SETTING_PHONE_LOCK, "Phone Locked!", "Phone Locked.");
- ADD_APPLICATION_STRING2(STR_SETTING_PHONE_UNLOCK, "Phone Unlocked!", "Phone UnLocked.");
- ADD_APPLICATION_STRING2(STR_SETTING_OLD_PIN, "Enter Old PIN", "Enter Old PIN.");
- ADD_APPLICATION_STRING2(STR_SETTING_NEW_PIN, "New PIN", "New PIN.");
- ADD_APPLICATION_STRING2(STR_SETTING_OLD_PIN2, "Enter Old PIN2", "Enter Old PIN2.");
- ADD_APPLICATION_STRING2(STR_SETTING_NEW_PIN2, "New PIN2", "New PIN2.");
- ADD_APPLICATION_STRING2(STR_DIFF_PIN2, "Different PIN2 codes!", "Different PIN2 Codes Message.");
- ADD_APPLICATION_STRING2(STR_DIFF_PHONE, "Different Passwords!", "Different PhoneLock Message.");
- ADD_APPLICATION_STRING2(STR_WRONG_PIN, "Wrong PIN Code!", "Wrong PIN Code Message.");
- ADD_APPLICATION_STRING2(STR_PIN_CHANGE, "PIN changed successfully!", "PIN changed successfully Message.");
- ADD_APPLICATION_STRING2(STR_WRONG_PIN2, "Wrong PIN2 Code!", "Wrong PIN2 Code Message.");
- ADD_APPLICATION_STRING2(STR_PIN2_CHANGE, "PIN2 changed successfully!", "PIN2 changed successfully Message.");
- ADD_APPLICATION_STRING2(STR_PHONE_CHANGE, "Password changed!", "Password changed successfully Message.");
- ADD_APPLICATION_STRING2(STR_SETTING_ENTER_PUK2, "Enter PUK2", "Enter PUK2 Message.");
- ADD_APPLICATION_STRING2(STR_SETTING_ENTER_NEW_PIN2, "Enter New PIN2", "Enter New PIN2 Message.");
- ADD_APPLICATION_STRING2(STR_SCR9026_CHANGE_PASSWORD_CAPTION, "Change Password", "Change Password Menu.");
- ADD_APPLICATION_STRING2(STR_SCR9027_PIN2_CAPTION, "Enter PIN2", "Enter PIN2 Caption String.");
- ADD_APPLICATION_STRING2(STR_SCR9028_PIN1_CAPTION, "Enter PIN", "Enter PIN1 Caption String.");
- ADD_APPLICATION_STRING2(STR_SCR9029_CURRENT_PW_CAPTION, "Enter Old Password", "Enter Old Password String.");
- ADD_APPLICATION_STRING2(STR_NEW_PIN1, "Enter New PIN", "Enter New PIN1 String.");
- ADD_APPLICATION_STRING2(STR_SCR9030_NEW_PW_CAPTION, "New Password", "Enter New Password String.");
- ADD_APPLICATION_STRING2(STR_SCR9031_CONFIRM_PW_CAPTION, "Enter Again", "Enter Confirm Password String.");
- ADD_APPLICATION_STRING2(STR_SETTING_WRONG_PUK2, "Wrong PUK2", "Wrong PUK2 String.");
- ADD_APPLICATION_STRING2(STR_SETTING_WRONG_PUK, "Wrong PUK", "Wrong PUK String.");
- ADD_APPLICATION_STRING2(STR_SETTING_PIN2_BLOCK_TITLE, "PIN2 Blocked", "PIN2 Blocked Title String.");
- ADD_APPLICATION_STRING2(
- STR_SETTING_PIN2_BLOCK_MSG,
- "Please Contact Service Provider",
- "PIN2 Blocked Message String.");
- ADD_APPLICATION_STRING2(STR_PASS_TRIALS_REMAIN, "Trials Remain: ", "Password trials remain message.");
- ADD_APPLICATION_STRING2(STR_FDL_IS_ON, "FDN Enabled", "FDN Enable Message.");
- ADD_APPLICATION_STRING2(STR_FDL_IS_OFF, "FDN Disabled", "FDN Disabled Message.");
- ADD_APPLICATION_STRING2(STR_BDL_IS_ON, "BDN Enabled", "BDN Enabled Message.");
- ADD_APPLICATION_STRING2(STR_BDL_IS_OFF, "BDN Disabled", "BDN Disabled Message.");
- ADD_APPLICATION_STRING2(STR_SETTING_PIN_BLK, "Wrong PIN! PIN is blocked.", "Wrong PIN! PIN is blocked Message.");
- ADD_APPLICATION_STRING2(
- STR_SETTING_PIN2_BLK,
- "Wrong PIN2! PIN2 is blocked.",
- "Wrong PIN2! PIN2 is blocked Message.");
- ADD_APPLICATION_STRING2(STR_SETTING_PIN2_BLK2, "PIN2 is blocked.", "PIN2 is blocked Message.");
- ADD_APPLICATION_STRING2(
- STR_INVALID_PINPUKPLOCK_LENGTH,
- "Invalid Length!",
- "Running Text on Incorrect PIN/PUK length Message.");
- ADD_APPLICATION_STRING2(STR_SETTING_STORAGE_FULL, "Storage Full!", "Sotrage Full Message .");
- #ifdef __SUB_MENU_MATRIX_DISPLAY__
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_SECURITY,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\DM_SECURITY.png",
- "Setting Submenu image for Security Setup.");
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_SECURITY_EX,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\DM_SECURITY_ani.png",
- "Setting Submenu image for Security Setup.");
- /* begin: zhangclc added at: 2010-03-09 */
- #if defined(OFN_SUPPORT)
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_OFN,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\OFN_SETTING.png",
- "Setting Submenu image for Security Setup.");
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_OFN_EX,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\OFN_SETTING_ANI.png",
- "Setting Submenu image for Security Setup.");
- #endif /* OFN_SUPPORT */
- #if defined(JOGBALL_SUPPORT)
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_JOGBALL,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\JOGBALL_SETTING.png",
- "Setting Submenu image for Security Setup.");
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_JOGBALL_EX,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\JOGBALL_SETTING_ANI.png",
- "Setting Submenu image for Security Setup.");
- #endif /* JOGBALL_SUPPORT */
- /* end: zhangclc added at: 2010-03-09 */
-
- #else
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_SECURITY,
- CUST_IMG_PATH "\\MainLCD\\SubMenu\\Settings\\SB_SECUR.PBM",
- "Setting Submenu image for Security Setup.");
- #endif
- PopulateFixedDialList();
- PopulateBarredDialList();
- PopulateAPNControlList();
- }
- /*****************************************************************************
- * FUNCTION
- * PopulateSettingMenuRes
- * DESCRIPTION
- * populating Setting menu resource
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateSettingMenuRes(void)
- {
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9102_INITIAL_SETUP, HighlightPhnsetScr);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU9141_TIME_AND_DATE, HighlightPhnsetTimeAndDate);
-
- #if defined(__MMI_PREFER_INPUT_METHOD__)
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_SETTING_PREFERED_INPUT_METHOD, HighlightInputMehtodSetting);
- #endif
- #ifdef __MMI_SETTING_APP_SETUP__
- #ifdef __J2ME__
- /* high light handle of java setting */
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_SETTING_APP_SETUP_JAVA, mmi_fng_highlight_setting_java);
- #endif /* __J2ME__ */
- /* high light handle of message setting */
- #ifdef __MMI_UNIFIED_MESSAGE__
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_UM_SETTING, mmi_um_highlight_setting);
- #endif /* __MMI_UNIFIED_MESSAGE__ */
- #endif /* __MMI_SETTING_APP_SETUP__ */
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_SETTING_RESTORE, HighlightRstScr);
- #if !defined(__MMI_NO_CONTRAST_LEVEL__)
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_SETTING_CONTRAST_LEVEL, HighlightPhnsetContrastLevel);
- #endif
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_PHNSET_GPIO_SETTING, HighlightPhnsetGPIOSetting);
- #if defined(JOGBALL_SUPPORT)
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_PHNSET_JB_SETTING, HighlightPhnsetJogBallSetting);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_PHNSET_JB_SENSITIVITY, HighlightPhnsetJogBallLevelSetting);
- #endif
- #if !defined(HARDWARE_LED_NOT_SUPPORT)
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_PHNSET_GPIO_LED, HighlightPhnsetGPIOLED);
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU_ID_PHNSET_GPIO_LED, HintPhnsetGPIOLED);
- #endif
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_PHNSET_GPIO_BACKLITE, HighlightPhnsetGPIOBackLite);
- #ifdef __MMI_COVER_SETTING__
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_PHNSET_GPIO_COVER_CLOSE, HighlightPhnsetGPIOCover);
- #endif
- PopulateNetworkSetupMenuRes();
- PopulatePhoneSetupMenuRes();
- PopulateSecuritySetupMenuRes();
- }
- /*****************************************************************************
- * FUNCTION
- * populateSettingMenu
- * DESCRIPTION
- * populating various resources
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void populateSettingMenu(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU9100_CALL_SETTING, MAIN_MENU_SETTINGS_MENUID, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_MENU9100_CALL_SETTING, 0));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_RESTORE, MAIN_MENU_SETTINGS_MENUID, 0,
- SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_MENU_RESTORE, IMG_SETTING_STORE));
- #ifdef __MMI_SETTING_APP_SETUP__
-
- /* add java setting menu and resource */
- #ifdef __J2ME__
- ADD_APPLICATION_MENUITEM((MENU_SETTING_APP_SETUP_JAVA, MAIN_MENU_SETTINGS_MENUID, 0,
- SHOW, MOVEABLEACROSSPARENT, DISP_LIST, STR_ID_APP_SETUP_JAVA, IMG_ID_APP_SETUP_JAVA));
- ADD_APPLICATION_STRING2(STR_ID_APP_SETUP_JAVA, "Java Settings", "Java Setup");
- ADD_APPLICATION_IMAGE2(
- IMG_ID_APP_SETUP_JAVA,
- CUST_IMG_PATH"\\MainLCD\\JAVA\\SB_JVST.pbm",
- "Java Submenu image for Java Settings");
- #endif /* __J2ME__ */
- /* add message setting menu and resource */
- #ifdef __MMI_UNIFIED_MESSAGE__
- ADD_APPLICATION_MENUITEM2((MENU_ID_UM_SETTING, MAIN_MENU_SETTINGS_MENUID,
- #ifndef __MMI_DUAL_SIM_MASTER__
- MENU_ID_SMS_MSG_SETTINGS,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- MENU_MTPNP_DM_MSG_SETTINGS,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- MENU_ID_UM_SETTING_MMS,
- MENU_ITEM_END,
- SHOW, MOVEABLEACROSSPARENT, DISP_LIST, STR_ID_APP_SETUP_MSG, IMG_ID_APP_SETUP_MSG));
- #endif /* __MMI_UNIFIED_MESSAGE__ */
- ADD_APPLICATION_STRING2(STR_ID_APP_SETUP_MSG, "Message Settings", "UM Setup");
- ADD_APPLICATION_IMAGE2(
- IMG_ID_APP_SETUP_MSG,
- CUST_IMG_PATH"\\MainLCD\\UniMessage\\Uni_Set.pbm",
- "Message Submenu image for message Settings");
- #endif /* __MMI_SETTING_APP_SETUP__ */
- #if defined(__MMI_TOUCH_SCREEN__)
- #if !defined(__MMI_OFN_MOUSE__)&&!defined(__MMI_VK_SUPPORT__)
- ADD_APPLICATION_MENUITEM((MENU_SETTING_CALIBRATION, MAIN_MENU_SETTINGS_MENUID, 0,
- SHOW, SHORTCUTABLE, DISP_LIST, STR_CALIBRATION_SETTING, IMG_CALIBRATION_MENU_ICON));
- #endif
- #endif /* __MMI_TOUCH_SCREEN__ */
- ADD_APPLICATION_MENUITEM2((MENU9102_INITIAL_SETUP, MAIN_MENU_SETTINGS_MENUID,
- /* begin: zhangclc added at 2010-02-05 --- 增加"动感世界"G-SENSOR设置菜单项 */
- #ifdef __MMI_INNERVATION_WORLD__
- MENU_ID_INNERVATION_WORLD,
- #endif
- /* end: zhangclc added at 2010-02-05 --- 增加"动感世界"G-SENSOR设置菜单项 */
- #ifdef __MMI_FREETYPE_SETTING_SUPPORT__
- MENU_ID_PHNSET_FREETYPE_SETTING,
- #endif
- MENU9141_TIME_AND_DATE, MENU_SETTING_SCHEDULE_POWER, MENU_SETTING_LANGUAGE,
- #ifdef __MMI_PREFER_INPUT_METHOD__
- MENU_SETTING_PREFERED_INPUT_METHOD,
- #endif
- #if defined(__MMI_PREFER_WRITING_LANG__) || defined(__MMI_MIXED_LANG_SUPPORT__)
- MENU_ID_PHNSET_PREFERED_WRITING_LANG,
- #endif
- #ifdef __MMI_SET_DEF_ENCODING_TYPE__
- MENU_SETTING_DEF_ENCODING_TYPE,
- #endif
- MENU_IDLE_SCR_DISP,
- #ifdef __MMI_THEMES_APPLICATION__
- MENU3101_THEMES, /* Theme, Wen */
- #endif
- #if !defined(__MMI_NO_CONTRAST_LEVEL__)
- MENU_SETTING_CONTRAST_LEVEL,
- #endif
- MENU9146_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__)
- EXTRA_SHORTCUTS_MENUID,
- #endif
- #if defined(__MMI_DEDICATED_KEY_SHORTCUTS__)
- MENU_SETTING_DEDICATED_KEYS,
- #endif
- #if (defined(__MMI_NITZ__) && (!defined(__MMI_AUTOTIMEZONE_IN_DATEANDTIME__)))
- MENU9145_SETTIMEANDDATENITZ,
- #endif
- #ifdef __FLIGHT_MODE_SUPPORT__
- #ifndef __MMI_DUAL_SIM_MASTER__
- MENU_SETTING_FLIGHT_MODE,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- #endif
- #if defined(__MMI_TOUCH_SCREEN__) && !defined(__MMI_NO_HANDWRITING__)
- MENU_SETTING_HANDWRITING,
- #endif
- #ifdef __MMI_TVOUT__
- MENU_ID_SETTING_TVOUT,
- #endif
- #ifdef __MMI_CHANGABLE_FONT__
- MENU_ID_PHNSET_FONT_SIZE,
- #endif
- /* begin: zhangclc modified at: 2009-12-01 */
- #if defined(__THAI_SUPPORT__)
- #ifdef __MMI_DUAL_SIM_MASTER__
- MENU_ID_PHNSET_UART_SETUP,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- #endif
- /* end: zhangclc modified at: 2009-12-01 */
- MENU_ID_PHNSET_GPIO_SETTING,
- MENU_ITEM_END,
- SHOW, MOVEABLEACROSSPARENT, DISP_LIST, STR_MENU9102_INITIAL_SETUP, IMG_SETTING_PHONE));
- ADD_APPLICATION_MENUITEM((MENU9146_WELCOME_TEXT, MENU9102_INITIAL_SETUP, 0,
- SHOW, (MOVEABLEACROSSPARENT | SHORTCUTABLE), DISP_LIST, STR_MENU9146_WELCOME_TEXT, 0));
- PopulateFontSizeResData();
- PopulateGPIOSettingResData();
- #ifdef __MMI_INNERVATION_WORLD__
- PopulateInnerWorResDate();
- #endif
- /* TV out related */
- #ifdef __MMI_TVOUT__
- ADD_APPLICATION_MENUITEM((MENU_ID_SETTING_TVOUT, MENU9102_INITIAL_SETUP, 2,
- MENU_ID_SETTING_TVOUT_SETTING,
- MENU_ID_SETTING_TVOUT_ADJUST, SHOW, NONMOVEABLE, DISP_LIST, STR_ID_SETTING_TVOUT, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_SETTING_TVOUT_SETTING, MENU_ID_SETTING_TVOUT, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_SETTINGS, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_SETTING_TVOUT_ADJUST, MENU_ID_SETTING_TVOUT, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_SETTING_TVOUT_ADJUST, 0));
- #endif /* __MMI_TVOUT__ */
- /**************************************************************/
- /* Robin 0722
- NOTICE!! This menu is not configure here
- It is dynamic list initialized in EntryPhnsetTimeAndDate() */
- /**************************************************************/
- ADD_APPLICATION_MENUITEM((MENU9141_TIME_AND_DATE, MENU9102_INITIAL_SETUP, MENU_SETDT_NUM,
- #ifndef __MMI_HIDE_HOMECITY__
- MENU9142_SETHOMECITY,
- #endif
- #ifdef __MMI_DUAL_CLOCK__
- MENU9142_SETFOREIGNCITY,
- #endif
- #ifndef __MMI_SEPARATE_DT_SETTING__
- MENU9143_SETTIMEANDDATE, MENU9144_SETTIMEANDDATEFORMAT,
- #else
- MENU_ID_SETTING_DATEANDFORMAT, MENU_ID_SETTING_TIMEANDFORMAT,
- #endif
- #if defined(__MMI_TIMEZONE_CHANGE_DATETIME__)
- MENU_ID_TZ_CHANGE_DATETIME,
- #endif
- #if (defined(__MMI_NITZ__) && defined(__MMI_AUTOTIMEZONE_IN_DATEANDTIME__))
- MENU9145_SETTIMEANDDATENITZ,
- #endif
- SHOW, MOVEABLEACROSSPARENT, DISP_LIST, STR_MENU9141_TIME_AND_DATE, 0));
- #ifndef __MMI_HIDE_HOMECITY__
- #ifdef __MMI_TWO_LAYER_HOMECITY__
- ADD_APPLICATION_MENUITEM((MENU9142_SETHOMECITY, MENU9141_TIME_AND_DATE, 0,
- SHOW, (MOVEABLEWITHINPARENT | SHORTCUTABLE), DISP_LIST, STR_MENU9142_SETTIMEZONE, 0));
- #else /* __MMI_TWO_LAYER_HOMECITY__ */
- ADD_APPLICATION_MENUITEM((MENU9142_SETHOMECITY, MENU9141_TIME_AND_DATE, 0,
- SHOW, (MOVEABLEWITHINPARENT | SHORTCUTABLE), DISP_LIST, STR_MENU9142_SETHOMECITY, 0));
- #endif /* __MMI_TWO_LAYER_HOMECITY__ */
- #endif /* __MMI_HIDE_HOMECITY__ */
- #ifdef __MMI_DUAL_CLOCK__
- ADD_APPLICATION_MENUITEM((MENU9142_SETFOREIGNCITY, MENU9141_TIME_AND_DATE, 0,
- SHOW, (MOVEABLEWITHINPARENT | SHORTCUTABLE), DISP_LIST, STR_MENU9142_SETFRNCITY, 0));
- #endif /* __MMI_OP11_HOMESCREEN__ */
- #ifndef __MMI_SEPARATE_DT_SETTING__
- ADD_APPLICATION_MENUITEM((MENU9143_SETTIMEANDDATE, MENU9141_TIME_AND_DATE, 0,
- SHOW, (MOVEABLEWITHINPARENT | SHORTCUTABLE), DISP_LIST, STR_ID_PHNSET_SET_DT, 0));
- ADD_APPLICATION_MENUITEM((MENU9144_SETTIMEANDDATEFORMAT, MENU9141_TIME_AND_DATE, 0,
- SHOW, (MOVEABLEWITHINPARENT | SHORTCUTABLE), DISP_LIST, STR_MENU9144_SETTIMEANDDATEFORMAT,
- 0));
- #else /* __MMI_SEPARATE_DT_SETTING__ */
- ADD_APPLICATION_MENUITEM((MENU_ID_SETTING_DATEANDFORMAT, MENU9141_TIME_AND_DATE, 0,
- SHOW, (MOVEABLEWITHINPARENT | SHORTCUTABLE), DISP_LIST, STR_ID_PHNSET_SET_DATEANDFORMAT,
- 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_SETTING_TIMEANDFORMAT, MENU9141_TIME_AND_DATE, 0,
- SHOW, (MOVEABLEWITHINPARENT | SHORTCUTABLE), DISP_LIST, STR_ID_PHNSET_SET_TIMEANDFORMAT,
- 0));
- #endif /* __MMI_SEPARATE_DT_SETTING__ */
-
- #if defined(__MMI_TIMEZONE_CHANGE_DATETIME__)
- ADD_APPLICATION_MENUITEM((MENU_ID_TZ_CHANGE_DATETIME, MENU9141_TIME_AND_DATE, 0,
- SHOW, (MOVEABLEWITHINPARENT | SHORTCUTABLE), DISP_LIST, STR_ID_TZ_CHANGE_DATETIME, 0));
- #endif /* defined(__MMI_TIMEZONE_CHANGE_DATETIME__) && defined(__MMI_NITZ__) */
- #if (defined(__MMI_NITZ__) && defined(__MMI_AUTOTIMEZONE_IN_DATEANDTIME__))
- ADD_APPLICATION_MENUITEM((MENU9145_SETTIMEANDDATENITZ, MENU9141_TIME_AND_DATE, 0,
- SHOW, (MOVEABLEACROSSPARENT | SHORTCUTABLE), DISP_LIST, STR_MENU_SETTING_MENU_TREE, 0));
- #endif /* (defined(__MMI_NITZ__) && defined(__MMI_AUTOTIMEZONE_IN_DATEANDTIME__)) */
- ADD_APPLICATION_MENUITEM((MENU_SETTING_LANGUAGE, MENU9102_INITIAL_SETUP, 0,
- SHOW, (MOVEABLEACROSSPARENT | SHORTCUTABLE), DISP_LIST, STR_MENU_LANGUAGE, 0));
- #ifdef __FLIGHT_MODE_SUPPORT__
- #ifndef __MMI_DUAL_SIM_MASTER__
- ADD_APPLICATION_MENUITEM((MENU_SETTING_FLIGHT_MODE, MENU9102_INITIAL_SETUP, 0,
- SHOW, SHORTCUTABLE, DISP_LIST, STR_MENU_FLIGHT_MODE, 0));
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- #endif /* __FLIGHT_MODE_SUPPORT__ */
- #ifdef __MMI_DUAL_SIM_MASTER__
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_UART_SETUP, MENU9102_INITIAL_SETUP, 0,
- SHOW, SHORTCUTABLE, DISP_LIST, STR_ID_PHNSET_UART_SETUP_TITLE, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_UART_SETUP, MENU9102_INITIAL_SETUP,
- 2,
- MENU_ID_PHNSET_UART_SIM1,
- MENU_ID_PHNSET_UART_SIM2,
- SHOW, (MOVEABLEACROSSPARENT | SHORTCUTABLE), DISP_LIST, STR_ID_PHNSET_UART_SETUP_TITLE, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_UART_SIM1, MENU_SETTING_DEF_ENCODING_TYPE, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STRING_MTPNP_UART_SIM1, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_UART_SIM2, MENU_SETTING_DEF_ENCODING_TYPE, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STRING_MTPNP_UART_SIM2, 0));
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_UART_SETUP_TITLE, "UART Setup", "UART Setup");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_UART_REBOOT, "After change UART Phone will reboot. Continue? ", "UART Reboot confirm");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_UART_SETUP_REBOOT_PROCESSING, "Reboot Processing", "UART reboot process");
- ADD_APPLICATION_STRING2(STRING_MTPNP_UART_SIM1, "SIM1", "SIM1");
- ADD_APPLICATION_STRING2(STRING_MTPNP_UART_SIM2, "SIM2", "SIM2");
- #if defined(__MMI_PREFER_INPUT_METHOD__)
- ADD_APPLICATION_MENUITEM((MENU_SETTING_PREFERED_INPUT_METHOD, MENU9102_INITIAL_SETUP, 0,
- SHOW, (MOVEABLEACROSSPARENT | SHORTCUTABLE), DISP_LIST, STR_MENU_INPUT_METHOD, 0));
- #endif /* defined(__MMI_PREFER_INPUT_METHOD__) */
- #if defined(__MMI_PREFER_WRITING_LANG__) || defined(__MMI_MIXED_LANG_SUPPORT__)
- #if defined(__MMI_MIXED_LANG_SUPPORT__)
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_PREFERED_WRITING_LANG, MENU9102_INITIAL_SETUP, 2,
- MENU_ID_PHNSET_PREFERED_WRITING_LANG_MAIN,
- MENU_ID_PHNSET_PREFERED_WRITING_LANG_SUB,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_PHNSET_PREFERED_WRITING_LANG, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_PREFERED_WRITING_LANG_MAIN, MENU_ID_PHNSET_PREFERED_WRITING_LANG, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_PHNSET_PREFERED_WRITING_LANG_MAIN, 0));
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_PREFERED_WRITING_LANG_SUB, MENU_ID_PHNSET_PREFERED_WRITING_LANG, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_PHNSET_PREFERED_WRITING_LANG_SUB, 0));
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_PREFERED_WRITING_LANG_MAIN, "Main Language", "Main writing language");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_PREFERED_WRITING_LANG_SUB, "Sub Language", "Sub writing language");
- #else
- ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_PREFERED_WRITING_LANG, MENU9102_INITIAL_SETUP, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_ID_PHNSET_PREFERED_WRITING_LANG, 0));
- #endif /* defined(__MMI_MIXED_LANG_SUPPORT__) */
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_PREFERED_WRITING_LANG, "Writing Language", "Preferred writing language");
- #endif /* defined(__MMI_PREFER_WRITING_LANG__) */
- #if defined(__MMI_SET_DEF_ENCODING_TYPE__)
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEF_ENCODING_TYPE, MENU9102_INITIAL_SETUP,
- 0
- #ifdef __MMI_CHSET_BIG5__
- +1
- #endif /* __MMI_CHSET_BIG5__ */
- #ifdef __MMI_CHSET_GB2312__
- +1
- #endif /* __MMI_CHSET_GB2312__ */
- #ifdef __MMI_CHSET_HKSCS__
- +1
- #endif /* __MMI_CHSET_HKSCS__ */
- #ifdef __MMI_CHSET_GB18030__
- +1
- #endif /* __MMI_CHSET_GB18030__ */
- ,
- #ifdef __MMI_CHSET_BIG5__
- MENU_SETTING_DEF_ENCODING_BIG2,
- #endif /* __MMI_CHSET_BIG5__ */
- #ifdef __MMI_CHSET_GB2312__
- MENU_SETTING_DEF_ENCODING_GB2312,
- #endif /* __MMI_CHSET_GB2312__ */
- #ifdef __MMI_CHSET_HKSCS__
- MENU_SETTING_DEF_ENCODING_HKSCS,
- #endif /* __MMI_CHSET_HKSCS__ */
- #ifdef __MMI_CHSET_GB18030__
- MENU_SETTING_DEF_ENCODING_GB18030,
- #endif /* __MMI_CHSET_GB18030__ */
- SHOW, (MOVEABLEACROSSPARENT | SHORTCUTABLE), DISP_LIST, STR_DEF_ENCODING_TYPE_TITLE, 0));
- #ifdef __MMI_CHSET_BIG5__
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEF_ENCODING_BIG2, MENU_SETTING_DEF_ENCODING_TYPE, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_DEF_ENCODING_TYPE_BIG5, 0));
- #endif /* __MMI_CHSET_BIG5__ */
- #ifdef __MMI_CHSET_GB2312__
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEF_ENCODING_GB2312, MENU_SETTING_DEF_ENCODING_TYPE, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_DEF_ENCODING_TYPE_GB2312, 0));
- #endif /* __MMI_CHSET_GB2312__ */
- #ifdef __MMI_CHSET_HKSCS__
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEF_ENCODING_HKSCS, MENU_SETTING_DEF_ENCODING_TYPE, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_DEF_ENCODING_TYPE_HKSCS, 0));
- #endif /* __MMI_CHSET_HKSCS__ */
- #ifdef __MMI_CHSET_GB18030__
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEF_ENCODING_GB18030, MENU_SETTING_DEF_ENCODING_TYPE, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_DEF_ENCODING_TYPE_GB18030, 0));
- #endif /* __MMI_CHSET_GB18030__ */
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEF_ENCODING_UCS2, MENU_SETTING_DEF_ENCODING_TYPE, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_DEF_ENCODING_TYPE_UCS2, 0));
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_TITLE, "Default Encoding Type", "Default Encoding Type");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_8859_1, "ISO-8859-1", "ISO-8859-1");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_8859_2, "ISO-8859-2", "ISO-8859-2");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_8859_3, "ISO-8859-3", "ISO-8859-3");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_8859_4, "ISO-8859-4", "ISO-8859-4");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_8859_6, "ISO-8859-6", "ISO-8859-6");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_8859_7, "ISO-8859-7", "ISO-8859-7");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_8859_8, "ISO-8859-8", "ISO-8859-8");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_8859_9, "ISO-8859-9", "ISO-8859-9");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_8859_10, "ISO-8859-10", "ISO-8859-10");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_8859_15, "ISO-8859-15", "ISO-8859-15");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_UTF_7, "UTF-7", "UTF-7");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_UTF_8, "UTF-8", "UTF-8");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_UTF_16LE, "UTF-16LE", "UTF-16LE");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_UTF_16BE, "UTF-16BE", "UTF-16BE");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ASCII, "ASCII", "ASCII");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_WINDOWS_1250, "Windows-1250", "Windows-1250");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_WINDOWS_1252, "Windows-1252", "Windows-1252");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_WINDOWS_1253, "Windows-1253", "Windows-1253");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_WINDOWS_1254, "Windows-1254", "Windows-1254");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_WINDOWS_1255, "Windows-1255", "Windows-1255");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_WINDOWS_1256, "Windows-1256", "Windows-1256");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_WINDOWS_1257, "Windows-1257", "Windows-1257");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_WINDOWS_1258, "Windows-1258", "Windows-1258");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_WINDOWS_874, "Windows-874", "Windows-874");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_ISO_10585, "ISO-10585", "ISO-10585");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_CP1097, "CP1097", "CP1097");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_CP1098, "CP1098", "CP1098");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_EUC_KR, "EUC-KR", "EUC-KR");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_KOI8_R, "KOI8-R", "KOI8-R");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_TIS_620, "TIS-620", "TIS-620");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_BIG5, "Big5", "Big5");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_GB2312, "GB2312", "GB2312");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_GB18030, "GB18030", "GB18030");
- ADD_APPLICATION_STRING2(STR_DEF_ENCODING_TYPE_UCS2, "UCS2", "UCS2");
- #endif /* defined(__MMI_SET_DEF_ENCODING_TYPE__) */
- ADD_APPLICATION_MENUITEM((MENU9171_ON, MENU_SETTING_SCH_POW_SET1_POW_ON, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_ON, 0));
- ADD_APPLICATION_MENUITEM((MENU9172_OFF, MENU_SETTING_SCH_POW_SET1_POW_ON, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_OFF, 0));
- #if defined(__MMI_DEDICATED_KEY_SHORTCUTS__)
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEDICATED_KEYS, MENU9102_INITIAL_SETUP, 4,
- MENU_SETTING_DEDICATED_UP_KEY,
- MENU_SETTING_DEDICATED_DOWN_KEY,
- MENU_SETTING_DEDICATED_LEFT_KEY,
- MENU_SETTING_DEDICATED_RIGHT_KEY,
- SHOW, (MOVEABLEWITHINPARENT | SHORTCUTABLE), DISP_LIST, STR_DEDICATED_KEY,
- IMG_SETTING_PHONE));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEDICATED_UP_KEY, MENU_SETTING_DEDICATED_KEYS, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_DEDICATED_UP_KEY, IMG_SETTING_PHONE));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEDICATED_DOWN_KEY, MENU_SETTING_DEDICATED_KEYS, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_DEDICATED_DOWN, IMG_SETTING_PHONE));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEDICATED_LEFT_KEY, MENU_SETTING_DEDICATED_KEYS, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_DEDICATED_LEFT, IMG_SETTING_PHONE));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_DEDICATED_RIGHT_KEY, MENU_SETTING_DEDICATED_KEYS, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_DEDICATED_RIGHT, IMG_SETTING_PHONE));
- ADD_APPLICATION_STRING2(STR_DEDICATED_KEY, "Dedicated Key", "Dedicated Key");
- ADD_APPLICATION_STRING2(STR_DEDICATED_UP_KEY, "Up", "Up key");
- ADD_APPLICATION_STRING2(STR_DEDICATED_DOWN, "Down", "Down key");
- ADD_APPLICATION_STRING2(STR_DEDICATED_LEFT, "Left", "Left key");
- ADD_APPLICATION_STRING2(STR_DEDICATED_RIGHT, "Right", "Right key");
- #endif /* defined(__MMI_DEDICATED_KEY_SHORTCUTS__) */
- #if defined(__MMI_TOUCH_SCREEN__)
- ADD_APPLICATION_STRING2(STR_HANDWRITING_SETTING, "Handwriting", "Handwriting Setting");
- ADD_APPLICATION_STRING2(STR_CALIBRATION_SETTING, "Pen Calibration", "Calibration Setting");
- ADD_APPLICATION_STRING2(STR_HANDWRITING_PEN_SPEED, "Pen Speed", "Pen Speed");
- ADD_APPLICATION_STRING2(STR_HANDWRITING_PEN_COLOR, "Pen Color", "Pen Color");
- ADD_APPLICATION_STRING2(
- STR_CALIBRATION_WELCOME_TEXT,
- "Calibration wizard. You have to calibrate the touch-screen. Click anywhere on the screen with your stylus to start calibration.",
- "Calibration Screen Welcome Text");
- ADD_APPLICATION_STRING2(
- STR_CALIBRATION_TOP_LEFT_TEXT,
- "Click on the top-left point.",
- "Calibration Screen Top Left Text");
- ADD_APPLICATION_STRING2(
- STR_CALIBRATION_BOTTOM_RIGHT_TEXT,
- "Click on the bottom-right point.",
- "Calibration Screen Bottom Right Text");
- ADD_APPLICATION_STRING2(
- STR_CALIBRATION_CENTER_TEXT,
- "Click on the center point.",
- "Calibration Screen Center Text");
-
- #if !defined(__MMI_NO_HANDWRITING__)
- ADD_APPLICATION_MENUITEM((MENU_SETTING_HANDWRITING, MENU9102_INITIAL_SETUP, 0, SHOW,
- NONMOVEABLE, DISP_LIST, STR_HANDWRITING_SETTING, 0));
- #endif /* !defined(__MMI_NO_HANDWRITING__) */
- ADD_APPLICATION_IMAGE2(
- IMG_CALIBRATION_TOP_LEFT,
- CUST_IMG_PATH "\\MainLCD\\UIElement\\Calibration\\CALI_SMALL.gif",
- "IMG_CALIBATION_TOP_LEFT");
- ADD_APPLICATION_IMAGE2(
- IMG_CALIBRAION_BOTTOM_RIGHT,
- CUST_IMG_PATH "\\MainLCD\\UIElement\\Calibration\\CALI_SMALL.gif",
- "IMG_CALIBRATION_BOTTOM_RIGHT");
- ADD_APPLICATION_IMAGE2(
- IMG_CALIBRATION_CENTER,
- CUST_IMG_PATH "\\MainLCD\\UIElement\\Calibration\\CALI_CENTER.gif",
- "IMG_CALIBRATION_CENTER");
- #ifdef __MMI_HANDWRITING_PAD__
- ADD_APPLICATION_STRING2(
- STR_TEST_CONTROL_AREA_WELCOME_TEXT,
- "Click on each control area.",
- "Test control area description");
- #endif /* __MMI_HANDWRITING_PAD__ */
- #endif /* __MMI_TOUCH_SCREEN__ */
- ADD_APPLICATION_STRING2(STR_MENU9100_CALL_SETTING, "Call Setup", "Settings Call.");
- ADD_APPLICATION_STRING2(STR_MENU9102_INITIAL_SETUP, "Phone Setup", "Phone Setup.");
- ADD_APPLICATION_STRING2(STR_MENU9141_TIME_AND_DATE, "Time and Date", "Time And Date Selection.");
- ADD_APPLICATION_STRING2(STR_SETTIME_UNFINISHED, "Unfinish! (Year range from 2000 ~ 2030)", "Set Time Unfinish");
- ADD_APPLICATION_STRING2(STR_MENU9142_SETHOMECITY, "Set Home city", "Set Home City Title.");
- ADD_APPLICATION_STRING2(STR_MENU9142_SETFRNCITY, "Set foreign city", "Set Home City Title.");
- ADD_APPLICATION_STRING2(STR_MENU9142_SETTIMEZONE, "Set time zone", "Set Home City Title.");
- ADD_APPLICATION_STRING2(STR_ID_TZ_CHANGE_DATETIME, "Auto date time update", "Auto Time zone change");
- ADD_APPLICATION_STRING2(STR_ID_TZ_CHANGE_DATETIME_TITLE, "Auto date time update", "Auto Time zone change");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_SET_DT, "Set Time/Date", "Set Time and Date.");
- #ifdef __MMI_SEPARATE_DT_SETTING__
- ADD_APPLICATION_STRING2(
- STR_DATE_TIME_SET_FORMAT_CAPTION,
- "Set Date and Time..",
- "Set Date and Time Format String caption");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_SET_DATEANDFORMAT, "Set Date and Format", "Set Date and Format.");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_SET_TIMEANDFORMAT, "Set Time and Format", "Set Time and Format");
- #endif /* __MMI_SEPARATE_DT_SETTING__ */
- ADD_APPLICATION_STRING2(STR_MENU9144_SETTIMEANDDATEFORMAT, "Set Format", "Set Time and Date Format.");
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_SET_DST, "Day Light Saving", "Set Day Light Saving.");
- ADD_APPLICATION_STRING2(STR_ENTER_TIME_FORMAT_DISP_CAPTION, "HH:MM", "Display Time Entry Format.");
- ADD_APPLICATION_STRING2(STR_ENTER_DATE_FORMAT_DISP_CAPTION, "YYYY/MM/DD", "Display Date Entry Format.");
- ADD_APPLICATION_STRING2(STR_TIME_FORMAT_CAPTION, "Time Format:", "Time format Sring");
- ADD_APPLICATION_STRING2(STR_DATE_FORMAT_CAPTION, "Date Format:", "Set Date Format String");
- ADD_APPLICATION_STRING2(
- STR_DATE_TIME_SET_FORMAT_CAPTION,
- "Set Date and Time..",
- "Set Date and Time Format String caption");
- ADD_APPLICATION_STRING2(STR_MENU9146_WELCOME_TEXT, "Greeting Text", "Set Welcome Text.");
- ADD_APPLICATION_STRING2(STR_ID_DD_MM_YYYY_S, "dd mm yyyy", "Date Format 23-01-03.");
- ADD_APPLICATION_STRING2(STR_ID_MM_DD_YYYY_S, "mm dd yyyy", "Date Format 01/23/03.");
- ADD_APPLICATION_STRING2(STR_ID_YYYY_MM_DD_S, "yyyy mm dd", "Date Format 23/01/03.");
- /* for seperator */
- ADD_APPLICATION_STRING2(STR_ID_PHNSET_SET_DATE_SEP, "Seperator", "Date seperator.");
- ADD_APPLICATION_STRING2(STR_DT_SEP_DOT, ".", "Date Format 23/01/03.");
- ADD_APPLICATION_STRING2(STR_DT_SEP_COLON, ":", "Date Format 23/01/03.");
- ADD_APPLICATION_STRING2(STR_DT_SEP_SLOPE, "/", "Date Format 23/01/03.");
- ADD_APPLICATION_STRING2(STR_DT_SEP_LINE, "-", "Date Format 23/01/03.");
- ADD_APPLICATION_STRING2(STR_24, "24", "Time Format 24.");
- ADD_APPLICATION_STRING2(STR_12, "12", "Time Format 12.");
- #if defined(__MMI_APHORISM__)
- /* under construction !*/
- /* under construction !*/
- #endif /* defined(__MMI_APHORISM__) */
- #ifdef __MMI_TVOUT__
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT, "TV Out", "STR_ID_SETTING_TVOUT");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_FORMAT, "Visual Format", "STR_ID_SETTING_TVOUT_FORMAT");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_FORMAT_PAL, "PAL", "STR_ID_SETTING_TVOUT_FORMAT_PAL");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_FORMAT_NTSC, "NTSC", "STR_ID_SETTING_TVOUT_FORMAT_NTSC");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_AUD_PATH, "Audio Output", "STR_ID_SETTING_TVOUT_AUD_PATH");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_AUD_PATH_BOTH, "TV and Phone", "STR_ID_SETTING_TVOUT_AUD_PATH_BOTH");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_AUD_PATH_TV, "TV Only", "STR_ID_SETTING_TVOUT_AUD_PATH_TV");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_ADJUST, "Adjust", "STR_ID_SETTING_TVOUT_ADJUST");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_ADJUST_Y_GAMMA, "Gamma Y", "STR_ID_SETTING_TVOUT_MM_STYLE_PHONE");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_ADJUST_U, "U", "STR_ID_SETTING_TVOUT_MM_STYLE_FULLSCR");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_ADJUST_V, "V", "STR_ID_SETTING_TVOUT_MM_STYLE_FULLSCR");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_PLUG_IN, "TV-Out plugged in", "STR_ID_SETTING_TVOUT_PLUG_IN");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_PLUG_OUT, "TV-Out plugged out", "STR_ID_SETTING_TVOUT_PLUG_OUT");
- ADD_APPLICATION_STRING2(STR_ID_SETTING_TVOUT_NOT_READY, "TV-Out Not Ready", "STR_ID_SETTING_TVOUT_NOT_READY");
- #endif /* __MMI_TVOUT__ */
- ADD_APPLICATION_STRING2(STR_MENU9146_ON, "Greeting Text:", "On Option.");
- ADD_APPLICATION_STRING2(STR_MENU9146_OFF, "Status", "Off Option.");
- ADD_APPLICATION_STRING2(STR_FDL_NOT_READY, "FDN not ready.", "FDN not Ready Try Again Message.");
- ADD_APPLICATION_STRING2(STR_BDL_NOT_READY, "Please try later.", "Please try later.");
- ADD_APPLICATION_STRING2(STR_MENU_RESTORE, "Restore Factory Settings", "Restore Factory Setting Option.");
- ADD_APPLICATION_STRING2(STR_ID_RESTORE_TITLE, "Restore Settings", "Restore Factory Setting Title");
-
- ADD_APPLICATION_STRING2(
- STR_SETTING_CODE_VERIFIED,
- "Code Accepted!",
- "String associated with Code Verified Screen.");
- ADD_APPLICATION_IMAGE2(
- IMG_TIME_AND_DATE_BLANK,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "Image for Time And Date Selection.");
- ADD_APPLICATION_IMAGE2(
- IMG_MENU9142_SETHOMECITY,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "Image Set Home City Caption.");
- ADD_APPLICATION_IMAGE2(
- IMG_DATE_TIME_SET_FORMAT_CAPTION,
- CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
- "Image Date and Time Format String caption.");
- ADD_APPLICATION_IMAGE2(
- IMG_SCR_SETTING_CAPTION,
- CUST_IMG_PATH "\\MainLCD\\TitleBar\\TB_ST.PNG",
- "Title Image For Settings Main Screen.");
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_CALL_SETUP,
- CUST_IMG_PATH "\\MainLCD\\SubMenu\\Settings\\SB_SCALL.PBM",
- "Setting Submenu image for Call Setup.");
- #ifdef __SUB_MENU_MATRIX_DISPLAY__
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_NETWORK,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\DM_NETWORK.png",
- "Setting Submenu image for Network Setup.");
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_NETWORK_EX,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\DM_NETWORK_ani.png",
- "Setting Submenu image for Network Setup.");
- #else
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_NETWORK,
- CUST_IMG_PATH "\\MainLCD\\SubMenu\\Settings\\SB_SNET.PBM",
- "Setting Submenu image for Network Setup.");
- #endif
- #ifdef __SUB_MENU_MATRIX_DISPLAY__
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_PHONE,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\INITIAL.png",
- "Setting Submenu image for Phone Setup.");
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_PHONE_EX,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\INITIAL_ani.png",
- "Setting Submenu image for Phone Setup.");
- #else
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_PHONE,
- CUST_IMG_PATH "\\MainLCD\\SubMenu\\Settings\\SB_SPH.PBM",
- "Setting Submenu image for Phone Setup.");
- #endif
- #ifdef __SUB_MENU_MATRIX_DISPLAY__
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_STORE,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\RESTORE.png",
- "Setting Submenu image for Restore Setting.");
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_STORE_EX,
- CUST_IMG_PATH"\\MainLCD\\MainMenu\\MATRIX\\setting\\RESTORE_ani.png",
- "Setting Submenu image for Restore Setting.");
- #else
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_STORE,
- CUST_IMG_PATH "\\MainLCD\\SubMenu\\Settings\\SB_STORE.PBM",
- "Setting Submenu image for Restore Setting.");
- #endif
- ADD_APPLICATION_IMAGE2(
- IMG_SETTING_SHORTCUT,
- CUST_IMG_PATH "\\MainLCD\\SubMenu\\Shortcut\\SB_SC.pbm",
- "Setting Submenu image for Time and Date.");
- #if defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__)
- ADD_APPLICATION_IMAGE2(
- IMG_CALIBRATION_MENU_ICON,
- CUST_IMG_PATH "\\MainLCD\\SubMenu\\Settings\\SB_PCA.pbm",
- "Setting Submenu image for Pen calibration.");
- #endif /* defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__) */
- #if !defined(__MMI_NO_CONTRAST_LEVEL__)
- #ifndef __MMI_SUBLCD__
- ADD_APPLICATION_IMAGE2(
- IMG_CONTRAST_BACKGROUND,
- CUST_IMG_PATH "\\MainLCD\\UIElement\\ValueMap\\MAPBG.gif",
- "Background image for Contrast screen");
- #endif /* __MMI_SUBLCD__ */
- #endif /* !__MMI_NO_CONTRAST_LEVEL__ */
- ADD_APPLICATION_STRING2(STR_SETTING_RESTORE_CONFIRM, "ARE YOU SURE?", "Restore factory confirmation message.");
- ADD_APPLICATION_STRING2(STR_SETTING_NOTICE_SUCCESS_REBOOT_TEXT,
- "Done.nPoweroff in 3 sec", "Restore String for Modis");
-
- ADD_APPLICATION_STRING2(STR_SETTING_DELETING, "Deleting", "setting deleting string");
-
- ADD_APPLICATION_STRING2(STR_SETTING_DELETED, "Deleted", "setting deleted string");
- ADD_APPLICATION_STRING2(
- STR_SETTING_RESTORE_PROCESSING,
- "Restore Processing...",
- "Restore factory confirmation message.");
- ADD_APPLICATION_STRING2(STR_SETTING_WRONG, "Wrong Password!", "Wrong.");
- ADD_APPLICATION_STRING2(STR_SETTING_BLOCK, "Password Blocked!", "Password Blocked!");
- ADD_APPLICATION_STRING2(STR_RESTORE_PHONE, "Enter Password", "Phone code check password.");
- PopulateSettingMenuRes();
- PopulateNetworkSetupResData();
- populateManageCalls();
- PopulatePhoneSetupResData();
- populateSecuritySetup();
- PopulateLanguageStrings();
- #ifdef __MMI_SOUND_EFFECT__
- PopulateSoundEffectResData();
- #endif
- #ifdef __FLIGHT_MODE_SUPPORT__
- PopulateFlightModeResData();
- #endif
- }
- #ifndef __MMI_REMOVE_CUG__
- /*****************************************************************************
- * FUNCTION
- * PopulategrouplistMenu
- * DESCRIPTION
- * Populate Menu for GroupList
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulategrouplistMenu(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MAIN_MENU_GROUPLIST_OPTIONS_MENUID, 0, 5,
- MAIN_MENU_GROUPLIST_EDIT,
- MAIN_MENU_GROUPLIST_ADD,
- MAIN_MENU_GROUPLIST_ACTIVATE,
- MAIN_MENU_GROUPLIST_DEACTIVATE,
- MAIN_MENU_GROUPLIST_DELETE, 0, NONMOVEABLE, 1, MAIN_MENU_GROUPLIST_TEXT, NULL));
- ADD_APPLICATION_MENUITEM((MAIN_MENU_GROUPLIST_EDIT, MAIN_MENU_GROUPLIST_OPTIONS_MENUID, 0, 0,
- NONMOVEABLE, 1, STR_GLOBAL_EDIT, NULL));
- ADD_APPLICATION_MENUITEM((MAIN_MENU_GROUPLIST_ADD, MAIN_MENU_GROUPLIST_OPTIONS_MENUID, 0, 0, NONMOVEABLE, 1,
- STR_GLOBAL_ADD, NULL));
- ADD_APPLICATION_MENUITEM((MAIN_MENU_GROUPLIST_ACTIVATE, MAIN_MENU_GROUPLIST_OPTIONS_MENUID, 0, 0, NONMOVEABLE, 1,
- STR_GLOBAL_ACTIVATE, NULL));
- ADD_APPLICATION_MENUITEM((MAIN_MENU_GROUPLIST_DEACTIVATE, MAIN_MENU_GROUPLIST_OPTIONS_MENUID, 0, 0, NONMOVEABLE, 1,
- STR_GLOBAL_DEACTIVATE, NULL));
- ADD_APPLICATION_MENUITEM((MAIN_MENU_GROUPLIST_DELETE, MAIN_MENU_GROUPLIST_OPTIONS_MENUID, 0, 0, NONMOVEABLE, 1,
- STR_GLOBAL_DELETE, NULL));
- ADD_APPLICATION_MENUITEM((MAIN_MENU_GROUPLIST_OPTIONS_MENUID_SUB, IDLE_SCREEN_MENU_ID, 4,
- MAIN_MENU_GROUPLIST_EDIT,
- MAIN_MENU_GROUPLIST_ACTIVATE,
- MAIN_MENU_GROUPLIST_DEACTIVATE,
- MAIN_MENU_GROUPLIST_DELETE, 0, NONMOVEABLE, 1, MAIN_MENU_GROUPLIST_TEXT, NULL));
- ADD_APPLICATION_MENUITEM((MENU_CUG_INPUT_METHOD_AND_DONE_OPTION_ID, IDLE_SCREEN_MENU_ID, 2,
- MENU_CUG_DONE_OPTION_ID,
- MENU_CUG_INPUT_METHOD_OPTION_ID, 0, NONMOVEABLE, 1, MAIN_MENU_GROUPLIST_TEXT, NULL));
- ADD_APPLICATION_MENUITEM((MENU_CUG_DONE_OPTION_ID, MENU_CUG_INPUT_METHOD_AND_DONE_OPTION_ID, 0, 0, NONMOVEABLE, 1,
- STR_GLOBAL_DONE, NULL));
- ADD_APPLICATION_MENUITEM((MENU_CUG_INPUT_METHOD_OPTION_ID, MENU_CUG_INPUT_METHOD_AND_DONE_OPTION_ID, 0, 0,
- NONMOVEABLE, 1, STR_GLOBAL_INPUT_METHOD, NULL));
- ADD_APPLICATION_STRING2(STR_GROUPLIST_INVALID_INDEX, "Invalid index", "Invalid Index");
- ADD_APPLICATION_STRING2(MAIN_MENU_GROUPLIST_TEXT, "Closed User Group Options", "Closed User Group Options");
- ADD_APPLICATION_STRING2(STR_GROUPLIST_CAPTION, "Group List", "GroupList");
- ADD_APPLICATION_STRING2(STR_GROUPLIST_EDIT_INDEX, "Edit Index", "Index");
- ADD_APPLICATION_STRING2(STR_GROUPLIST_ADD_INDEX, "Add Index", "Index");
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MAIN_MENU_GROUPLIST_ACTIVATE, HighlightCALLSETCUGActive);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MAIN_MENU_GROUPLIST_DEACTIVATE, HighlightCALLSETCUGDeactive);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MAIN_MENU_GROUPLIST_ADD, HighlightCALLSETCUGAdd);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MAIN_MENU_GROUPLIST_DELETE, HighlightCALLSETCUGDelete);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MAIN_MENU_GROUPLIST_EDIT, HighlightCALLSETCUGEdit);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CUG_DONE_OPTION_ID, HighlightEditOptionsDone);
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CUG_INPUT_METHOD_OPTION_ID, HighlightEditOptionsInputMethod);
- }
- #endif /* __MMI_REMOVE_CUG__ */
- #ifdef __IP_NUMBER__
- /*****************************************************************************
- * FUNCTION
- * PopulateIPNumber
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateIPNumber(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU_SETTING_IP_NUMBER,
- #ifdef __MMI_UCM__
- MENU_ID_UCM_CALL_SETTING_MORE,
- #else /* __MMI_UCM__ */
- MENU8237_SCR8093_MNGCALL_MENU_MAIN,
- #endif /* __MMI_UCM__ */
- 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_SETTING_IP_NUMBER, NULL));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_IP_NUM_OPN, 0,
- #ifdef __MMI_DUAL_SIM_MASTER__
- 3,
- #else /* __MMI_DUAL_SIM_MASTER__ */
- 2,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- MENU_IP_NUM_ACTIVATE,
- #ifdef __MMI_DUAL_SIM_MASTER__
- MENU_MTPNP_IP_NUM_ACTIVATE,
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- MENU_IP_NUM_EDIT,
- 0, NONMOVEABLE, 1, STR_SETTING_IP_NUMBER, NULL));
- #ifdef __MMI_DUAL_SIM_MASTER__
- ADD_APPLICATION_MENUITEM((MENU_IP_NUM_ACTIVATE, MENU_SETTING_IP_NUM_OPN, 0,
- 0, NONMOVEABLE, 1, STR_SETTING_IP_NUM_ACT, NULL));
- #else /* __MMI_DUAL_SIM_MASTER__ */
- ADD_APPLICATION_MENUITEM((MENU_IP_NUM_ACTIVATE, MENU_SETTING_IP_NUM_OPN, 0,
- 0, NONMOVEABLE, 1, STR_GLOBAL_ACTIVATE, NULL));
- #endif /* __MMI_DUAL_SIM_MASTER__ */
- ADD_APPLICATION_MENUITEM((MENU_IP_NUM_EDIT, MENU_SETTING_IP_NUM_OPN, 0, 0, NONMOVEABLE, 1, STR_GLOBAL_EDIT, NULL));
- ADD_APPLICATION_STRING2(STR_SETTING_IP_NUMBER, "IP Number", "STR_SETTING_IP_NUMBER");
- ADD_APPLICATION_STRING2(STR_SETTING_IP_NUM_ACT, "Active SIM1", "STR_SETTING_IP_NUM_ACT");
- }
- #endif /* __IP_NUMBER__ */
- #ifdef __MMI_CM_BLACK_LIST__
- /*****************************************************************************
- * FUNCTION
- * PopulateBlackList
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateBlackList(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU_SETTING_BLACK_LIST,
- #ifdef __MMI_UCM__
- MENU_ID_UCM_CALL_SETTING_MORE,
- #else /* __MMI_UCM__ */
- MENU8237_SCR8093_MNGCALL_MENU_MAIN,
- #endif /* __MMI_UCM__ */
- #ifdef __MMI_UCM_AUTO_REJECT_NO_CALL_ID__
- 3,
- MENU_SETTING_BLACK_LIST_UNKNOWN_NUMBER_MODE,
- #else /* __MMI_UCM_AUTO_REJECT_NO_CALL_ID__ */
- 2,
- #endif /* __MMI_UCM_AUTO_REJECT_NO_CALL_ID__ */
- MENU_SETTING_BLACK_LIST_MODE,
- MENU_SETTING_BLACK_LIST_NUM, SHOW, NONMOVEABLE, DISP_LIST, STR_SETTING_BLACK_LIST, 0));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_BLACK_LIST_MODE, MENU_SETTING_BLACK_LIST, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_SETTING_BLACK_LIST_MODE, 0));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_BLACK_LIST_NUM, MENU_SETTING_BLACK_LIST, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_SETTING_BLACK_LIST_NUM, 0));
- #ifdef __MMI_UCM_AUTO_REJECT_NO_CALL_ID__
- ADD_APPLICATION_MENUITEM((MENU_SETTING_BLACK_LIST_UNKNOWN_NUMBER_MODE, MENU_SETTING_BLACK_LIST, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_SETTING_BLACK_LIST_UNKNOWN_NUMBER_MODE, 0));
- ADD_APPLICATION_STRING2(STR_SETTING_BLACK_LIST_UNKNOWN_NUMBER_MODE, "Reject unknown numbers", "Reject unknown numbers");
- #endif /* __MMI_UCM_AUTO_REJECT_NO_CALL_ID__ */
- ADD_APPLICATION_STRING2(STR_SETTING_BLACK_LIST, "Black List", "STR_SETTING_BLACK_LIST");
- ADD_APPLICATION_STRING2(STR_SETTING_BLACK_LIST_MODE, "Mode", "STR_SETTING_BLACK_LIST_MODE");
- ADD_APPLICATION_STRING2(STR_SETTING_BLACK_LIST_NUM, "Black List Number", "STR_SETTING_BLACK_LIST_NUM");
- ADD_APPLICATION_STRING2(STR_SETTING_BLACK_ERROR_FULL, "Black list is full", "STR_SETTING_BLACK_ERROR_FULL");
- ADD_APPLICATION_STRING2(STR_SETTING_BLACK_ERROR_TOO_LONG, "Number is too long", "STR_SETTING_BLACK_ERROR_FULL");
- }
- #endif /* __MMI_CM_BLACK_LIST__ */
- #ifdef __MMI_CM_WHITE_LIST__
- /*****************************************************************************
- * FUNCTION
- * PopulateBlackList
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void PopulateWhiteList(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU_SETTING_WHITE_LIST,
- MENU_ID_UCM_CALL_SETTING_MORE,
- 2,
- MENU_SETTING_WHITE_LIST_MODE,
- MENU_SETTING_WHITE_LIST_NUM, SHOW, NONMOVEABLE, DISP_LIST, STR_SETTING_WHITE_LIST, 0));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_WHITE_LIST_MODE, MENU_SETTING_WHITE_LIST, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_SETTING_WHITE_LIST_MODE, 0));
- ADD_APPLICATION_MENUITEM((MENU_SETTING_WHITE_LIST_NUM, MENU_SETTING_WHITE_LIST, 0,
- SHOW, NONMOVEABLE, DISP_LIST, STR_SETTING_WHITE_LIST_NUM, 0));
- ADD_APPLICATION_STRING2(STR_SETTING_WHITE_LIST, "White List", "STR_SETTING_WHITE_LIST");
- ADD_APPLICATION_STRING2(STR_SETTING_WHITE_LIST_MODE, "Mode", "STR_SETTING_WHITE_LIST_MODE");
- ADD_APPLICATION_STRING2(STR_SETTING_WHITE_LIST_NUM, "White List Number", "STR_SETTING_WHITE_LIST_NUM");
- }
- #endif /* __MMI_CM_WHITE_LIST__ */
- #ifdef __MMI_UCM_REJECT_BY_SMS__
- /*****************************************************************************
- * FUNCTION
- * mmi_callsetup_populate_rej_by_sms
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_callsetup_populate_rej_by_sms(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ADD_APPLICATION_MENUITEM((MENU_SETTING_REJ_BY_SMS, MENU_ID_UCM_CALL_SETTING_MORE, 0, SHOW, NONMOVEABLE, DISP_LIST, STR_SETTING_REJ_BY_SMS, NULL));
- ADD_APPLICATION_STRING2(STR_SETTING_REJ_BY_SMS, "Reject by SMS", "Reject Incoming Call By SMS.");
- ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_SETTING_REJ_BY_SMS, mmi_highlight_rej_by_sms);
- ADD_APPLICATION_MENUITEM_HINT_HANDLER(MENU_SETTING_REJ_BY_SMS, mmi_hint_rej_by_sms);
- }
- #endif /* __MMI_UCM_REJECT_BY_SMS__ */