Res_Setting.c
上传用户:dengyu
上传日期:2022-05-01
资源大小:153k
文件大小:390k
源码类别:

MTK

开发平台:

C/C++

  1. /*****************************************************************************
  2. *  Copyright Statement:
  3. *  --------------------
  4. *  This software is protected by Copyright and the information contained
  5. *  herein is confidential. The software may not be copied and the information
  6. *  contained herein may not be used or disclosed except with the written
  7. *  permission of MediaTek Inc. (C) 2005
  8. *
  9. *  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
  10. *  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
  11. *  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
  12. *  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
  13. *  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
  14. *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
  15. *  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
  16. *  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
  17. *  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
  18. *  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
  19. *  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
  20. *  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
  21. *
  22. *  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
  23. *  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
  24. *  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
  25. *  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
  26. *  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. 
  27. *
  28. *  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
  29. *  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
  30. *  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
  31. *  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
  32. *  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
  33. *
  34. *****************************************************************************/
  35. /*****************************************************************************
  36.  *
  37.  * Filename:
  38.  * ---------
  39.  * Res_setting.c
  40.  *
  41.  * Project:
  42.  * --------
  43.  *   MAUI
  44.  *
  45.  * Description:
  46.  * ------------
  47.  *   
  48.  *
  49.  * Author:
  50.  * -------
  51.  * -------
  52.  *
  53.  *============================================================================
  54.  *             HISTORY
  55.  * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
  56.  *------------------------------------------------------------------------------
  57.  * removed!
  58.  *
  59.  * removed!
  60.  * removed!
  61.  * removed!
  62.  *
  63.  * removed!
  64.  * removed!
  65.  * removed!
  66.  *
  67.  * removed!
  68.  * removed!
  69.  * removed!
  70.  *
  71.  * removed!
  72.  * removed!
  73.  * removed!
  74.  *
  75.  * removed!
  76.  * removed!
  77.  * removed!
  78.  *
  79.  * removed!
  80.  * removed!
  81.  * removed!
  82.  *
  83.  * removed!
  84.  * removed!
  85.  * removed!
  86.  *
  87.  * removed!
  88.  * removed!
  89.  * removed!
  90.  *
  91.  * removed!
  92.  * removed!
  93.  * removed!
  94.  *
  95.  * removed!
  96.  * removed!
  97.  * removed!
  98.  *
  99.  * removed!
  100.  * removed!
  101.  * removed!
  102.  *
  103.  * removed!
  104.  * removed!
  105.  * removed!
  106.  *
  107.  * removed!
  108.  * removed!
  109.  * removed!
  110.  *
  111.  * removed!
  112.  * removed!
  113.  * removed!
  114.  *
  115.  * removed!
  116.  * removed!
  117.  * removed!
  118.  *
  119.  * removed!
  120.  * removed!
  121.  * removed!
  122.  *
  123.  * removed!
  124.  * removed!
  125.  * removed!
  126.  *
  127.  * removed!
  128.  * removed!
  129.  * removed!
  130.  *
  131.  * removed!
  132.  * removed!
  133.  * removed!
  134.  *
  135.  * removed!
  136.  * removed!
  137.  * removed!
  138.  *
  139.  * removed!
  140.  * removed!
  141.  * removed!
  142.  *
  143.  * removed!
  144.  * removed!
  145.  * removed!
  146.  *
  147.  * removed!
  148.  * removed!
  149.  * removed!
  150.  *
  151.  * removed!
  152.  * removed!
  153.  * removed!
  154.  *
  155.  * removed!
  156.  * removed!
  157.  * removed!
  158.  *
  159.  * removed!
  160.  * removed!
  161.  * removed!
  162.  *
  163.  * removed!
  164.  * removed!
  165.  * removed!
  166.  *
  167.  * removed!
  168.  * removed!
  169.  * removed!
  170.  *
  171.  * removed!
  172.  * removed!
  173.  * removed!
  174.  *
  175.  * removed!
  176.  * removed!
  177.  * removed!
  178.  *
  179.  * removed!
  180.  * removed!
  181.  * removed!
  182.  *
  183.  * removed!
  184.  * removed!
  185.  * removed!
  186.  *
  187.  * removed!
  188.  * removed!
  189.  * removed!
  190.  *
  191.  * removed!
  192.  * removed!
  193.  * removed!
  194.  *
  195.  * removed!
  196.  * removed!
  197.  * removed!
  198.  *
  199.  * removed!
  200.  * removed!
  201.  * removed!
  202.  *
  203.  * removed!
  204.  * removed!
  205.  * removed!
  206.  *
  207.  * removed!
  208.  * removed!
  209.  * removed!
  210.  *
  211.  * removed!
  212.  * removed!
  213.  * removed!
  214.  *
  215.  * removed!
  216.  * removed!
  217.  * removed!
  218.  *
  219.  * removed!
  220.  * removed!
  221.  * removed!
  222.  *
  223.  * removed!
  224.  * removed!
  225.  * removed!
  226.  *
  227.  * removed!
  228.  * removed!
  229.  * removed!
  230.  *
  231.  * removed!
  232.  * removed!
  233.  * removed!
  234.  *
  235.  * removed!
  236.  * removed!
  237.  * removed!
  238.  *
  239.  * removed!
  240.  * removed!
  241.  * removed!
  242.  *
  243.  * removed!
  244.  * removed!
  245.  * removed!
  246.  *
  247.  * removed!
  248.  * removed!
  249.  * removed!
  250.  *
  251.  * removed!
  252.  * removed!
  253.  * removed!
  254.  *
  255.  * removed!
  256.  * removed!
  257.  * removed!
  258.  *
  259.  * removed!
  260.  * removed!
  261.  * removed!
  262.  *
  263.  * removed!
  264.  * removed!
  265.  * removed!
  266.  *
  267.  * removed!
  268.  * removed!
  269.  * removed!
  270.  *
  271.  * removed!
  272.  * removed!
  273.  * removed!
  274.  *
  275.  * removed!
  276.  * removed!
  277.  * removed!
  278.  *
  279.  * removed!
  280.  * removed!
  281.  * removed!
  282.  *
  283.  * removed!
  284.  * removed!
  285.  * removed!
  286.  *
  287.  * removed!
  288.  * removed!
  289.  * removed!
  290.  *
  291.  * removed!
  292.  * removed!
  293.  * removed!
  294.  *
  295.  * removed!
  296.  * removed!
  297.  * removed!
  298.  *
  299.  * removed!
  300.  * removed!
  301.  * removed!
  302.  *
  303.  * removed!
  304.  * removed!
  305.  * removed!
  306.  *
  307.  * removed!
  308.  * removed!
  309.  * removed!
  310.  *
  311.  * removed!
  312.  * removed!
  313.  * removed!
  314.  *
  315.  * removed!
  316.  * removed!
  317.  * removed!
  318.  *
  319.  * removed!
  320.  * removed!
  321.  * removed!
  322.  *
  323.  * removed!
  324.  * removed!
  325.  * removed!
  326.  *
  327.  * removed!
  328.  * removed!
  329.  * removed!
  330.  *
  331.  * removed!
  332.  * removed!
  333.  * removed!
  334.  *
  335.  * removed!
  336.  * removed!
  337.  * removed!
  338.  *
  339.  * removed!
  340.  * removed!
  341.  * removed!
  342.  *
  343.  * removed!
  344.  * removed!
  345.  * removed!
  346.  *
  347.  * removed!
  348.  * removed!
  349.  * removed!
  350.  *
  351.  * removed!
  352.  * removed!
  353.  * removed!
  354.  *
  355.  * removed!
  356.  * removed!
  357.  * removed!
  358.  *
  359.  * removed!
  360.  * removed!
  361.  * removed!
  362.  *
  363.  * removed!
  364.  * removed!
  365.  * removed!
  366.  *
  367.  * removed!
  368.  * removed!
  369.  * removed!
  370.  *
  371.  * removed!
  372.  * removed!
  373.  * removed!
  374.  *
  375.  * removed!
  376.  * removed!
  377.  * removed!
  378.  *
  379.  * removed!
  380.  * removed!
  381.  * removed!
  382.  *
  383.  * removed!
  384.  * removed!
  385.  * removed!
  386.  *
  387.  * removed!
  388.  * removed!
  389.  * removed!
  390.  *
  391.  * removed!
  392.  * removed!
  393.  * removed!
  394.  *
  395.  * removed!
  396.  * removed!
  397.  * removed!
  398.  *
  399.  * removed!
  400.  * removed!
  401.  * removed!
  402.  *
  403.  * removed!
  404.  * removed!
  405.  * removed!
  406.  *
  407.  * removed!
  408.  * removed!
  409.  * removed!
  410.  *
  411.  * removed!
  412.  * removed!
  413.  * removed!
  414.  *
  415.  * removed!
  416.  * removed!
  417.  * removed!
  418.  *
  419.  * removed!
  420.  * removed!
  421.  * removed!
  422.  *
  423.  * removed!
  424.  * removed!
  425.  * removed!
  426.  *
  427.  * removed!
  428.  * removed!
  429.  * removed!
  430.  *
  431.  * removed!
  432.  * removed!
  433.  * removed!
  434.  *
  435.  * removed!
  436.  * removed!
  437.  * removed!
  438.  *
  439.  * removed!
  440.  * removed!
  441.  * removed!
  442.  *
  443.  * removed!
  444.  * removed!
  445.  * removed!
  446.  *
  447.  * removed!
  448.  * removed!
  449.  * removed!
  450.  *
  451.  * removed!
  452.  * removed!
  453.  * removed!
  454.  *
  455.  * removed!
  456.  * removed!
  457.  * removed!
  458.  *
  459.  * removed!
  460.  * removed!
  461.  * removed!
  462.  *
  463.  * removed!
  464.  * removed!
  465.  * removed!
  466.  *
  467.  * removed!
  468.  * removed!
  469.  * removed!
  470.  *
  471.  * removed!
  472.  * removed!
  473.  * removed!
  474.  *
  475.  * removed!
  476.  * removed!
  477.  * removed!
  478.  *
  479.  * removed!
  480.  * removed!
  481.  * removed!
  482.  *
  483.  * removed!
  484.  * removed!
  485.  * removed!
  486.  *
  487.  * removed!
  488.  * removed!
  489.  * removed!
  490.  *
  491.  * removed!
  492.  * removed!
  493.  * removed!
  494.  *
  495.  * removed!
  496.  * removed!
  497.  * removed!
  498.  *
  499.  * removed!
  500.  * removed!
  501.  * removed!
  502.  *
  503.  * removed!
  504.  * removed!
  505.  * removed!
  506.  *
  507.  * removed!
  508.  * removed!
  509.  * removed!
  510.  *
  511.  * removed!
  512.  * removed!
  513.  * removed!
  514.  *
  515.  * removed!
  516.  * removed!
  517.  * removed!
  518.  *
  519.  * removed!
  520.  * removed!
  521.  * removed!
  522.  *
  523.  * removed!
  524.  * removed!
  525.  * removed!
  526.  *
  527.  * removed!
  528.  * removed!
  529.  * removed!
  530.  *
  531.  * removed!
  532.  * removed!
  533.  * removed!
  534.  *
  535.  * removed!
  536.  * removed!
  537.  * removed!
  538.  *
  539.  * removed!
  540.  * removed!
  541.  * removed!
  542.  *
  543.  * removed!
  544.  * removed!
  545.  * removed!
  546.  *
  547.  * removed!
  548.  * removed!
  549.  * removed!
  550.  *
  551.  * removed!
  552.  * removed!
  553.  * removed!
  554.  *
  555.  * removed!
  556.  * removed!
  557.  * removed!
  558.  *
  559.  * removed!
  560.  * removed!
  561.  * removed!
  562.  *
  563.  * removed!
  564.  * removed!
  565.  * removed!
  566.  *
  567.  * removed!
  568.  * removed!
  569.  * removed!
  570.  *
  571.  * removed!
  572.  * removed!
  573.  * removed!
  574.  *
  575.  * removed!
  576.  * removed!
  577.  * removed!
  578.  *
  579.  * removed!
  580.  * removed!
  581.  * removed!
  582.  *
  583.  * removed!
  584.  * removed!
  585.  * removed!
  586.  *
  587.  * removed!
  588.  * removed!
  589.  * removed!
  590.  *
  591.  * removed!
  592.  * removed!
  593.  * removed!
  594.  *
  595.  * removed!
  596.  * removed!
  597.  * removed!
  598.  *
  599.  * removed!
  600.  * removed!
  601.  * removed!
  602.  *
  603.  * removed!
  604.  * removed!
  605.  * removed!
  606.  *
  607.  * removed!
  608.  * removed!
  609.  * removed!
  610.  *
  611.  * removed!
  612.  * removed!
  613.  * removed!
  614.  *
  615.  * removed!
  616.  * removed!
  617.  * removed!
  618.  *
  619.  * removed!
  620.  * removed!
  621.  * removed!
  622.  *
  623.  * removed!
  624.  * removed!
  625.  * removed!
  626.  *
  627.  * removed!
  628.  * removed!
  629.  * removed!
  630.  *
  631.  * removed!
  632.  * removed!
  633.  * removed!
  634.  *
  635.  * removed!
  636.  * removed!
  637.  * removed!
  638.  *
  639.  * removed!
  640.  * removed!
  641.  * removed!
  642.  *
  643.  * removed!
  644.  * removed!
  645.  * removed!
  646.  *
  647.  * removed!
  648.  * removed!
  649.  * removed!
  650.  *
  651.  * removed!
  652.  * removed!
  653.  * removed!
  654.  *
  655.  * removed!
  656.  * removed!
  657.  * removed!
  658.  *
  659.  * removed!
  660.  * removed!
  661.  * removed!
  662.  *
  663.  * removed!
  664.  * removed!
  665.  * removed!
  666.  *
  667.  * removed!
  668.  * removed!
  669.  * removed!
  670.  *
  671.  * removed!
  672.  * removed!
  673.  * removed!
  674.  *
  675.  * removed!
  676.  * removed!
  677.  * removed!
  678.  *
  679.  * removed!
  680.  * removed!
  681.  * removed!
  682.  *
  683.  * removed!
  684.  * removed!
  685.  * removed!
  686.  *
  687.  * removed!
  688.  * removed!
  689.  * removed!
  690.  *
  691.  * removed!
  692.  * removed!
  693.  * removed!
  694.  *
  695.  * removed!
  696.  * removed!
  697.  * removed!
  698.  *
  699.  * removed!
  700.  * removed!
  701.  * removed!
  702.  *
  703.  * removed!
  704.  * removed!
  705.  * removed!
  706.  *
  707.  * removed!
  708.  * removed!
  709.  * removed!
  710.  *
  711.  * removed!
  712.  * removed!
  713.  * removed!
  714.  *
  715.  * removed!
  716.  * removed!
  717.  * removed!
  718.  *
  719.  * removed!
  720.  * removed!
  721.  * removed!
  722.  *
  723.  * removed!
  724.  * removed!
  725.  * removed!
  726.  *
  727.  * removed!
  728.  * removed!
  729.  * removed!
  730.  *
  731.  * removed!
  732.  * removed!
  733.  * removed!
  734.  *
  735.  * removed!
  736.  * removed!
  737.  * removed!
  738.  *
  739.  * removed!
  740.  * removed!
  741.  * removed!
  742.  *
  743.  * removed!
  744.  * removed!
  745.  * removed!
  746.  *
  747.  * removed!
  748.  * removed!
  749.  * removed!
  750.  *
  751.  * removed!
  752.  * removed!
  753.  * removed!
  754.  *
  755.  * removed!
  756.  * removed!
  757.  * removed!
  758.  *
  759.  * removed!
  760.  * removed!
  761.  * removed!
  762.  *
  763.  * removed!
  764.  * removed!
  765.  * removed!
  766.  *
  767.  * removed!
  768.  * removed!
  769.  * removed!
  770.  *
  771.  * removed!
  772.  * removed!
  773.  * removed!
  774.  *
  775.  * removed!
  776.  * removed!
  777.  * removed!
  778.  *
  779.  * removed!
  780.  * removed!
  781.  * removed!
  782.  *
  783.  * removed!
  784.  * removed!
  785.  * removed!
  786.  *
  787.  * removed!
  788.  * removed!
  789.  * removed!
  790.  *
  791.  * removed!
  792.  * removed!
  793.  * removed!
  794.  *
  795.  * removed!
  796.  * removed!
  797.  * removed!
  798.  *
  799.  * removed!
  800.  * removed!
  801.  * removed!
  802.  *
  803.  * removed!
  804.  * removed!
  805.  * removed!
  806.  *
  807.  * removed!
  808.  * removed!
  809.  * removed!
  810.  *
  811.  * removed!
  812.  * removed!
  813.  * removed!
  814.  *
  815.  * removed!
  816.  * removed!
  817.  * removed!
  818.  *
  819.  * removed!
  820.  * removed!
  821.  * removed!
  822.  *
  823.  * removed!
  824.  * removed!
  825.  * removed!
  826.  *
  827.  * removed!
  828.  * removed!
  829.  * removed!
  830.  *
  831.  * removed!
  832.  * removed!
  833.  * removed!
  834.  *
  835.  * removed!
  836.  * removed!
  837.  * removed!
  838.  *
  839.  * removed!
  840.  * removed!
  841.  * removed!
  842.  *
  843.  * removed!
  844.  * removed!
  845.  * removed!
  846.  *
  847.  * removed!
  848.  * removed!
  849.  * removed!
  850.  *
  851.  * removed!
  852.  * removed!
  853.  * removed!
  854.  *
  855.  * removed!
  856.  * removed!
  857.  * removed!
  858.  *
  859.  * removed!
  860.  * removed!
  861.  * removed!
  862.  *
  863.  * removed!
  864.  * removed!
  865.  * removed!
  866.  *
  867.  * removed!
  868.  * removed!
  869.  * removed!
  870.  *
  871.  * removed!
  872.  * removed!
  873.  * removed!
  874.  *
  875.  * removed!
  876.  * removed!
  877.  * removed!
  878.  *
  879.  * removed!
  880.  * removed!
  881.  * removed!
  882.  *
  883.  * removed!
  884.  * removed!
  885.  * removed!
  886.  *
  887.  * removed!
  888.  * removed!
  889.  * removed!
  890.  *
  891.  * removed!
  892.  * removed!
  893.  * removed!
  894.  *
  895.  * removed!
  896.  * removed!
  897.  * removed!
  898.  *
  899.  * removed!
  900.  * removed!
  901.  * removed!
  902.  *
  903.  * removed!
  904.  * removed!
  905.  * removed!
  906.  *
  907.  * removed!
  908.  * removed!
  909.  * removed!
  910.  *
  911.  *------------------------------------------------------------------------------
  912.  * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
  913.  *============================================================================
  914.  ****************************************************************************/
  915. #include "MMI_features.h"
  916. #include "MMIDataType.h"    /* for resource base */
  917. #include "CustResDef.h"         /* for image/audio path */
  918. #include "CustDataProts.h"      /* for resource generator API */
  919. #include "GlobalMenuItems.h"    /* for menu resource */
  920. #include "SettingResDef.h"
  921. #include "WallpaperResDef.h"
  922. #include "mmi_phnset_dispchar.h"
  923. #include <dirent.h>
  924. #include "GlobalDefs.h"
  925. #include "PopulateRes.h"  
  926. #define ISCATEGORY(x) (category & (1 << x))
  927. #include "PhoneBookResDef.h"
  928. #include "CallSetUpEnumResDef.h"
  929. #include "NetworkSetupResDef.h"
  930. #include "ScheduledPowerOnOffResDef.h"
  931. #include "OrganizerResDef.h"
  932. #include "kal_non_specific_general_types.h"
  933. #include "custom_equipment.h"
  934. #ifdef __MMI_OP12_TOOLBAR__
  935. #include "IdleAppResDef.h"
  936. #endif 
  937. #ifdef __MMI_DUAL_SIM_MASTER__
  938. #include "MTPNP_AD_resdef.h"
  939. #endif /* __MMI_DUAL_SIM_MASTER__ */
  940. #if defined(__MMI_THEMES_APPLICATION__)||defined(__MMI_INNERVATION_WORLD__)
  941. #include "MMIThemesResDef.h"
  942. #endif
  943. typedef enum
  944. {
  945.     MENU_ENUM_TIME_AND_DATE,
  946.     MENU_ENUM_SETTING_SCHEDULE_POWER,
  947.     MENU_ENUM_SETTING_LANGUAGE,
  948. #ifdef __MMI_PREFER_INPUT_METHOD__
  949.     MENU_ENUM_SETTING_PREFERED_INPUT_METHOD,
  950. #endif 
  951. #if defined(__MMI_PREFER_WRITING_LANG__) || defined(__MMI_MIXED_LANG_SUPPORT__)
  952.     MENU_ENUM_SETTING_PREFERED_WRITING_LANG,
  953. #endif
  954. #ifdef __MMI_SET_DEF_ENCODING_TYPE__
  955.     MENU_ENUM_SETTING_DEF_ENCODING_TYPE,
  956. #endif 
  957.     MENU_ENUM_IDLE_SCR_DISP,
  958. #ifdef __MMI_THEMES_APPLICATION__
  959. MENU_ENUM_THEME, /* Theme, Wen */
  960. #endif
  961. #if !defined(__MMI_NO_CONTRAST_LEVEL__)
  962.     MENU_ENUM_SETTING_CONTRAST_LEVEL,
  963. #endif 
  964.     MENU_ENUM_WELCOME_TEXT,
  965. #if ((!defined(__MMI_VERSION_2__) && !defined(__MMI_OP01_MENU_9MATRIX__)) || 
  966.     (defined(__WIFI_WIZARD_SUPPORT__) && !defined(__MMI_BI_DEGREE_MAIN_MENU_STYLE__))) && !defined(__DISABLE_SHORTCUTS_MENU__)
  967.     MAIN_ENUM_SHORTCUTS,
  968. #endif 
  969. #if defined(__MMI_DEDICATED_KEY_SHORTCUTS__)
  970.     MENU_ENUM_DEDICATED_KEY,
  971. #endif 
  972. #if (defined(__MMI_NITZ__) && (!defined(__MMI_AUTOTIMEZONE_IN_DATEANDTIME__)))
  973.     MENU_ENUM_NITZ,
  974. #endif 
  975. #ifdef __FLIGHT_MODE_SUPPORT__
  976. #ifndef __MMI_DUAL_SIM_MASTER__
  977.     MENU_ENUM_FLIGHT_MODE,
  978. #endif /* __MMI_DUAL_SIM_MASTER__ */
  979. #endif 
  980. #ifdef __MMI_TVOUT__
  981.     MENU_ENUM_TVOUT,
  982. #endif 
  983. #if defined(__MMI_TOUCH_SCREEN__) && !defined(__MMI_NO_HANDWRITING__)
  984.     MENU_ENUM_HANDWRITING,
  985. #endif 
  986. #ifdef __MMI_CHANGABLE_FONT__
  987.     MENU_ENUM_FONT_SIZE,
  988. #endif 
  989.     /* begin: zhangclc modified at: 2009-12-01 */
  990. #if defined(__THAI_SUPPORT__)
  991. #ifdef __MMI_DUAL_SIM_MASTER__
  992. MENU_ENUM_UART_SETUP,
  993. #endif /* __MMI_DUAL_SIM_MASTER__ */
  994. #endif
  995.     /* end: zhangclc modified at: 2009-12-01 */
  996.     MENU_ENUM_GPIO_SETTING,
  997.     
  998.     MENU_ENUM_TOTAL_PHONE_SETUP
  999. } PhoneSetupMenus;
  1000. typedef enum
  1001. {
  1002. #if !defined(HARDWARE_LED_NOT_SUPPORT)
  1003.     MMI_GPIO_SET_MENU_LED,
  1004. #endif
  1005.     MMI_GPIO_SET_MENU_BKLITE,
  1006. #ifdef __MMI_COVER_CLOSE_SETTING__
  1007.     MMI_GPIO_SET_COVER_CLOSE,
  1008. #endif 
  1009.     MMI_GPIO_SET_MENU_MAX
  1010. }mmi_gpio_set_menu_enum;
  1011. typedef enum
  1012. {
  1013. #ifndef __MMI_HIDE_HOMECITY__
  1014.     MENU_SETDT_HOMECITY,
  1015. #endif 
  1016. #ifdef __MMI_DUAL_CLOCK__
  1017. MENU_SETDT_FOREIGNCITY,
  1018. #endif 
  1019. #ifndef __MMI_SEPARATE_DT_SETTING__
  1020.     MENU_SETDT_TIMEANDDATE,
  1021.     MENU_SETDT_FORMAT,
  1022. #else /* __MMI_SEPARATE_DT_SETTING__ */ 
  1023.     MENU_SET_DATEANDFORMAT,
  1024.     MENU_SET_TIMEANDFORMAT,
  1025. #endif /* __MMI_SEPARATE_DT_SETTING__ */ 
  1026. #if defined(__MMI_TIMEZONE_CHANGE_DATETIME__)
  1027.     MENU_TZ_CHANGE_DATETIME,
  1028. #endif
  1029. #if (defined(__MMI_NITZ__) && defined(__MMI_AUTOTIMEZONE_IN_DATEANDTIME__))
  1030.     MENU_SETDT_NITZ,
  1031. #endif 
  1032.     MENU_SETDT_NUM
  1033. } PhoneSetup_DateNTime_Menus;
  1034. typedef enum
  1035. {
  1036. #ifndef __MMI_REMOVE_CALLER_ID__
  1037.     MANAGECALL_CALLER_ID,
  1038. #endif 
  1039. #ifndef __MMI_DISABLE_CALL_TIME_DISPLAY__
  1040.     MANAGECALL_CALL_TIME_DISPLAY,
  1041. #endif 
  1042. #ifndef __MMI_REMOVE_CUG__
  1043.     MANAGECALL_CUG,
  1044. #endif 
  1045. #ifdef __IP_NUMBER__
  1046.     MANAGECALL_IP_NUMBER,
  1047. #endif 
  1048. #ifdef __MMI_CM_BLACK_LIST__
  1049.     MANAGECALL_BLACK_LIST,
  1050. #endif 
  1051. #ifdef __CTM_SUPPORT__
  1052.     MANAGECALL_TEXT_PHONE,
  1053. #endif 
  1054.     MANAGECALL_MENU_ITEM_COUNT
  1055. } managecall_menu_item_enum;
  1056. typedef enum
  1057. {
  1058.     DISPCHAR_SETTING_WALLPAPER,
  1059. #ifdef __MMI_SUB_WALLPAPER__
  1060.     DISPCHAR_SETTING_SUBLCD_WALLPAPER,
  1061. #endif 
  1062.     DISPCHAR_SETTING_SCR_SVR,
  1063. #if defined(__MMI_POWER_ON_OFF_DISPLAY__)&&!defined(__R301__)
  1064.     DISPCHAR_SETTING_POWER_ON_DISPLAY,
  1065.     DISPCHAR_SETTING_POWER_OFF_DISPLAY,
  1066. #endif /* __MMI_POWER_ON_OFF_DISPLAY__ */ 
  1067. #if defined(__MMI_MAINMENU_STYLE_CHANGE_EN__)&&!defined(__R301__)
  1068.     DISPCHAR_SETTING_MAINMENU_STYLE,
  1069. #endif 
  1070. #ifdef __MMI_MOTION_DIAL__
  1071.     DISPCHAR_SETTING_DIAL_STYLE,
  1072. #endif /* __MMI_MOTION_DIAL__ */
  1073. #ifdef __MMI_VUI_HOMESCREEN__
  1074. DISPCHAR_SETTING_VUI_HOMESCREEN, /* for VUI Interactive screen */
  1075. #endif
  1076. #ifdef __MMI_VUI_MAINMENU__
  1077. DISPCHAR_SETTING_VUI_MAINMENU_EFFECT, /* for VUI MAINMENU effect */
  1078. #endif
  1079. #ifdef __MMI_CALENDAR_ON_IDLE_SCREEN__  
  1080.     DISPCHAR_SETTING_CALENDAR_IDLESCREEN,
  1081. #endif 
  1082. #ifdef __MMI_DUAL_CLOCK__
  1083. #ifndef __MMI_VUI_HOMESCREEN_DUALCLOCK__
  1084. DISPCHAR_SETTING_DUAL_CLOCK_IDLESCREEN,
  1085. #endif /* __MMI_VUI_HOMESCREEN_DUALCLOCK__ */
  1086. #endif /* __MMI_DUAL_CLOCK__ */
  1087. #ifdef __MMI_OP11_HOMESCREEN__
  1088. /* under construction !*/
  1089. #endif /* __MMI_OP11_HOMESCREEN__ */
  1090. #ifdef __MMI_OP12_TOOLBAR__
  1091.     DISPCHAR_SETTING_TOOLBAR,
  1092. #endif 
  1093.     DISPCHAR_SETTING_SHOW_DT_TIME,
  1094.     /* begin: zhangclc modified at: 2009-12-08 */
  1095.     //DISPCHAR_SETTING_SHOW_OWN_NUMBER,
  1096.     /* end: zhangclc modified at: 2009-12-08 */
  1097. #if defined(__MMI_OPERATOR_NAME_MENU__)
  1098.     DISPCHAR_SETTING_SHOW_OPN,
  1099. #endif 
  1100. #if defined(__MMI_UI_TECHNO_IDLESCREEN_BAR__)
  1101.     DISPCHAR_SETTING_IDLE_CLOCK_TYPE,
  1102. #endif 
  1103. #ifdef __MMI_SCREEN_SWITCH_EFFECT__
  1104.     DISPCHAR_SETTING_SCREEN_SWITCH_EFFECT,
  1105. #endif /* __MMI_SCREEN_SWITCH_EFFECT__ */
  1106.     DISPCHAR_MENU_ITEM_COUNT
  1107. } dispchar_menu_item_enum;
  1108. #ifdef __MMI_MAINMENU_STYLE_CHANGE_EN__
  1109. typedef enum
  1110. {
  1111. #ifdef __MMI_MAINMENU_MATRIX_SUPPORT__
  1112.     MAINMENU_STYLE_MATRIX,
  1113. #endif 
  1114. #ifdef __MMI_MAINMENU_PAGE_SUPPORT__
  1115. #ifndef __MMI_TOUCH_SCREEN__
  1116.     MAINMENU_STYLE_PAGE,
  1117. #endif 
  1118. #endif /* __MMI_MAINMENU_PAGE_SUPPORT__ */ 
  1119. #ifdef __MMI_MAINMENU_LIST_SUPPORT__
  1120.     MAINMENU_STYLE_LIST,
  1121. #endif 
  1122. #ifdef __MMI_MAINMENU_CIRCULAR_SUPPORT__
  1123.     MAINMENU_STYLE_CIRCULAR,
  1124. #endif 
  1125. #ifdef __MMI_MAINMENU_ROTATE_SUPPORT__
  1126.     MAINMENU_STYLE_ROTATE,
  1127. #endif 
  1128.     MAINMENU_STYLE_COUNT
  1129. } mainmenu_style_enum;
  1130. #endif /* __MMI_MAINMENU_STYLE_CHANGE_EN__ */ 
  1131. typedef enum
  1132. {
  1133.     DISPSEL_MENU_SYS,
  1134. #ifndef __MMI_DISPLAY_CHAR_HIDE_MENU_FROM_FILE__
  1135.     DISPSEL_MENU_USER,
  1136. #endif 
  1137. #ifdef __MMI_AVATAR__
  1138.     DISPSEL_MENU_AVATAR,
  1139. #endif
  1140.     DISPSEL_MENU_TOTAL
  1141. } dispsel_menu_enum;
  1142. typedef enum
  1143. {
  1144.     AUTODISP_IMG_START,
  1145.     AUTODISP_IMG_MAX,
  1146.     AUTODISP_ANALOG_CLK,
  1147.     AUTODISP_DIGITAL_CLK,
  1148.     AUTODISP_VDO_START = AUTODISP_ANALOG_CLK,
  1149.     AUTODISP_VDO_MAX = AUTODISP_DIGITAL_CLK,
  1150.     AUTODISP_MAX
  1151. } autodisp_enum;
  1152. typedef enum
  1153. {
  1154.     AUTODISP_CATEGORY_IMG = 0x0020,
  1155.     AUTODISP_CATEGORY_VDO = 0x0040,
  1156.     AUTODISP_CATEGORY_MB = 0x0080,
  1157.     AUTODISP_CATEGORY_SB = 0x0100,
  1158.     AUTODISP_CATEGORY_ANALOG = 0x0200,
  1159.     AUTODISP_CATEGORY_DIGITAL = 0x0400,
  1160.     AUTODISP_CATEGORY_SWFLASH = 0x0800,
  1161.     AUTODISP_CATEGORY_MAX
  1162. } autodisp_category_enum;
  1163. FILE *res_log;  /* for log */
  1164. void PopulateDisplayChar(void);
  1165. #ifdef __MMI_FREETYPE_SETTING_SUPPORT__
  1166. void PopulateFreeType(void)
  1167. {
  1168.     ADD_APPLICATION_STRING(STR_ID_PHNSET_FREETYPE_SETTING, "Font size");
  1169.     ADD_APPLICATION_STRING(STR_ID_PHNSET_FREETYPE_SMALL, "Small font");
  1170.     ADD_APPLICATION_STRING(STR_ID_PHNSET_FREETYPE_MEDIUM, "Medium font");
  1171.     ADD_APPLICATION_STRING(STR_ID_PHNSET_FREETYPE_LARGE, "Large font");
  1172.     
  1173.     ADD_APPLICATION_MENUITEM2((MENU_ID_PHNSET_FREETYPE_SETTING, MENU9102_INITIAL_SETUP,
  1174.                               MENU_ID_PHNSET_FREETYPE_SMALL,
  1175.                               MENU_ID_PHNSET_FREETYPE_MEDIUM,
  1176.                               MENU_ID_PHNSET_FREETYPE_LARGE,
  1177.                               MENU_ITEM_END,
  1178.                               SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_PHNSET_FREETYPE_SETTING, 0));
  1179.     ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_FREETYPE_SMALL, MENU_ID_PHNSET_FREETYPE_SETTING, 0,
  1180.                               SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_PHNSET_FREETYPE_SMALL, 0));
  1181.     ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_FREETYPE_MEDIUM, MENU_ID_PHNSET_FREETYPE_SETTING, 0,
  1182.                               SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_PHNSET_FREETYPE_MEDIUM, 0));
  1183.     ADD_APPLICATION_MENUITEM((MENU_ID_PHNSET_FREETYPE_LARGE, MENU_ID_PHNSET_FREETYPE_SETTING, 0,
  1184.                               SHOW, MOVEABLEWITHINPARENT, DISP_LIST, STR_ID_PHNSET_FREETYPE_LARGE, 0));
  1185. }
  1186. #endif
  1187. #ifdef __MMI_INNERVATION_WORLD__
  1188. void PopulateInnerWorResDate(void)
  1189. {
  1190. ADD_APPLICATION_MENUITEM((MENU_ID_INNERVATION_WORLD, MENU9102_INITIAL_SETUP, 
  1191.              #if defined(__MMI_TV_PLAYER__)
  1192.                  1+
  1193.              #endif
  1194.                  6,
  1195.                  MENU_ID_DYNAMIC_WALLPAPER,
  1196.              #if defined(__MMI_TV_PLAYER__)
  1197.                  MENU_ID_TV_FULLSCREEN_SWITCH,
  1198.              #endif
  1199.                  MENU_ID_VDO_FULLSCREEN_SWITCH,
  1200.                  MENU_ID_ROCK_SONG_SWITCH,
  1201.                  MENU_ID_CALLIN_MODE,
  1202.                  MENU_ID_LAZYBOOTS_CLOCK,
  1203.                  MENU_ID_FMCHNL_SWITCH,
  1204.                     SHOW, NONMOVEABLE, DISP_LIST, STR_ID_INNERVATION_WORLD, IMG_INNERVATION_WORLD));
  1205. /*2008/10/07 heww modify*/
  1206.         /*
  1207. ADD_APPLICATION_MENUITEM((MENU_ID_DYNAMIC_WALLPAPER, MENU_ID_INNERVATION_WORLD, 2,
  1208.                                              MENU_ID_DYNAMIC_WALLPAPER_SETTING,
  1209.                                              MENU_ID_DYNAMIC_WALLPAPER_INSTRUCTIONS,
  1210.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_DYNAMIC_WALLPAPER, 0));
  1211.         */
  1212.     ADD_APPLICATION_MENUITEM((MENU_ID_DYNAMIC_WALLPAPER, MENU_ID_INNERVATION_WORLD, 0,
  1213.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_DYNAMIC_WALLPAPER, 0));
  1214. #if defined(__MMI_TV_PLAYER__)
  1215. ADD_APPLICATION_MENUITEM((MENU_ID_TV_FULLSCREEN_SWITCH, MENU_ID_INNERVATION_WORLD, 0,
  1216.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_TV_FULLSCREEN_MODE_SWITCH, 0));
  1217. #endif
  1218. ADD_APPLICATION_MENUITEM((MENU_ID_VDO_FULLSCREEN_SWITCH, MENU_ID_INNERVATION_WORLD, 0,
  1219.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_VDO_FULLSCREEN_MODE_SWITCH, 0));
  1220. ADD_APPLICATION_MENUITEM((MENU_ID_ROCK_SONG_SWITCH, MENU_ID_INNERVATION_WORLD, 0,
  1221.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_ROCK_SONG_SWITCH, 0));
  1222.          /*
  1223. ADD_APPLICATION_MENUITEM((MENU_ID_CALLIN_MODE, MENU_ID_INNERVATION_WORLD, 1,
  1224. MENU_ID_CALLIN_SILENT,
  1225.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLIN_MODE, 0));
  1226.         */
  1227. ADD_APPLICATION_MENUITEM((MENU_ID_CALLIN_MODE, MENU_ID_INNERVATION_WORLD, 0,
  1228.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLIN_MODE, 0));
  1229. ADD_APPLICATION_MENUITEM((MENU_ID_LAZYBOOTS_CLOCK, MENU_ID_INNERVATION_WORLD, 0,
  1230.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_LAZYBOOTS_CLOCK, 0));
  1231.     /* begin: zhangclc added at 2010-02-05 */
  1232.     ADD_APPLICATION_MENUITEM((MENU_ID_FMCHNL_SWITCH, MENU_ID_INNERVATION_WORLD, 0,
  1233.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_FM_CHNL_SWITCH, 0));
  1234.     /* end: zhangclc added at 2010-02-05 */
  1235.     
  1236. /*2008/10/07 heww modify*/
  1237.      /*
  1238. ADD_APPLICATION_MENUITEM((MENU_ID_DYNAMIC_WALLPAPER_SETTING, MENU_ID_DYNAMIC_WALLPAPER, 0,
  1239.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_DYNAMIC_WALLPAPER_SETTING, 0));
  1240. ADD_APPLICATION_MENUITEM((MENU_ID_DYNAMIC_WALLPAPER_INSTRUCTIONS, MENU_ID_DYNAMIC_WALLPAPER, 0,
  1241.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_DYNAMIC_WALLPAPER_INSTRUCTIONS, 0));
  1242.  
  1243. ADD_APPLICATION_MENUITEM((MENU_ID_CALLIN_SILENT, MENU_ID_CALLIN_MODE, 0,
  1244.                                                         SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLIN_SILENT, 0));
  1245.      */
  1246.      ADD_APPLICATION_STRING2(STR_ID_INNERVATION_WORLD, "Innervation World", "Innervation World.");
  1247.      ADD_APPLICATION_STRING2(STR_ID_DYNAMIC_WALLPAPER, "Dynamic Wallpaper", "Dynamic Wallpaper.");
  1248. /*2008/10/07 heww modify*/ 
  1249.      //ADD_APPLICATION_STRING2(STR_ID_DYNAMIC_WALLPAPER_SETTING, "Dynamic Wallpaper Setting", "Dynamic Wallpaper Setting.");
  1250.      //ADD_APPLICATION_STRING2(STR_ID_DYNAMIC_WALLPAPER_INSTRUCTIONS, "Dynamic Wallpaper Setting Instruction", "Dynamic Wallpaper Setting Instructions.");
  1251. #if defined(__MMI_TV_PLAYER__)
  1252.  ADD_APPLICATION_STRING2(STR_ID_TV_FULLSCREEN_MODE_SWITCH, "TV Fullscreen Switch", "TV Fullscreen Switch.");
  1253. #endif
  1254.  ADD_APPLICATION_STRING2(STR_ID_VDO_FULLSCREEN_MODE_SWITCH, "VDO Fullscreen Switch", "VDO Fullscreen Switch.");
  1255.  ADD_APPLICATION_STRING2(STR_ID_ROCK_SONG_SWITCH, "Rock Songs Switch", "Rock Songs Switch.");
  1256.  ADD_APPLICATION_STRING2(STR_ID_CALLIN_MODE, "Call in Mode", "Call in Mode.");
  1257.  //ADD_APPLICATION_STRING2(STR_ID_CALLIN_SILENT, "Silent Mode", "Silent Mode.");
  1258.  ADD_APPLICATION_STRING2(STR_ID_LAZYBOOTS_CLOCK, "Lazyboots Alarm Clock", "Lazyboots Alarm Clock.");
  1259.  ADD_APPLICATION_STRING2(STR_ID_FM_CHNL_SWITCH, "FM radio channel switch", "FM radio channel switch.");
  1260. ADD_APPLICATION_IMAGE2(
  1261.         IMG_INNERVATION_WORLD,
  1262.         CUST_IMG_PATH "\\MainLCD\\Submenu\\SB_VE.bmp",
  1263.         "Setting Submenu image for innervation world.");
  1264.  
  1265. }
  1266. #endif
  1267. /*****************************************************************************
  1268.  * FUNCTION
  1269.  *  PopulateCallBarring
  1270.  * DESCRIPTION
  1271.  *  
  1272.  * PARAMETERS
  1273.  *  void
  1274.  * RETURNS
  1275.  *  void
  1276.  *****************************************************************************/
  1277. void PopulateCallBarring()
  1278. {
  1279.     /*----------------------------------------------------------------*/
  1280.     /* Local Variables                                                */
  1281.     /*----------------------------------------------------------------*/
  1282.     /*----------------------------------------------------------------*/
  1283.     /* Code Body                                                      */
  1284.     /*----------------------------------------------------------------*/
  1285.     ADD_APPLICATION_MENUITEM((MENU8237_SCR8093_MNGCALL_MENU_BARRING,
  1286.                           #ifdef __MMI_UCM__
  1287.                           #ifdef __MMI_DUAL_SIM_MASTER__
  1288.                               MENU_ID_UCM_CALL_SETTING_SIM1,
  1289.                           #else /* __MMI_DUAL_SIM_MASTER__ */
  1290.                               MENU_ID_UCM_CALL_SETTING,
  1291.                           #endif /* __MMI_DUAL_SIM_MASTER__ */                              
  1292.                           #else /* __MMI_UCM__ */
  1293.                               MENU8237_SCR8093_MNGCALL_MENU_MAIN, 
  1294.                           #endif /* __MMI_UCM__ */
  1295.                               5,
  1296.                               MENU_CALL_BARRING_OUTGOING,
  1297.                               MENU_CALL_BARRING_INCOMING,
  1298.                               MENU_CALL_BARRING_ACTIVATEALL,
  1299.                               MENU_CALL_BARRING_CANCELALL,
  1300.                               MENU_CALL_BARRING_CHANGEPASS, SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALL_BARRING, NULL));
  1301.     ADD_APPLICATION_MENUITEM((MENU_CALL_BARRING_CANCELALL,
  1302.                               MENU_BARRING_MAIN, 0,
  1303.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALL_BARRING_CANCELALL, NULL));
  1304.     ADD_APPLICATION_MENUITEM((MENU_CALL_BARRING_ACTIVATEALL,
  1305.                               MENU_BARRING_MAIN, 0,
  1306.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALL_BARRING_ACTIVATEALL, NULL));
  1307.     ADD_APPLICATION_MENUITEM((MENU_CALL_BARRING_CHANGEPASS,
  1308.                               MENU_BARRING_MAIN, 0,
  1309.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALL_BARRING_CHANGEPASS, NULL));
  1310.     ADD_APPLICATION_STRING2(STR_MENU_CALL_BARRING, "Call Barring", "STR MENU CALL BARRING");
  1311.     ADD_APPLICATION_STRING2(STR_MENU_CALL_BARRING_CANCELALL, "Cancel All", "STR_MENU_CALL_BARRING_CANCELALL");
  1312.     ADD_APPLICATION_STRING2(STR_MENU_CALL_BARRING_ACTIVATEALL, "Activate All", "STR_MENU_CALL_BARRING_ACTIVATEALL");
  1313. ADD_APPLICATION_STRING2(STR_MENU_CALL_BARRING_CHANGEPASS, "Change Barring Password", "STR_MENU_CALL_BARRING_CHANGEPASS");
  1314.     ADD_APPLICATION_MENUITEM((MENU_CALL_BARRING_OUTGOING,
  1315.                               MENU8237_SCR8093_MNGCALL_MENU_BARRING, 3,
  1316.                               MENU_BARRING_OUTGOING_ALLCALLS,
  1317.                               MENU_BARRING_OUTGOING_INTERCALL,
  1318.                               MENU_BARRING_OUTGOING_INTEREXCEPTHOME,
  1319.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_OUT_CALLS_MAIN, NULL));
  1320.     ADD_APPLICATION_MENUITEM((MENU_BARRING_OUTGOING_ALLCALLS,
  1321.                               MENU_CALL_BARRING_OUTGOING, 0,
  1322.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_OUTGOING_ALLCALLS, NULL));
  1323.     ADD_APPLICATION_MENUITEM((MENU_BARRING_OUTGOING_INTERCALL,
  1324.                               MENU_CALL_BARRING_OUTGOING, 0,
  1325.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_OUTGOING_INTERCALL, NULL));
  1326.     ADD_APPLICATION_MENUITEM((MENU_BARRING_OUTGOING_INTEREXCEPTHOME,
  1327.                               MENU_CALL_BARRING_OUTGOING, 0,
  1328.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_OUTGOING_INTEREXCEPTHOME, NULL));
  1329.     ADD_APPLICATION_STRING2(STR_MENU_BARRING_OUT_CALLS_MAIN, "Outgoing Calls  ", "STR_MENU_BARRING_OUT_CALLS_MAIN");
  1330.     ADD_APPLICATION_STRING2(STR_MENU_BARRING_OUTGOING_ALLCALLS, "All Calls  ", "STR_MENU_BARRING_OUTGOING_ALLCALLS");
  1331.     ADD_APPLICATION_STRING2(
  1332.         STR_MENU_BARRING_OUTGOING_INTERCALL,
  1333.         "International Calls ",
  1334.         "STR_MENU_BARRING_OUTGOING_INTERCALL");
  1335.     ADD_APPLICATION_STRING2(
  1336.         STR_MENU_BARRING_OUTGOING_INTEREXCEPTHOME,
  1337.         "International Calls Except To Home PLMN",
  1338.         "MENU_BARRING_OUTGOING_INTEREXCEPTHOME");
  1339.     ADD_APPLICATION_MENUITEM((MENU_CALL_BARRING_INCOMING,
  1340.                               MENU8237_SCR8093_MNGCALL_MENU_BARRING, 2,
  1341.                               MENU_BARRING_INCOMING_ALLCALLS,
  1342.                               MENU_BARRING_INCOMING_ROAMING,
  1343.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_INCOMING_MAIN, NULL));
  1344.     ADD_APPLICATION_MENUITEM((MENU_BARRING_INCOMING_ALLCALLS,
  1345.                               MENU_CALL_BARRING_INCOMING, 0,
  1346.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_INCOMING_ALLCALLS, NULL));
  1347.     ADD_APPLICATION_MENUITEM((MENU_BARRING_INCOMING_ROAMING,
  1348.                               MENU_CALL_BARRING_INCOMING, 0,
  1349.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_INCOMING_ROAMING, NULL));
  1350.     ADD_APPLICATION_STRING2(STR_MENU_BARRING_INCOMING_MAIN, "Incoming Calls ", "STR_MENU_BARRING_INCOMING_MAIN");
  1351.     ADD_APPLICATION_STRING2(STR_MENU_BARRING_INCOMING_ALLCALLS, "All Calls  ", "STR_MENU_BARRING_INCOMING_ALLCALLS");
  1352.     ADD_APPLICATION_STRING2(STR_MENU_BARRING_INCOMING_ROAMING, "When Roaming  ", "STR_MENU_BARRING_INCOMING_ROAMING");
  1353.     ADD_APPLICATION_MENUITEM((MENU_BARRING_OPTION,
  1354.                               0, 3,
  1355.                               MENU_BARRING_ACTIVATE,
  1356.                               MENU_BARRING_DEACTIVATE,
  1357.                               MENU_BARRING_QUERY, SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_OPTION, NULL));
  1358.     ADD_APPLICATION_MENUITEM((MENU_BARRING_ACTIVATE,
  1359.                               MENU_BARRING_OPTION, 0, SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_ACTIVATE, NULL));
  1360.     ADD_APPLICATION_MENUITEM((MENU_BARRING_DEACTIVATE,
  1361.                               MENU_BARRING_OPTION, 0, SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_DEACTIVATE, NULL));
  1362.     ADD_APPLICATION_MENUITEM((MENU_BARRING_QUERY,
  1363.                               MENU_BARRING_OPTION, 0, SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_BARRING_QUERY, NULL));
  1364.     ADD_APPLICATION_STRING2(STR_MENU_BARRING_OPTION, "Call Barring Options", "STR_MENU_BARRING_OPTION");
  1365.     ADD_APPLICATION_STRING2(STR_MENU_BARRING_QUERY, "Query Status", "STR_MENU_BARRING_QUERY");
  1366.     ADD_APPLICATION_STRING2(STR_BARRING_OUTGOING_CALL_CAPTION, "Outgoing Calls  ", "STR_SCR_ACTIVATE_DEACTIVATE_RSK");
  1367.     ADD_APPLICATION_STRING2(STR_BARRING_PASSWORD_CAP, "Call Barring Password  ", "STR_BARRING_PASSWORD_CAP");
  1368.     ADD_APPLICATION_IMAGE2(IMG_BARRING_ACIVATE_CAP, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "IMG_BARRING_ACIVATE_CAP ");
  1369.     ADD_APPLICATION_IMAGE2(
  1370.         IMG_BARRING_DEACTIVATE_CAP,
  1371.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1372.         "IMG_BARRING_DEACTIVATE_CAP ");
  1373.     ADD_APPLICATION_STRING2(STR_OLD_BARRINGPASS_CAP, "Old Password", "STR_OLD_BARRINGPASS_CAP");
  1374.     ADD_APPLICATION_STRING2(STR_NEW_BARRINGPASS_CAP, "New Password", "STR_NEW_BARRINGPASS_CAP");
  1375.     ADD_APPLICATION_STRING2(STR_CONFIRM_BARRINGPASS_CAP, "Confirm New Password", "STR_CONFIRM_BARRINGPASS_CAP");
  1376.     ADD_APPLICATION_IMAGE2(IMG_BARING_CAP, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "IMG_BARING_CAP ");
  1377.     ADD_APPLICATION_STRING2(
  1378.         STR_CHANGE_PSW_SUCCESS_TEXT,
  1379.         "Barring Password Changed Successfully !!",
  1380.         "STR_CHANGE_PSW_SUCCESS_TEXT");
  1381.     ADD_APPLICATION_STRING2(STR_BAOC_A, "Barring All Outgoing Calls ", "Barring All Outgoing Calls.");
  1382.     ADD_APPLICATION_STRING2(
  1383.         STR_BOIC_A,
  1384.         "Barring Outgoing International Calls ",
  1385.         "Barring Outgoing International Calls.");
  1386.     ADD_APPLICATION_STRING2(
  1387.         STR_BOICEXHC_A,
  1388.         "Barring Outgoing International Calls Except To Home PLMN ",
  1389.         "Barring Outgoing International Calls Except To Home PLMN.");
  1390.     ADD_APPLICATION_STRING2(STR_BAIC_A, "Barring All Incoming Calls ", "Barring All Incoming Calls.");
  1391.     ADD_APPLICATION_STRING2(
  1392.         STR_BAICROAM_A,
  1393.         "Barring All Incoming Calls When Roaming ",
  1394.         "Barring All Incoming Calls When Roaming.");
  1395.     ADD_APPLICATION_STRING2(STR_BAC_A, "Barring All Calls ", "Barring All Calls.");
  1396.     ADD_APPLICATION_STRING2(STR_BOC_A, "Barring Outgoing Calls ", "Barring Outgoing Calls.");
  1397.     ADD_APPLICATION_STRING2(STR_BIC_A, "Barring Incoming Calls ", "Barring Incoming Calls.");
  1398.     ADD_APPLICATION_STRING2(STR_DEFAULT_A, "Unknown Barring Service Type ", "Unknown Barring Service Type.");
  1399.     ADD_APPLICATION_STRING2(STR_ACTIVATED, "activatedn", "Activated.");
  1400.     ADD_APPLICATION_STRING2(STR_DEACTIVATED, "deactivatedn", "Deactivated.");
  1401.     ADD_APPLICATION_STRING2(STR_NOT_PROVIDED, "not providedn", "Not Provided.");
  1402.     ADD_APPLICATION_STRING2(STR_SECONDS, "Seconds ", "Seconds.");
  1403.     ADD_APPLICATION_STRING2(STR_BOTH_LINES, "On Both Lines ", "On Both Lines ");
  1404.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_SCR8093_MNGCALL_MENU_BARRING, HighlightCALLSETCallBarring);
  1405.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_BARRING_OUTGOING, HighlightCALLSETCallBarringOutgoing);
  1406.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_BARRING_INCOMING, HighlightCALLSETCallBarringIncoming);
  1407.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_BARRING_CANCELALL, HighlightCALLSETCallBarringCancelAll);
  1408.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_BARRING_ACTIVATEALL, HighlightCALLSETCallBarringActivateAll);
  1409.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_BARRING_CHANGEPASS, HighlightCALLSETCallBarringChangePwd);
  1410.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_OUTGOING_ALLCALLS, HighlightCALLSETCallBarringAllOutCalls);
  1411.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_OUTGOING_INTERCALL, HighlightCALLSETCallBarringAllOutInter);
  1412.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_OUTGOING_INTEREXCEPTHOME, HighlightCALLSETCallBarringAllOutInterExcHome);
  1413.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_INCOMING_ALLCALLS, HighlightCALLSETCallBarringAllInCalls);
  1414.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_INCOMING_ROAMING, HighlightCALLSETCallBarringAllInRoaming);
  1415.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_ACTIVATE, HighlightCALLSETCallBarringActive);
  1416.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_DEACTIVATE, HighlightCALLSETCallBarringDeactive);
  1417.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_BARRING_QUERY, HighlightCALLSETCallBarringQuery);
  1418. }
  1419. /*****************************************************************************
  1420.  * FUNCTION
  1421.  *  PopulateCallForward
  1422.  * DESCRIPTION
  1423.  *  
  1424.  * PARAMETERS
  1425.  *  void
  1426.  * RETURNS
  1427.  *  void
  1428.  *****************************************************************************/
  1429. void PopulateCallForward(void)
  1430. {
  1431.     /*----------------------------------------------------------------*/
  1432.     /* Local Variables                                                */
  1433.     /*----------------------------------------------------------------*/
  1434.     /*----------------------------------------------------------------*/
  1435.     /* Code Body                                                      */
  1436.     /*----------------------------------------------------------------*/
  1437.     ADD_APPLICATION_MENUITEM2((MENU8237_SCR8093_MNGCALL_MENU_FWD,
  1438.                           #ifdef __MMI_UCM__
  1439.                           #ifdef __MMI_DUAL_SIM_MASTER__
  1440.                               MENU_ID_UCM_CALL_SETTING_SIM1,
  1441.                           #else /* __MMI_DUAL_SIM_MASTER__ */
  1442.                               MENU_ID_UCM_CALL_SETTING,
  1443.                           #endif /* __MMI_DUAL_SIM_MASTER__ */                              
  1444.                           #else /* __MMI_UCM__ */
  1445.                               MENU8237_SCR8093_MNGCALL_MENU_MAIN, 
  1446.                           #endif /* __MMI_UCM__ */
  1447.                               MENU8238_MNGCALL_CALFWD_VOICECALL,
  1448.                               MENU8239_CALFWD_VOICECALL_UNREACHABLE,
  1449.                               MENU8239_CALFWD_VOICECALL_NOANSWER,
  1450.                               MENU8239_CALFWD_VOICECALL_BUSY,
  1451.                           #ifdef __MMI_SS_CF_ALLCOND_MENU__
  1452.                               MENU8239_CALFWD_VOICECALL_ALLCOND,
  1453.                           #endif
  1454.                           #ifdef __MMI_VIDEO_TELEPHONY__
  1455.                               MENU_ID_CALFWD_VIDEO_ALL,
  1456.                               MENU_ID_CALFWD_VIDEO_UNREACHABLE,
  1457.                               MENU_ID_CALFWD_VIDEO_NOANSWER,
  1458.                               MENU_ID_CALFWD_VIDEO_BUSY,
  1459.                           #ifdef __MMI_SS_CF_ALLCOND_MENU__
  1460.                               MENU_ID_CALFWD_VIDEO_ALL_COND,
  1461.                           #endif /* __MMI_SS_CF_ALLCOND_MENU__ */
  1462.                           #endif /* __MMI_VIDEO_TELEPHONY__ */
  1463.                               MENU8238_MNGCALL_CALFWD_DATACALL,
  1464.                               MENU_CALL_FWD_CANCELALL,
  1465.                               MENU_ITEM_END,
  1466.                               SHOW, SHORTCUTABLE, DISP_LIST, STR_MENU8238_MNGCALL_CALLFWD_CAPTION, NULL));
  1467.     ADD_APPLICATION_MENUITEM((MENU8238_MNGCALL_CALFWD_VOICECALL,
  1468.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1469.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8238_MNGCALL_CALLFWD_VOICE, NULL));
  1470.     ADD_APPLICATION_MENUITEM((MENU_CALL_FWD_CANCELALL,
  1471.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1472.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALL_FWD_CANCELALL, NULL));
  1473.     ADD_APPLICATION_MENUITEM((MENU8238_MNGCALL_CALFWD_DATACALL,
  1474.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1475.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8238_MNGCALL_CALLFWD_DATA, NULL));
  1476.     ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_UNREACHABLE,
  1477.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1478.                               SHOW, NONMOVEABLE, DISP_LIST, 
  1479.                           #ifdef __MMI_VIDEO_TELEPHONY__
  1480.                               STR_ID_CALLFWD_VOICE_UNREACHABLE,                                
  1481.                           #else /* __MMI_VIDEO_TELEPHONY__ */
  1482.                               STR_MENU8239_CALFWD_VOICECALL_UNREACHABLE, 
  1483.                           #endif /* __MMI_VIDEO_TELEPHONY__ */
  1484.                               NULL));
  1485.     ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_NOANSWER,
  1486.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1487.                               SHOW, NONMOVEABLE, DISP_LIST,
  1488.                           #ifdef __MMI_VIDEO_TELEPHONY__
  1489.                               STR_ID_CALLFWD_VOICE_NOANSWER,
  1490.                           #else /* __MMI_VIDEO_TELEPHONY__ */
  1491.                               STR_MENU8239_CALFWD_VOICECALL_NOANSWER, 
  1492.                           #endif /* __MMI_VIDEO_TELEPHONY__ */
  1493.                               NULL));
  1494.     ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_ALLCOND,
  1495.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1496.                               SHOW, NONMOVEABLE, DISP_LIST, 
  1497.                           #ifdef __MMI_VIDEO_TELEPHONY__
  1498.                               STR_ID_CALLFWD_VOICE_ALL_COND,
  1499.                           #else /* __MMI_VIDEO_TELEPHONY__ */
  1500.                               STR_MENU8239_CALFWD_VOICECALL_ALLCOND, 
  1501.                           #endif /* __MMI_VIDEO_TELEPHONY__ */
  1502.                               NULL));
  1503.     ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS,
  1504.                               0, 6,
  1505.                               MENU_NOANSWER_TIME_05_SECONDS,
  1506.                               MENU_NOANSWER_TIME_10_SECONDS,
  1507.                               MENU_NOANSWER_TIME_15_SECONDS,
  1508.                               MENU_NOANSWER_TIME_20_SECONDS,
  1509.                               MENU_NOANSWER_TIME_25_SECONDS,
  1510.                               MENU_NOANSWER_TIME_30_SECONDS,
  1511.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, NULL));
  1512.     ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_05_SECONDS,
  1513.                               MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
  1514.                               SHOW, NONMOVEABLE, DISP_LIST, STR_05_SECONDS, NULL));
  1515.     ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_10_SECONDS,
  1516.                               MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
  1517.                               SHOW, NONMOVEABLE, DISP_LIST, STR_10_SECONDS, NULL));
  1518.     ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_15_SECONDS,
  1519.                               MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
  1520.                               SHOW, NONMOVEABLE, DISP_LIST, STR_15_SECONDS, NULL));
  1521.     ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_20_SECONDS,
  1522.                               MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
  1523.                               SHOW, NONMOVEABLE, DISP_LIST, STR_20_SECONDS, NULL));
  1524.     ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_25_SECONDS,
  1525.                               MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
  1526.                               SHOW, NONMOVEABLE, DISP_LIST, STR_25_SECONDS, NULL));
  1527.     ADD_APPLICATION_MENUITEM((MENU_NOANSWER_TIME_30_SECONDS,
  1528.                               MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS, 0,
  1529.                               SHOW, NONMOVEABLE, DISP_LIST, STR_30_SECONDS, NULL));
  1530.     ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_BUSY,
  1531.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1532.                               SHOW, NONMOVEABLE, DISP_LIST, 
  1533.                           #ifdef __MMI_VIDEO_TELEPHONY__
  1534.                               STR_ID_CALLFWD_VOICE_BUSY,
  1535.                           #else /* __MMI_VIDEO_TELEPHONY__ */
  1536.                               STR_MENU8239_CALFWD_VOICECALL_BUSY, 
  1537.                           #endif /* __MMI_VIDEO_TELEPHONY__ */
  1538.                               NULL));
  1539.     ADD_APPLICATION_MENUITEM((MENU8239_CALFWD_VOICECALL_UNCONDITIONALY,
  1540.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1541.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8239_CALFWD_VOICECALL_UNCONDITIONALY, NULL));
  1542.     ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_VIDEO_ALL,
  1543.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1544.                               SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLFWD_VIDEO_ALL, NULL));
  1545.     ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_VIDEO_UNREACHABLE,
  1546.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1547.                               SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLFWD_VIDEO_UNREACHABLE, NULL));
  1548.     ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_VIDEO_NOANSWER,
  1549.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1550.                               SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLFWD_VIDEO_NOANSWER, NULL));
  1551.     ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_VIDEO_BUSY,
  1552.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1553.                               SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLFWD_VIDEO_BUSY, NULL));
  1554.     ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_VIDEO_ALL_COND,
  1555.                               MENU8237_SCR8093_MNGCALL_MENU_FWD, 0,
  1556.                               SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALLFWD_VIDEO_ALL_COND, NULL));
  1557.   
  1558.     ADD_APPLICATION_MENUITEM((MENU8240_MNGCALL_CALLFWD_FWD_OPTION,
  1559.                               0, 3,
  1560.                               MENU8240_MNGCALL_CALLFWD_FWD_ON,
  1561.                               MENU8240_MNGCALL_CALLFWD_FWD_OFF,
  1562.                               MENU8240_MNGCALL_CALLFWD_FWD_QUERY,
  1563.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8240_MNGCALL_CALLFWD_FWD_OPTION, NULL));
  1564.     ADD_APPLICATION_MENUITEM((MENU8240_MNGCALL_CALLFWD_FWD_ON,
  1565.                               MENU8240_MNGCALL_CALLFWD_FWD_OPTION, 0,
  1566.                               SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_ACTIVATE, NULL));
  1567.     ADD_APPLICATION_MENUITEM((MENU8240_MNGCALL_CALLFWD_FWD_OFF,
  1568.                               MENU8240_MNGCALL_CALLFWD_FWD_OPTION, 0,
  1569.                               SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_DEACTIVATE, NULL));
  1570.     ADD_APPLICATION_MENUITEM((MENU8240_MNGCALL_CALLFWD_FWD_QUERY,
  1571.                               MENU8240_MNGCALL_CALLFWD_FWD_OPTION, 0,
  1572.                               SHOW, NONMOVEABLE, DISP_LIST, STR_MENU8240_MNGCALL_CALLFWD_FWD_QUERY, NULL));
  1573.     ADD_APPLICATION_STRING2(STR_MENU8238_MNGCALL_CALLFWD_CAPTION, "Call Divert ", "CALL FWD MAIN SCREEN CAPTION ");
  1574.     ADD_APPLICATION_STRING2(
  1575.         SCR_CALL_FWD_ENTER_NO_ANSWER_TIME_CAP,
  1576.         "No Answer Time",
  1577.         "SCR_CALL_FWD_ENTER_NO_ANSWER_TIME_CAP ");
  1578.     ADD_APPLICATION_STRING2(
  1579.         STR_MENU8238_MNGCALL_CALLFWD_VOICE,
  1580.         "Divert All Voice Calls",
  1581.         " CALL FORWARD MAIN SCREEN VOICE CALL OPTION");
  1582.     ADD_APPLICATION_STRING2(
  1583.         STR_MENU8238_MNGCALL_CALLFWD_DATA,
  1584.         "Divert All Data Calls",
  1585.         " CALL FORWARD MAIN SCREEN DATA CALL OPTION");
  1586.     ADD_APPLICATION_STRING2(
  1587.         STR_MENU8239_CALFWD_VOICECALL_UNREACHABLE,
  1588.         "Divert If Unreachable",
  1589.         " CALL FORWARD VOICE CALLS OPTION UNREACHABLE");
  1590.     ADD_APPLICATION_STRING2(
  1591.         STR_MENU8239_CALFWD_VOICECALL_NOANSWER,
  1592.         "Divert If No Answer",
  1593.         " CALL FORWARD VOICE CALLS OPTION NO ANSWER ");
  1594.     ADD_APPLICATION_STRING2(
  1595.         STR_MENU8239_CALFWD_VOICECALL_ALLCOND,
  1596.         "Divert For All Conditional",
  1597.         " CALL FORWARD VOICE CALLS OPTION ALL CONDITIONAL ");
  1598.     ADD_APPLICATION_STRING2(
  1599.         STR_MENU8239_CALFWD_VOICECALL_NOANSWER_OPTIONS,
  1600.         "Divert If No Answer Options",
  1601.         " CALL FORWARD VOICE CALLS OPTION NO ANSWER ");
  1602.     ADD_APPLICATION_STRING2(
  1603.         STR_MENU8239_CALFWD_VOICECALL_BUSY,
  1604.         "Divert If Busy",
  1605.         " CALL FORWARD VOICE CALLS OPTION IF BUSY ");
  1606.     ADD_APPLICATION_STRING2(
  1607.         STR_MENU8239_CALFWD_VOICECALL_UNCONDITIONALY,
  1608.         "Unconditional",
  1609.         " CALL FORWARD VOICE CALLS OPTION UNCONDITIONAL ");
  1610.     ADD_APPLICATION_STRING2(
  1611.         STR_ID_CALLFWD_VIDEO_ALL,
  1612.         "Divert All Video Calls",
  1613.         " CALL FORWARD MAIN SCREEN VIDEO CALL OPTION");
  1614.     ADD_APPLICATION_STRING2(
  1615.         STR_ID_CALLFWD_VIDEO_UNREACHABLE,
  1616.         "Divert Video Calls If Unreachable",
  1617.         " CALL FORWARD VIDEO CALLS OPTION UNREACHABLE");
  1618.     ADD_APPLICATION_STRING2(
  1619.         STR_ID_CALLFWD_VIDEO_NOANSWER,
  1620.         "Divert Video Calls If No Answer",
  1621.         " CALL FORWARD VIDEO CALLS OPTION NO ANSWER ");
  1622.     ADD_APPLICATION_STRING2(
  1623.         STR_ID_CALLFWD_VIDEO_BUSY,
  1624.         "Divert Video Calls If Busy",
  1625.         " CALL FORWARD VIDEO CALLS OPTION IF BUSY ");
  1626.     ADD_APPLICATION_STRING2(
  1627.         STR_ID_CALLFWD_VIDEO_ALL_COND,
  1628.         "Divert Video Calls For All Conditional",
  1629.         " CALL FORWARD VIDEO CALLS OPTION ALL CONDITIONAL ");
  1630.     
  1631.     ADD_APPLICATION_STRING2(
  1632.         STR_ID_CALLFWD_VOICE_UNREACHABLE,
  1633.         "Divert Voice Calls If Unreachable",
  1634.         " CALL FORWARD VOICE CALLS OPTION UNREACHABLE");
  1635.     ADD_APPLICATION_STRING2(
  1636.         STR_ID_CALLFWD_VOICE_NOANSWER,
  1637.         "Divert Voice Calls If No Answer",
  1638.         " CALL FORWARD VOICE CALLS OPTION NO ANSWER ");
  1639.     ADD_APPLICATION_STRING2(
  1640.         STR_ID_CALLFWD_VOICE_BUSY,
  1641.         "Divert Voice Calls If Busy",
  1642.         " CALL FORWARD VOICE CALLS OPTION IF BUSY ");
  1643.     ADD_APPLICATION_STRING2(
  1644.         STR_ID_CALLFWD_VOICE_ALL_COND,
  1645.         "Divert Voice Calls For All Conditional",
  1646.         " CALL FORWARD VOICE CALLS OPTION ALL CONDITIONAL ");    
  1647.     ADD_APPLICATION_STRING2(STR_MENU_CALL_FWD_CANCELALL, "Cancel All Divert ", " STR_MENU_CALL_FWD_CANCELALL ");
  1648.     ADD_APPLICATION_STRING2(STR_05_SECONDS, " 5 Seconds", "5 Seconds");
  1649.     ADD_APPLICATION_STRING2(STR_10_SECONDS, " 10 Seconds", "10 Seconds");
  1650.     ADD_APPLICATION_STRING2(STR_15_SECONDS, " 15 Seconds", "15 Seconds");
  1651.     ADD_APPLICATION_STRING2(STR_20_SECONDS, " 20 Seconds", "20 Seconds");
  1652.     ADD_APPLICATION_STRING2(STR_25_SECONDS, " 25 Seconds", "25 Seconds");
  1653.     ADD_APPLICATION_STRING2(STR_30_SECONDS, " 30 Seconds", "30 Seconds");
  1654.     ADD_APPLICATION_STRING2(
  1655.         STR_MENU8240_MNGCALL_CALLFWD_FWD_OPTION,
  1656.         "Call Divert Options",
  1657.         "CALL FRWD OPTIONS CAPTION  ");
  1658.     ADD_APPLICATION_STRING2(STR_MENU8240_MNGCALL_CALLFWD_FWD_QUERY, "Query Status", "CALL FRWD QUERY OPTION ");
  1659.     ADD_APPLICATION_STRING2(STR_CALL_FWD_ENTER_NUM_CAP, "Divert Number", "STR_CALL_FWD_ENTER_NUM_CAP");
  1660. #ifndef __BW_MMI__
  1661.     ADD_APPLICATION_IMAGE2(
  1662.         IMG_SCR8103_CAPTION,
  1663.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1664.         "CALL FORWARD VOICE CALL SCREEN  CAPTION IMAGE ");
  1665.     ADD_APPLICATION_IMAGE2(
  1666.         IMG_SCR8105_CAPTION,
  1667.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1668.         "CALL FORWARD OPTIONS RSK IMAGE ");
  1669.     ADD_APPLICATION_IMAGE2(
  1670.         IMG_SCR8106_CAPTION,
  1671.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1672.         "CALL FORWARD ON SUCCESS CAPTION ");
  1673.     ADD_APPLICATION_IMAGE2(IMG_SCR8107_CAPTION, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "CALL FORWARD ON FAIL CAPTION ");
  1674.     ADD_APPLICATION_IMAGE2(
  1675.         IMG_SCR8108_CAPTION,
  1676.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1677.         "CALL FORWARD QUERY FAIL CAPTION ");
  1678. #endif /* __BW_MMI__ */ 
  1679.     ADD_APPLICATION_STRING2(STR_HASH_VALUE, "#", "STR_HASH_VALUE");
  1680.     ADD_APPLICATION_STRING2(STR_L4_CFU, "Call Forward Unconditional ", "Call Forward Unconditional.");
  1681.     ADD_APPLICATION_STRING2(STR_L4_CFB, "Call Forward When Busy ", "Call Forward When Busy.");
  1682.     ADD_APPLICATION_STRING2(STR_L4_CFNRY, "Call Forward When Not Reply ", "Call Forward When Not Reply");
  1683.     ADD_APPLICATION_STRING2(STR_L4_CFNRC, "Call Forward When Not Reachable ", "Call Forward When Not Reachable");
  1684.     ADD_APPLICATION_STRING2(STR_L4_CFA, "All Call Forward ", "All Call Forward");
  1685.     ADD_APPLICATION_STRING2(STR_L4_CFC, "All Conditional Call Forward ", "All Conditional Call Forward");
  1686.     ADD_APPLICATION_STRING2(STR_FWD_UNKNOWN_SERVICE, "Unknown Service Type ", "Unknown Service Type");
  1687.     ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_TO_OPTION,
  1688.                               0, 2,
  1689.                               MENU_ID_CALFWD_TO_NEW_NUMBER,
  1690.                               MENU_ID_CALFWD_TO_VM,
  1691.                               SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALFWD_TO_OPTION, NULL));
  1692.     ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_TO_NEW_NUMBER,
  1693.                               MENU_ID_CALFWD_TO_OPTION, 0,
  1694.                               SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALFWD_TO_NEW_NUMBER, NULL));
  1695.     ADD_APPLICATION_MENUITEM((MENU_ID_CALFWD_TO_VM,
  1696.                               MENU_ID_CALFWD_TO_OPTION, 0,
  1697.                               SHOW, NONMOVEABLE, DISP_LIST, STR_ID_CALFWD_TO_VM, NULL));
  1698.     ADD_APPLICATION_STRING2(STR_ID_CALFWD_TO_OPTION, "Divert To", "Divert option");
  1699.     ADD_APPLICATION_STRING2(STR_ID_CALFWD_TO_NEW_NUMBER, "To New Number", "Divert to new number");
  1700.     ADD_APPLICATION_STRING2(STR_ID_CALFWD_TO_VM, "To Voice Mail", "divert to voice mail");
  1701.     ADD_APPLICATION_STRING2(STR_CALL_SETUP_PERIOD, ".", "period for call setup result");
  1702.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_SCR8093_MNGCALL_MENU_FWD, HighlightCALLSETCallFwd);
  1703.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8238_MNGCALL_CALFWD_VOICECALL, HighlightCALLSETCallFwdVoice);
  1704.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8238_MNGCALL_CALFWD_DATACALL, HighlightCALLSETCallFwdData);
  1705.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8239_CALFWD_VOICECALL_UNREACHABLE, HighlightCALLSETCallFwdUnreach);
  1706.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8239_CALFWD_VOICECALL_NOANSWER, HighlightCALLSETCallFwdNoAns);
  1707.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8239_CALFWD_VOICECALL_ALLCOND, HighlightCALLSETCallFwdAllCond);
  1708.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8239_CALFWD_VOICECALL_BUSY, HighlightCALLSETCallFwdBusy);
  1709.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8240_MNGCALL_CALLFWD_FWD_ON, HighlightCALLSETCallFwdOn);
  1710.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8240_MNGCALL_CALLFWD_FWD_OFF, HighlightCALLSETCallFwdOff);
  1711.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8240_MNGCALL_CALLFWD_FWD_QUERY, HighlightCALLSETCallFwdQuery);
  1712.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALL_FWD_CANCELALL, HighlightCALLSETCallFwdCancelAll);
  1713.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_TO_NEW_NUMBER, mmi_callfwd_highlight_foward_to_new_number);
  1714.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_TO_VM, mmi_callfwd_highlight_foward_to_vm);
  1715. #ifdef __MMI_VIDEO_TELEPHONY__
  1716.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_VIDEO_ALL, HighlightCALLSETCallFwdVideo);
  1717.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_VIDEO_UNREACHABLE, HighlightCALLSETCallFwdVideoUnreach);
  1718.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_VIDEO_BUSY, HighlightCALLSETCallFwdVideoBusy);
  1719.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_VIDEO_NOANSWER, HighlightCALLSETCallFwdVideoNoAns);
  1720.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_ID_CALFWD_VIDEO_ALL_COND, HighlightCALLSETCallFwdVideoAllCond);
  1721. #endif /* __MMI_VIDEO_TELEPHONY__ */
  1722. }
  1723. /*****************************************************************************
  1724.  * FUNCTION
  1725.  *  PopulateCallWait
  1726.  * DESCRIPTION
  1727.  *  
  1728.  * PARAMETERS
  1729.  *  void
  1730.  * RETURNS
  1731.  *  void
  1732.  *****************************************************************************/
  1733. void PopulateCallWait()
  1734. {
  1735.     /*----------------------------------------------------------------*/
  1736.     /* Local Variables                                                */
  1737.     /*----------------------------------------------------------------*/
  1738.     /*----------------------------------------------------------------*/
  1739.     /* Code Body                                                      */
  1740.     /*----------------------------------------------------------------*/
  1741.     ADD_APPLICATION_MENUITEM((MENU8237_SCR8093_MNGCALL_MENU_WAIT,
  1742.                           #ifdef __MMI_UCM__
  1743.                           #ifdef __MMI_DUAL_SIM_MASTER__
  1744.                               MENU_ID_UCM_CALL_SETTING_SIM1,
  1745.                           #else /* __MMI_DUAL_SIM_MASTER__ */
  1746.                               MENU_ID_UCM_CALL_SETTING,
  1747.                           #endif /* __MMI_DUAL_SIM_MASTER__ */                              
  1748.                           #else
  1749.                               MENU8237_SCR8093_MNGCALL_MENU_MAIN, 
  1750.                           #endif /* __MMI_UCM__ */                          
  1751.                               3,
  1752.                               MENU8237_MNGCALL_CALWAIT_MENU_ON,
  1753.                               MENU8237_MNGCALL_CALWAIT_MENU_OFF,
  1754.                               MENU8237_MNGCALL_CALWAIT_MENU_QUERY,
  1755.                               SHOW, NONMOVEABLE, DISP_LIST, STR_SCR8094_MNGCALL_CALWAIT_MENU_CAPTION, NULL));
  1756.     ADD_APPLICATION_MENUITEM((MENU8237_MNGCALL_CALWAIT_MENU_ON,
  1757.                               MENU8237_SCR8093_MNGCALL_MENU_WAIT, 0,
  1758.                               SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_ACTIVATE, NULL));
  1759.     ADD_APPLICATION_MENUITEM((MENU8237_MNGCALL_CALWAIT_MENU_OFF,
  1760.                               MENU8237_SCR8093_MNGCALL_MENU_WAIT, 0,
  1761.                               SHOW, NONMOVEABLE, DISP_LIST, STR_GLOBAL_DEACTIVATE, NULL));
  1762.     ADD_APPLICATION_MENUITEM((MENU8237_MNGCALL_CALWAIT_MENU_QUERY,
  1763.                               MENU8237_SCR8093_MNGCALL_MENU_WAIT, 0,
  1764.                               SHOW, NONMOVEABLE, DISP_LIST, STR_SCR8094_MNGCALL_CALWAIT_MENU_QUERY, NULL));
  1765.     ADD_APPLICATION_STRING2(STR_SCR8094_MNGCALL_CALWAIT_MENU_CAPTION, "Call Waiting", "CALL WAITING MENU CAPTION");
  1766.     ADD_APPLICATION_STRING2(STR_SCR8094_MNGCALL_CALWAIT_MENU_QUERY, "Query Status", "CALL WAITING QUERY OPTION ");
  1767.     ADD_APPLICATION_STRING2(STR_SCR8096_MNGCALL_CALLWAIT_ON, "Call Waiting ", "CALL WAITING ON string");
  1768. #ifndef __BW_MMI__
  1769.     ADD_APPLICATION_IMAGE2(
  1770.         IMG_SCR_CALL_SETUP_REQ_CAP,
  1771.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1772.         "IMG_SCR_CALL_SETUP_REQ_CAP");
  1773.     ADD_APPLICATION_IMAGE2(
  1774.         IMG_SCR_CALL_SETUP_REQ_LSK,
  1775.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1776.         "IMG_SCR_CALL_SETUP_REQ_LSK");
  1777.     ADD_APPLICATION_IMAGE2(
  1778.         IMG_SCR8095_CAPTION,
  1779.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1780.         "CALL WAITING SCR CAPTION IMAGE ");
  1781.     ADD_APPLICATION_IMAGE2(IMG_SCR8095_TEXT, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "CALL WAITING SCR TEXT IMAGE ");
  1782.     ADD_APPLICATION_IMAGE2(
  1783.         IMG_SCR8096_CAPTION,
  1784.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1785.         "CALL WAITING SCR ON SUCCESS CAPTION IMAGE ");
  1786.     ADD_APPLICATION_IMAGE2(
  1787.         IMG_SCR8097_CAPTION,
  1788.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1789.         "CALL WAITING SCR ON FAILURE CAPTION IMAGE");
  1790.     ADD_APPLICATION_IMAGE2(
  1791.         IMG_SCR8098_CAPTION,
  1792.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1793.         "CALL WAITING SCR OFF SUCCESS CAPTION IMAGE");
  1794.     ADD_APPLICATION_IMAGE2(
  1795.         IMG_SCR8099_CAPTION,
  1796.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1797.         "CALL WAITING SCR OFF FAILURE CAPTION IMAGE");
  1798.     ADD_APPLICATION_IMAGE2(
  1799.         IMG_SCR8100_CAPTION,
  1800.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1801.         "CALL WAITING SCR STATUS ON CAPTION IMAGE");
  1802.     ADD_APPLICATION_IMAGE2(
  1803.         IMG_SCR8101_CAPTION,
  1804.         CUST_IMG_BASE_PATH "\\EmptyImage.bmp",
  1805.         "CALL WAITING SCR STATUS OFF CAPTION IMAGE");
  1806. #endif /* __BW_MMI__ */ 
  1807. ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_SCR8093_MNGCALL_MENU_WAIT, HighlightCALLSETCallWaiting);
  1808. ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_MNGCALL_CALWAIT_MENU_ON, HighlightCALLSETCallWaitingOn);
  1809. ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_MNGCALL_CALWAIT_MENU_OFF, HighlightCALLSETCallWaitingOff);
  1810. ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU8237_MNGCALL_CALWAIT_MENU_QUERY, HighlightCALLSETCallWaitingQuery);
  1811. }
  1812. /*****************************************************************************
  1813.  * FUNCTION
  1814.  *  PopulateCallerId
  1815.  * DESCRIPTION
  1816.  *  
  1817.  * PARAMETERS
  1818.  *  void
  1819.  * RETURNS
  1820.  *  void
  1821.  *****************************************************************************/
  1822. void PopulateCallerId(void)
  1823. {
  1824.     /*----------------------------------------------------------------*/
  1825.     /* Local Variables                                                */
  1826.     /*----------------------------------------------------------------*/
  1827.     /*----------------------------------------------------------------*/
  1828.     /* Code Body                                                      */
  1829.     /*----------------------------------------------------------------*/
  1830.     ADD_APPLICATION_MENUITEM((MENU_CALLER_ID,
  1831.                           #ifdef __MMI_UCM__
  1832.                           #ifdef __MMI_DUAL_SIM_MASTER__
  1833.                               MENU_ID_UCM_CALL_SETTING_SIM1,
  1834.                           #else /* __MMI_DUAL_SIM_MASTER__ */
  1835.                               MENU_ID_UCM_CALL_SETTING,
  1836.                           #endif /* __MMI_DUAL_SIM_MASTER__ */
  1837.                           #else /* __MMI_UCM__ */
  1838.                               MENU8237_SCR8093_MNGCALL_MENU_MAIN, 
  1839.                           #endif /* __MMI_UCM__ */
  1840.                               3,
  1841.                               MENU_CID_SET_NWK,
  1842.                               MENU_CID_HIDE_ID,
  1843.                               MENU_CID_SHOW_ID, SHOW, NONMOVEABLE, DISP_LIST, STR_MENU_CALLER_ID, NULL));
  1844.     ADD_APPLICATION_MENUITEM((MENU_CID_SET_NWK, MENU_CALLER_ID, 0,
  1845.                               SHOW, NONMOVEABLE, DISP_LIST, STR_CLI_SET_NETWORK, NULL));
  1846.     ADD_APPLICATION_MENUITEM((MENU_CID_HIDE_ID, MENU_CALLER_ID, 0,
  1847.                               SHOW, NONMOVEABLE, DISP_LIST, STR_CLI_HIDE_ID, NULL));
  1848.     ADD_APPLICATION_MENUITEM((MENU_CID_SHOW_ID, MENU_CALLER_ID, 0,
  1849.                               SHOW, NONMOVEABLE, DISP_LIST, STR_CLI_SEND_ID, NULL));
  1850.     ADD_APPLICATION_STRING2(STR_MENU_CALLER_ID, "Caller ID", "Menu Item String for Caller Id");
  1851.     ADD_APPLICATION_STRING2(
  1852.         STR_CLI_SET_NETWORK,
  1853.         "Set By Network",
  1854.         "String for allowing user to set caller id by network");
  1855.     ADD_APPLICATION_STRING2(STR_CLI_HIDE_ID, "Hide Id", "String for allowing user to set CLIR");
  1856.     ADD_APPLICATION_IMAGE2(STR_CLI_HIDE_ID, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "Manage Calls Caller Id Hide");
  1857.     ADD_APPLICATION_STRING2(STR_CLI_SEND_ID, "Send Id", "String for allowing user to set CLIP");
  1858.     ADD_APPLICATION_IMAGE2(IMG_CALLER_ID_TITLE_ICN, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "Manage Calls Caller Id ");
  1859.     ADD_APPLICATION_IMAGE2(IMG_CLIP_STATUS_TITLE, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "CLIP Status Title Icon");
  1860.     ADD_APPLICATION_IMAGE2(IMG_CLIR_STATUS_TITLE, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "CLIR Status Title Icon");
  1861.     ADD_APPLICATION_STRING2(STR_CLIP_STATUS_ACT_TXT, "Call ID Presentation Provided", "Message Text for CLIP Status");
  1862.     ADD_APPLICATION_STRING2(
  1863.         STR_CLIP_STATUS_NACT_TXT,
  1864.         "Call ID Presentation Not Provided",
  1865.         "Message Text for CLIP Status");
  1866.     ADD_APPLICATION_STRING2(STR_CLIR_STATUS_ACT_TXT, "Call ID Restriction Provided", "Message Text for CLIR Status");
  1867.     ADD_APPLICATION_STRING2(
  1868.         STR_CLIR_STATUS_ACT_PERMANENTLY_TXT,
  1869.         "Call ID Restriction Activated Permantly",
  1870.         "Message Text for CLIR Status");
  1871.     ADD_APPLICATION_STRING2(
  1872.         STR_CLIR_STATUS_ACT_DEFAULT_RESTRICT_TXT,
  1873.         "Call ID Restriction Activated By Default",
  1874.         "Message Text for CLIR Status");
  1875.     ADD_APPLICATION_STRING2(
  1876.         STR_CLIR_STATUS_ACT_DEFAULT_ALLOW_TXT,
  1877.         "Call ID Restriction Not Activated By Default",
  1878.         "Message Text for CLIR Status");
  1879.     ADD_APPLICATION_STRING2(
  1880.         STR_CLIR_STATUS_NACT_TXT,
  1881.         "Call ID Restriction Not Provided",
  1882.         "Message Text for CLIR Status");
  1883.     ADD_APPLICATION_STRING2(STR_COLP_STATUS_ACT_TXT, "Connected Line ID Presentation Provided", "COLP Status Title");
  1884.     ADD_APPLICATION_STRING2(STR_COLR_STATUS_ACT_TXT, "Connected Line ID Restriction Provided", "COLR Status Title");
  1885.     ADD_APPLICATION_STRING2(
  1886.         STR_COLP_STATUS_NACT_TXT,
  1887.         "Connected Line ID Presentation Not Provided",
  1888.         "COLP Status Title");
  1889.     ADD_APPLICATION_STRING2(
  1890.         STR_COLR_STATUS_NACT_TXT,
  1891.         "Connected Line ID Restriction Not Provided",
  1892.         "COLR Status Title");
  1893.         
  1894.     ADD_APPLICATION_STRING2(STR_CNAP_STATUS_ACT_TXT, "Calling Name Presentation Provided", "CNAP Status Title");
  1895.     ADD_APPLICATION_STRING2(STR_CNAP_STATUS_NACT_TXT, "Calling Name Presentation Not Provided", "CNAP Status Title");
  1896.     ADD_APPLICATION_STRING2(STR_CCBS_STATUS_TITLE, "CCBS Status", "CCBS Status Title");
  1897.     ADD_APPLICATION_STRING2(STR_CCBS_STATUS_ACT_TXT, "CCBS Provided", "CCBS Status Title");
  1898.     ADD_APPLICATION_STRING2(STR_CCBS_STATUS_NACT_TXT, "CCBS Not Provided", "CCBS Status Title");
  1899.     ADD_APPLICATION_IMAGE2(IMG_CLIP_SETUP_REQ_LSK_ERR, CUST_IMG_BASE_PATH "\\EmptyImage.bmp", "CLIR Status Title Icon");
  1900.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CALLER_ID, HighlightCALLSETCallerId);
  1901.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CID_SET_NWK, HiliteSetByNwk);
  1902.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CID_SHOW_ID, HiliteShowCid);
  1903.     ADD_APPLICATION_MENUITEM_HILITE_HANDLER(MENU_CID_HIDE_ID, HiliteHideCid);
  1904. }
  1905. /*****************************************************************************
  1906.  * FUNCTION
  1907.  *  PopulateLanguageStrings
  1908.  * DESCRIPTION
  1909.  *  
  1910.  * PARAMETERS
  1911.  *  void
  1912.  * RETURNS
  1913.  *  void
  1914.  *****************************************************************************/
  1915. void PopulateLanguageStrings(void)
  1916. {
  1917.     /*----------------------------------------------------------------*/
  1918.     /* Local Variables                                                */
  1919.     /*----------------------------------------------------------------*/
  1920.     /*----------------------------------------------------------------*/
  1921.     /* Code Body                                                      */
  1922.     /*----------------------------------------------------------------*/
  1923.     ADD_APPLICATION_STRING2(STR_MENU_LANGUAGE, "Language", "Language Menu String");
  1924.     ADD_APPLICATION_STRING2(STR_MENU_INPUT_METHOD, "Prefered Input Methods", "menu string for phone setup");
  1925.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_U_ABC, "Multitap ABC", "Input methods list Option 1");
  1926.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_L_ABC, "Multitap abc", "Input methods list Option 2");
  1927.     
  1928. #if defined(__MMI_MULTITAP_FIRST_UPPERCASE__)
  1929.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_FIRST_U_ABC,"Multitap Abc", "Input methods list Option Multitap Abc");
  1930. #endif
  1931.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_SMART_U_ABC, "Smart ABC", "Input methods list Option 3");
  1932.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_SMART_L_ABC, "Smart abc", "Input methods list Option 4");
  1933. #if defined(__MMI_SMART_FIRST_UPPERCASE__)
  1934.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_SMART_FIRST_U_ABC, "Smart Abc", "Input methods list Option 3");
  1935. #endif
  1936. #if defined(__MMI_MULTITAP_HINDI__)
  1937.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_HINDI, "Multitap Hindi", "Input methods Option Hindi");
  1938. #endif 
  1939. #if defined(__MMI_MULTITAP_MARATHI__)  
  1940.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_MARATHI, "Multitap Marathi", "Input methods Option Marathi");
  1941. #endif 
  1942. #if defined (__MMI_MULTITAP_TAMIL__) 
  1943.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_TAMIL, "Multitap Tamil", "Input methods Option Tamil");
  1944. #endif 
  1945. #if defined (__MMI_MULTITAP_BENGALI__)  
  1946.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_BENGALI, "Multitap Bengali", "Input methods Option Bengali");
  1947. #endif 
  1948. #if defined (__MMI_MULTITAP_ASSAMESE__)  
  1949.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_ASSAMESE, "Multitap Assamese", "Input methods Option Assamese");
  1950. #endif 
  1951. #if defined (__MMI_MULTITAP_PUNJABI__) 
  1952.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_PUNJABI, "Multitap Punjabi", "Input methods Option Punjabi");
  1953. #endif
  1954. #if defined (__MMI_MULTITAP_TELUGU__) 
  1955.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_TELUGU, "Multitap Telugu", "Input methods Option Telugu");
  1956. #endif
  1957. #if defined (__MMI_MULTITAP_KANNADA__) 
  1958.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_KANNADA, "Multitap Kannada", "Input methods Option Kannada");
  1959. #endif
  1960. #if defined (__MMI_MULTITAP_MALAYALAM__) 
  1961.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_MALAYALAM, "Multitap Malayalam", "Input methods Option Malayalam");
  1962. #endif
  1963. #if defined (__MMI_MULTITAP_GUJARATI__) 
  1964.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_GUJARATI, "Multitap Gujarati", "Input methods Option Gujarati");
  1965. #endif
  1966. #if defined (__MMI_MULTITAP_ORIYA__) 
  1967.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_ORIYA, "Multitap Oriya", "Input methods Option Oriya");
  1968. #endif
  1969. #if defined(__MMI_MULTITAP_HEBREW__)
  1970.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_HEBREW, "Multitap Hebrew", "Input methods Option HEBREW");
  1971. #endif 
  1972. #if defined (__MMI_MULTITAP_THAI__)
  1973.     ADD_APPLICATION_STRING2(STR_INPUT_METHOD_MULTITAP_THAI, "Multitap Thai", "Input methods Option Thai");
  1974. #endif 
  1975. #if defined(__MMI_MULTITAP_SPANISH__)
  1976.     ADD_APPLICATION_STRING2(
  1977.         STR_INPUT_METHOD_MULTITAP_U_SPANISH,
  1978.         "Multitap ES",
  1979.         "Input methods list Option Multitap SPANISH");
  1980.     ADD_APPLICATION_STRING2(
  1981.         STR_INPUT_METHOD_MULTITAP_L_SPANISH,
  1982.         "Multitap es",
  1983.         "Input methods list Option Multitap spanish");
  1984.     #if defined(__MMI_MULTITAP_FIRST_UPPERCASE__)
  1985.         ADD_APPLICATION_STRING2(
  1986.             STR_INPUT_METHOD_MULTITAP_FIRST_U_SPANISH,
  1987.             "Multitap Es",