comparison src/ui3/bmi/mmiBookShared.c @ 421:6a4d9f47793e

src/ui3/bmi: file renames to make the case consistent
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Jan 2018 03:28:53 +0000
parents src/ui3/bmi/MmiBookShared.c@e8ddbb0837ed
children 8587eb7bd2d5
comparison
equal deleted inserted replaced
420:e8ddbb0837ed 421:6a4d9f47793e
1 /*******************************************************************************
2
3 CONDAT (UK)
4
5 ********************************************************************************
6
7 This software product is the property of Condat (UK) Ltd and may not be
8 disclosed to any third party without the express permission of the owner.
9
10 ********************************************************************************
11
12 $Project name: Basic MMI
13 $Project code: BMI (6349)
14 $Module: PhoneBook
15 $File: MmiBookShared.c
16 $Revision: 1.0
17
18 $Author: Condat(UK)
19 $Date: 25/10/00
20
21 ********************************************************************************
22
23 Description:
24
25 Shared definitions of data elements are made in here
26 and accessed via the primitive operations supplied
27
28 ********************************************************************************
29
30 $History: MmiBookShared.c
31
32
33 Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat)
34 Description: Support from MMI to configure drives (NOR, NORMS, NAND, TFLASH)
35 is added as part of SBuild 2.3.0 Migration
36
37 April 03 2007 ER:OMAPS00116772 x0061088(Prachi)
38 Description:Support of 1.3 Mpixel camera on Locosto Plus
39 Solution: Auto Save option is added for the Camera Application
40
41 Apr 03, 2007 ER: OMAPS00122561 x0pleela
42 Description: [ACI] Phone lock feature has to be supported by ACI
43 Solution: Phone Lock ER implementation
44
45 Mar 28, 2007 ER: OMAPS00106188 x0039928
46 Description: Align Midi application menu choices and audio Player menu choices
47
48 Nov 10, 2006 DRT: OMAPS000103354 x0039928
49 Description: Delete all failure in LDN Phonebook
50 Solution: Delete all for Recent list is mapped to bookDeleteRec instead of bookDeleteAll.
51
52 Sep 26, 2006 DR: OMAPS00095524 x0pleela
53 Description:Implement 2 missing SIM Lock types
54 Solution: Added new category "Blocked Network" as menu item in menuCategory and menuBootupCatList
55
56 Oct 8 2006 OMAPS00097714 x0039928(sumanth)
57 TTY HCO/VCO options in MMI
58
59 xashmic 27 Sep 2006, OMAPS00096389
60 ENH - a) Providing static menu for re-selection of enum options for enumeration
61 b) Popup menu displayed on connect event, can be enabled or disabled via menu option
62
63 Sep 11, 2006 DR: OMAPS00094182 xrashmic
64 Description: midi and mp3 files is not being populated on accessing corresponding menu, but only during bootup
65 Solution: Populate files on accessing the "browse files" list
66 xrashmic 9 Sep 2006, OMAPS00092732
67 USBMS ER: Added menu in phone setting to set or unset PS shutdown while enumeration of USB MS
68 On USB connect event, a list of possible ports that can be enumerated would be displayed.
69
70 Aug 18, 2006 ER: OMAPS00089840 x0039928
71 Description: Changes to be made in MMI for the functionality "Delete all" ADN entries
72 Solution: A new menu item "Delete All" is added in the phone book menu.
73
74 Mar 15, 2006 ER: OMAPS00067709 x0pleela
75 Description: Voice Buffering implementation on C+ for PTT via PCM API
76 Solution: Defined new sub menu items for PCM voice memo and Voice buffering
77 Added newly created sub menu items as menu items into "Application" menu
78
79 Feb 24, 2006 ER: OMAPS00067709 x0pleela
80 Description: Voice Buffering implementation on C+ for PTT via PCM API
81 Solution: Added new menu items for PCM voice memo and Voice buffering
82 Added PCM Voice memo and Voice buffering menu items into "Application" menu
83 Defined functions GetPcmVoiceMemoMenu, GetVoiceBufferingMenu to populate the
84 PCM Voice memo and Voice buffering menus
85
86 Jun 19, 2006 DR: OMAPS00070657 xdeepadh
87 Description: MMI allows to MP3 and MIDI play during an active call
88 Solution: From the active call screen, only selected applications can be accessed now.
89
90 July 21, 2006 ER: OMAPS00087586, OMAPS00087587 x0pleela
91 Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW
92 OMAPS00087587: Time Penaly feature extend handset security
93 Solution:Made the following changes
94 1) Included the header file "MmiPins.h"
95 2) Added new menu item "Master unlock" for menu menuMEPersonalization
96 3) Defined new menu "menuBootupCatList" to display during bootup for unlocking categories or unblocking ME
97 4) New function SIMPCategoryListAttributes(): function to call the new menu "menuBootupCatList" from any file
98
99 May 30, 2006 DR: OMAPS00070657 x0pleela
100 Description: CPHS feature on Locosto-Lite
101 Solution: For ALS feature,
102 a) Defined a new menu item for the user to customize the strings (line1 and line2)
103
104 Apr 24, 2006 ERT: OMAPS00067603 x0043642
105 Description: Engineering mode
106 Solution: Added new engineering mode menus to call respective functions.
107
108 Apr 06, 2006 ERT: OMAPS00070660 x0039928(sumanth)
109 Description: Need to reduce flash foot-print for Locosto Lite
110 Solution: Voice Memo feature is put under the flag #ifndef FF_NO_VOICE_MEMO to compile
111 out voice memo feature if the above flag is enabled.
112
113 Nov 14, 2005 REF: OMAPS00044445 xdeepadh
114 Description: Implementation of Test Menu for AAC
115 Solution: The existing MP3 test Application has been enhanced to support the AAC file testing.
116
117 Sep 27,2005 REF: SPR 34402 xdeepadh
118 Bug:Mono option is always highlighted even when Stereo is selected
119 Fix:The channel setting will be saved in the FFS, which will be retrieved later
120 and the selected channel will be higlighted.
121
122 Jul 18, 2005 REF: SPR 31695 xdeepadh
123 Bug:Problems with MP3 test application
124 Fix:The window handling of MP3 Test Application has been done properly.
125
126
127 Aug 22, 2005 REF: ENH 31154 xdeepadh
128 Description: Application to Test Camera
129 Solution: Implemeted the Fileviewer to view the jpeg images.Camera Application to
130 preview,capture and save image has been implemented.
131
132 July 19, 2005 REF: CRR LOCOSTO-ENH-28173 xpradipg
133 Description: To provide MMI Support to enable/disable/change password and
134 query all the Personalization locks
135 Solution: Integration of the changes for the same provided by the soldel
136 team
137
138 June 07, 2005 REF: CRR MMI-FIX-31545 x0021334
139 Issue description: SIM: wrong behavior when FDN is not allocated in SST
140 Solution: Before displaying the FDN options, a check is made if FDN is allocated. Only if
141 FDN is allocated, the options are displayed.
142 May 11 2005 REF: MMI-SPR-29887 x0012849
143 To Implement the deferred MMS retrieval.
144
145 May 04, 2005 REF: CRR 30285 x0021334
146 Description: SMS Status Request in idle and dedicated mode (using Menu) setting does not work
147 Solution: status of sms status request is read and focus is set accrodingly.
148
149 Apr 06, 2005 REF: ENH 30011 xdeepadh
150 Description: Replacing the Test Application compilation flags with new flags.
151 Solution: The existing flags for Camera and MP3 test application have beeen replaced with the
152 new compilation flags,FF_MMI_TEST_CAMERA and FF_MMI_TEST_MP3 respectively.
153
154 Apr 05, 2005 REF: ENH 29994 xdeepadh
155 Description: Implementation of Generic Midi Ringer and Modification of existing Midi Test Application
156 Solution: Generic Midi Ringer and Midi Test Application were implemented.
157
158 March 2, 2005 REF: CRR 11536 x0018858
159 Description: Reply path not supported while sending a reply.
160 Solution: Added menu option for the reply path.
161
162
163 xreddymn Jan-06-2004 MMI-SPR-27618: Display list of WAP push messages before displaying the Options list.
164
165 Dec 08, 2004 REF: CRR MMI-SPR-27284
166 Description: MIDI Player: Back Key malfunctions in MIDI application.
167 Solution: A window is created to hold list window. When the user presses Back key, the newly
168 created window is deleted along with list window, bringing the control back to Midi options
169 screen.
170
171 Nov 29, 2004 REF: CRR 25051 xkundadu
172 Description: INCALL SCREEN ?ADJUSTING THE VOLUME
173 Fix: Added volume level list linked to up/down keys.
174 User can select the speaker volume among those levels.
175
176 MMI-SPR-25333 - xreddymn Nov-09-2004
177 Modified Messaging menu to seperate SMS and MMS/EMS related features
178
179 CRR: 25291 - xrashmic 14 Oct 2004
180 Description: The sent EMS is stored in unsent folder.
181 Solution: The Outbox has been removed, instead we now have Sent folder for the sent EMS
182
183 Jul 29, 2004 REF: CRR 20898 xkundadu
184 Description: No identification for user whether 'Auto-Answer' is On/Off
185 Solution: The menu focus will be on the 'On' menu if the 'Auto-Answer'
186 is enabled, otherwise focus will be on 'Off' menu item.
187 Changed 'submenu' to 'menuItem' to call a function,which set the
188 focus to the selected item.
189
190 Jun 02, 2004 CRR:13649 - xpradipg-SASKEN
191 subject: CBA : Management of password
192 solution: password is promted on selecting activation/deactivation option as against the previous
193 case where it was shown up on selecting Call
194 May 27, 2004 REF: CRR 19186 Deepa M.D
195 Bug : "Setting" menu not available during a call
196 Fix : "Setting" menu has been provided to set the SMS settings, during the active call
197 May 10, 2004 REF: CRR 15753 Deepa M.D
198 Menuitem provided to set the validity period to maximum.
199 Issue Number : SPR#12822 on 31/03/04 by v vadiraj
200 25/10/00 Original Condat(UK) BMI version.
201
202
203 Mar 28, 2006 REF:ER OMAPS00071798 x0043642
204 Added new options in BMI to accept the value for tty audio mode,
205 and the accepted value is passed as parameter in function call sAT_PercentCTTY
206
207 June 09, 2006 REF:ER OMAPS00081264 x0020906
208 Added menu string for 12k and 24k PCM rate.
209
210 $End
211 *******************************************************************************/
212
213
214 /*******************************************************************************
215
216 Include Files
217
218 *******************************************************************************/
219
220
221 #define ENTITY_MFW
222
223 /* includes */
224 #include <string.h>
225 #include <stdio.h>
226 #include <stdlib.h>
227
228 #if defined (NEW_FRAME)
229
230 #include "typedefs.h"
231 #include "vsi.h"
232 #include "pei.h"
233 #include "custom.h"
234 #include "gsm.h"
235 /* BEGIN ADD: Sumit : Req ID: : 31-Mar-2005*/
236 #ifndef NEPTUNE_BOARD
237 /* END ADD: Sumit : Req ID: : 31-Mar-2005*/
238 #include "rv_swe.h"
239 /* BEGIN ADD: Sumit : Req ID: : 31-Mar-2005*/
240 #endif
241 /* END ADD: Sumit : Req ID: : 31-Mar-2005*/
242
243 #else
244
245 #include "STDDEFS.H"
246 #include "custom.h"
247 #include "gsm.h"
248 #include "vsi.h"
249
250 #endif
251 #include "mfw_sys.h"
252
253 #include "mfw_mfw.h"
254 #include "mfw_win.h"
255 #include "mfw_kbd.h"
256 #include "mfw_lng.h"
257 /* SPR#1428 - SH -New Editor changes */
258 #ifndef NEW_EDITOR
259 #include "mfw_edt.h"
260 #endif
261 #include "mfw_icn.h"
262 #include "mfw_mnu.h"
263 #include "mfw_tim.h"
264
265 #include "mfw_sim.h"
266 #include "mfw_cm.h"
267 #include "mfw_nm.h"
268 #include "mfw_phb.h"
269 #include "mfw_mme.h"
270 #include "mfw_sat.h"
271 #include "mfw_sms.h"
272 #ifdef FF_MMI_TEST_MIDI
273 #include "mfw_midi.h"
274 #endif //FF_MMI_TEST_MIDI
275 // Apr 06, 2005 REF: ENH 30011 xdeepadh
276 #ifdef FF_MMI_TEST_CAMERA
277 #include "mfw_cam.h"
278 #endif //FF_MMI_TEST_CAMERA
279
280 #ifdef FF_MMI_CAMERA_APP
281 #include "mfw_camapp.h"
282 #endif //FF_MMI_TEST_CAMERA
283
284 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- Start */
285 #include "mfw_fm.h"
286 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- End */
287
288 #include "dspl.h"
289
290 #include "ksd.h"
291 #include "psa.h"
292
293 #include "MmiMain.h"
294 #include "MmiBookController.h"
295 #include "MmiDummy.h"
296 #include "MmiDialogs.h"
297 #include "MmiLists.h"
298 #include "MmiMenu.h"
299 #include "mmiCall.h"
300 #include "Mmiicons.h"
301 #include "MmiIdle.h"
302
303 #include "MmiSoftKeys.h"
304 #include "MmiSounds.h"
305 #include "MmiIdle.h"
306 #include "MmiNetwork.h"
307 #include "mmiSat_i.h"
308 #include "MmiAoc.h"
309
310 #include "gdi.h"
311 #include "audio.h"
312
313 #include "cus_aci.h"
314 #include "MmiTimers.h"
315
316 /* SPR#1428 - SH -New Editor changes */
317 #ifdef NEW_EDITOR
318 #include "ATBCommon.h"
319 #include "ATBDisplay.h"
320 #include "ATBEditor.h"
321 #include "AUIEditor.h"
322 #else
323 #include "MmiEditor.h"
324 #endif
325
326 #include "MmiBookShared.h"
327 #include "MmiBookController.h"
328 #include "MmiResources.h"
329
330 #include "MmiNetwork.h"
331 #include "MmiSettings.h"
332 #include "MmiServices.h"
333 #include "MmiPins.h"
334 #include "MmiTimeDate.h"
335 #include "mmiSmsBroadcast.h"
336 #include "MmiSimToolkit.h"
337 #include "mmiSmsMenu.h"
338 #include "mmismssend.h"
339 #include "MmiCalculatorMain.h"
340
341
342 #ifdef NEPTUNE_BOARD
343 #ifdef MMI_POWER_MANAGEMENT_TEST
344 EXTERN int mmi_PowerManagement(MfwMnu* m, MfwMnuItem* i);
345 #endif
346 #endif
347
348 #include "AUIWapext.h"
349 #include "MmiSounds.h"
350 #include "MmiLists.h"
351 #include "MmiTimers.h"
352
353 #ifndef FF_NO_VOICE_MEMO
354 #include "MmiVoiceMemo.h"
355 #endif
356
357 //Apr 05, 2005 REF: ENH 29994 xdeepadh
358 #ifdef FF_MMI_TEST_MIDI
359 #include "MmiMidiTest.h"
360 #endif//#ifdef FF_MMI_TEST_MIDI
361 //Apr 06, 2005 REF: ENH 30011 xdeepadh
362 #ifdef FF_MMI_TEST_CAMERA
363 #include "MmiCameraTest.h"
364 #endif //FF_MMI_TEST_CAMERA
365 #ifdef FF_MMI_CAMERA_APP
366 #include "MmiCameraApp.h"
367 #endif //FF_MMI_TEST_CAMERA
368 // Nov 14, 2005 REF: OMAPS00044445 xdeepadh
369 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC)
370 #include "MmiMP3Test.h"
371 #endif//FF_MMI_TEST_MP3
372 // Aug 22, 2005 REF: ENH 31154 xdeepadh
373 #ifdef FF_MMI_FILE_VIEWER
374 #include "MmiFileViewer.h"
375 #endif
376
377 #include "Mmiicons.h"
378 #include "MmiAoc.h"
379
380 #if defined (MMI_EM_ENABLED) || defined (TI_PS_FF_EM)
381 #include "MmiEm.h" /*SPR1209*/
382 #endif
383
384
385 #include "MmiMenu.h"
386
387 /*BEGIN ADD: RAVI*/
388 #ifdef FF_MMI_MULTIMEDIA
389 #include "MmiMultimediaApp.h"
390 #endif
391 /* END ADD: RAVI*/
392
393
394 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
395 #include "mmimmsmenu.h"
396 #endif
397
398 #ifdef MMIGAME
399 #include "Mmigame.h"
400 #endif
401 /* SPR890 - SH - Test mode menu */
402 #ifdef MMI_TEST_MODE
403 #include "MmiTest.h"
404 #endif
405
406 #include "MmiCPHS.h"
407 #include "MmiBand.h"
408 #ifdef MMI_GPRS_ENABLED
409 #include "MmiGprs.h"
410 #endif
411
412 #ifdef BTE_MOBILE
413 #include "mmiBluetooth.h"
414 #endif
415
416 extern int M_exeSendNew(MfwMnu* m, MfwMnuItem* i); // MZ
417 extern int M_exeRead(MfwMnu* m, MfwMnuItem* i); // MZ 6/2/01
418 /*OMAPS00098881(removing power variant) a0393213(Prabakar)*/
419 #ifdef FF_POWER_MANAGEMENT
420 extern int screenUpdateOn(MfwMnu* m, MfwMnuItem* i);
421 extern int screenUpdateOff(MfwMnu* m, MfwMnuItem* i);
422 #endif
423 #include "mmiColours.h"
424 #include "mmiColours.h"
425
426 #ifdef FF_MMI_FILEMANAGER
427 #include "mmifilemanager.h"
428 #endif
429
430
431
432 extern void soundsSetVolume(void);
433 extern int SmsSend_R_OPTExeCentreEdit(MfwMnu* m, MfwMnuItem* i);
434
435 #ifdef SIM_PERS
436 //x0pleela 20 July, 2006 ER: OMAPS00087586, OMAPS00087587
437 #include "MmiPins.h"
438 #endif
439
440 /*******************************************************************************
441
442 Static members
443
444 *******************************************************************************/
445 /*GW Changed all submenus to use the same colour definitions 'COLOUR_LIST_SUBMENU' */
446
447
448
449 /* menu buffers
450 */
451
452 /*This should cause an error if the size is changed
453 if NAME_LIST_SIZE is not 3 or 10 then the structure is incorrect and must be updated*/
454 #ifndef LSCREEN
455 static const int zz_errCatcher[6-NAME_LIST_SIZE] = {1,2,3};
456 #else
457 /* x0039928 - Lint warnings removal
458 static const int zz_errCatcher[20-NAME_LIST_SIZE] = {1,2,3,4,5,6,7,8,9,10}; */
459 #endif
460
461 /*SPR2123, MC removed static phonebook list menu data structure
462 and replaced with pointers which are dynamically allocated*/
463
464 static MfwMnuAttr* phonebook_list = NULL;
465 static MfwMnuItem* items_in_phonebook_list = NULL;
466 static char** menu_item_strings = NULL;
467 /*SPR2123, end*/
468
469 /* Global text message structure
470 */
471 static int textMessage;
472
473 #ifdef MMI_TEST_MODE
474 EXTERN UBYTE testSelected;
475 #endif
476
477 extern MfwIcnAttr mainIconFrame1 ;
478
479
480 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- Start */
481
482 static USHORT mmi_check_tflash( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi );
483 static USHORT mmi_check_nand( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi );
484 static USHORT mmi_check_nor( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi );
485 static USHORT mmi_check_norms( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi );
486
487 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- End */
488
489
490 /******************************************************************************
491
492 Menu Definitions
493
494 *******************************************************************************/
495
496 #define DEF_MENU_STYLE (MNU_LEFT | MNU_LIST | MNU_CUR_LINE)
497 #define DEF_COLOUR_MENU_STYLE (MNU_LEFT | MNU_LIST_COLOUR | MNU_CUR_LINE)
498 #define DEF_MENU_ICON_LIST_STYLE (MNU_LEFT | MNU_LIST_ICONS | MNU_CUR_LINE)
499 #define BEGIN_MENU( name ) \
500 static const MfwMnuItem name##Items [] = {
501
502 #define MENU_ITEM_ICON( icon, msg, handler, attrFunction ) \
503 { icon,0,0, (char*) msg, 0, (MenuFunc)handler, attrFunction }
504
505 #define MENU_ITEM( msg, handler, attrFunction ) \
506 { 0,0,0, (char*) msg, 0, (MenuFunc)handler, attrFunction }
507
508 #define MENU_ITEM_SUB_MENU( msg, sub_menu,handler, attrFunction ) \
509 { 0,0,0, (char*) msg, (MfwMnuAttr*) &sub_menu,(MenuFunc)handler, attrFunction }
510
511
512 #define SUB_MENU( msg, sub_menu, attrFunction ) \
513 { 0,0,0, (char*) msg, (MfwMnuAttr*) &sub_menu, 0, attrFunction }
514
515 #define SUB_MENU_ICON( icon, msg, sub_menu, attrFunction ) \
516 { icon,0,0, (char*) msg, (MfwMnuAttr*) &sub_menu, 0, attrFunction }
517
518 #define END_MENU( name, area, col ) \
519 }; \
520 \
521 static const MfwMnuAttr name = { \
522 (MfwRect *) &area, DEF_MENU_STYLE, (UBYTE) -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, TxtNull, NULL, MNUATTRSPARE \
523 };
524
525 #define END_MENU_MULTICOLOUR( name, area, col, hdrId ) \
526 }; \
527 \
528 static const MfwMnuAttr name = { \
529 (MfwRect *) &area, DEF_COLOUR_MENU_STYLE, (UBYTE) -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, hdrId, NULL, MNUATTRSPARE \
530 };
531
532 #define END_MENU_HEADER( name, area, col, hdrId ) \
533 }; \
534 \
535 static const MfwMnuAttr name = { \
536 (MfwRect *) &area, DEF_MENU_STYLE, (UBYTE) -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, hdrId , NULL, MNUATTRSPARE\
537 };
538
539 #define END_MENU_ICON_LIST( name, area, col, bitmap ) \
540 }; \
541 \
542 static const MfwMnuAttr name = { \
543 (MfwRect *) &area, DEF_MENU_ICON_LIST_STYLE, (UBYTE) -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, TxtNull, bitmap, MNUATTRSPARE \
544 };
545
546 #define DEF_MENU_PAGED_STYLE (MNU_LEFT | MNU_HDR_CENTER | MNU_PAGED | MNU_CUR_LINE)
547 #define BEGIN_ICON_MENU( name ) \
548 static const MfwMnuItem name##Items [] = {
549
550 #define MENU_ICON_ITEM( icon, msg, handler, attrFunction ) \
551 { (MfwIcnAttr *)icon,0,0, (char*) msg, 0, (MenuFunc)handler, attrFunction }
552
553
554 #define SUB_ICON_MENU( icon,msg, sub_menu, attrFunction ) \
555 { (MfwIcnAttr *)icon,0,0, (char*) msg, (MfwMnuAttr*) &sub_menu, 0, attrFunction }
556
557 #define END_ICON_MENU( name, area, col, bitmap ) \
558 }; \
559 \
560 static const MfwMnuAttr name = { \
561 (MfwRect *) &area, DEF_MENU_PAGED_STYLE, (UBYTE) -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, TxtNull , bitmap, MNUATTRSPARE\
562 };
563 #define END_MULTIPLE_ICON_MENU( name, area, fCol, bCol ) \
564 }; \
565 \
566 static const MfwMnuAttr name = { \
567 (MfwRect *) &area, (MNU_LEFT | MNU_PAGE_ICONS | MNU_CUR_LINE), (UBYTE) -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, TxtNull, NULL, MNUATTRSPARE \
568 };
569
570
571 /*SPR949 - SH - new macros. If the first item in a menu is a _SELECT, then the selected
572 value of this menu will be stored in the provided UBYTE variable 'var'.*/
573 #define MENU_ITEM_SELECT( msg, handler, attrFunction, var ) \
574 { 0,(void *)&var,0, (char *) msg, 0, (MenuFunc)handler, attrFunction }
575
576 #define MENU_ITEM_SUB_MENU_SELECT( msg, sub_menu,handler, attrFunction, var ) \
577 { 0,(void *)&var,0, (char *) msg, (MfwMnuAttr*) &sub_menu,(MenuFunc)handler, attrFunction }
578
579 #define SUB_MENU_SELECT( msg, sub_menu, attrFunction, var ) \
580 { 0,(void *)&var,0, (char *) msg, (MfwMnuAttr*) &sub_menu, 0, attrFunction }
581 /* end SPR949 */
582
583 #ifdef MMI_TTY_ENABLED
584 /* SPR#1352 - SH - TTY menu */
585 BEGIN_MENU( menuTTY )
586 MENU_ITEM( TxtOff, call_tty_menuselect, item_flag_none),
587 MENU_ITEM( TxtAlwaysOn, call_tty_menuselect, item_flag_none),
588 MENU_ITEM( TxtOnNextCall, call_tty_menuselect, item_flag_none)
589 END_MENU( menuTTY, menuListArea, COLOUR_LIST_SUBMENU1 )
590 /*x0039928 OMAPS00097714 HCO/VCO option - menu items added*/
591 #ifdef FF_TTY_HCO_VCO
592 BEGIN_MENU( menucoTTYAlways )
593 MENU_ITEM( TxtTTYAll, call_tty_co_menuselect_always, item_flag_none),
594 MENU_ITEM( TxtTTYVco, call_tty_co_menuselect_always, item_flag_none),
595 MENU_ITEM( TxtTTYHco, call_tty_co_menuselect_always, item_flag_none)
596 END_MENU( menucoTTYAlways, menuListArea, COLOUR_LIST_SUBMENU1 )
597
598 BEGIN_MENU( menucoTTYNextCall )
599 MENU_ITEM( TxtTTYAll, call_tty_co_menuselect_nextcall, item_flag_none),
600 MENU_ITEM( TxtTTYVco, call_tty_co_menuselect_nextcall, item_flag_none),
601 MENU_ITEM( TxtTTYHco, call_tty_co_menuselect_nextcall, item_flag_none)
602 END_MENU( menucoTTYNextCall, menuListArea, COLOUR_LIST_SUBMENU1 )
603 #endif
604 #endif
605
606
607 #if defined (TI_PS_FF_EM) || defined (MMI_EM_ENABLED)
608 /*Engineering mode menus - MC SPR1209*/
609 BEGIN_MENU( menuEngMode )
610 #ifndef NEPTUNE_BOARD
611 MENU_ITEM( TxtMobileInfo, Mmi_em_display_mobile_info_data, item_flag_none ),
612 MENU_ITEM( TxtServingCell, Mmi_em_display_serving_cell_params, item_flag_none ),
613 MENU_ITEM( TxtNeighbourCell, Mmi_em_display_neighbour_cell_params, item_flag_none ),
614 MENU_ITEM( TxtLocation, Mmi_em_display_location_params, item_flag_none ),
615 MENU_ITEM( TxtCiphHopDTX, Mmi_em_display_ciph_hop_DTX_params, item_flag_none ),
616 MENU_ITEM( TxtGPRS, Mmi_em_display_GPRS_params, item_flag_none )
617 #else /* NEPTUNE BOARD */
618 MENU_ITEM( TxtServingCell, Mmi_em_start, item_flag_none ),
619 MENU_ITEM( TxtServingCellRF, Mmi_em_start, item_flag_none ),
620 MENU_ITEM( TxtServingChannel, Mmi_em_start, item_flag_none ),
621 MENU_ITEM( TxtAmrInfo, Mmi_em_start, item_flag_none ),
622 MENU_ITEM( TxtSNDCPInfo, Mmi_em_start, item_flag_none ),
623 MENU_ITEM( TxtUserLevelInfo, Mmi_em_start, item_flag_none ),
624 MENU_ITEM( TxtLLCTracing, Mmi_em_start, item_flag_none ),
625 MENU_ITEM( TxtRlcMacInfo, Mmi_em_start, item_flag_none ),
626 MENU_ITEM( TxtGMMInfo, Mmi_em_start, item_flag_none ),
627 MENU_ITEM( TxtCallStatus, Mmi_em_start, item_flag_none ),
628 MENU_ITEM( TxtLayerMessages, Mmi_em_start, item_flag_none ),
629 MENU_ITEM( TxtNeighbourCell, Mmi_em_start, item_flag_none ),
630 MENU_ITEM( TxtWCDMALayerMessages, Mmi_em_start, item_flag_none ),
631 MENU_ITEM( Txt3GInfo, Mmi_em_start, item_flag_none ),
632 MENU_ITEM( TxtPacketDataParameter, Mmi_em_start, item_flag_none ),
633
634 #endif /* ifdef NEPTUNE BOARD */
635 END_MENU( menuEngMode, menuListArea, COLOUR_LIST_SUBMENU )
636 /*MC end*/
637 #endif
638
639
640 /* SPR#1112 - SH - Internal phonebook menus */
641
642 #ifdef INT_PHONEBOOK
643
644 BEGIN_MENU( menuSelectBook )
645 MENU_ITEM( TxtSIM, bookSelectBookSIM, item_flag_none ),
646 MENU_ITEM( TxtPhone, bookSelectBookPhone, item_flag_none ),
647 END_MENU( menuSelectBook, menuListArea, COLOUR_LIST_SUBMENU )
648
649 BEGIN_MENU( menuCopy )
650 MENU_ITEM( TxtThisEntry, bookCopyEntry, item_flag_none ),
651 MENU_ITEM( TxtAll, bookCopyAll, item_flag_none ),
652 END_MENU( menuCopy, menuListArea, COLOUR_LIST_SUBMENU )
653
654 BEGIN_MENU( menuMove )
655 MENU_ITEM( TxtThisEntry, bookMoveEntry, item_flag_none ),
656 MENU_ITEM( TxtAll, bookMoveAll, item_flag_none ),
657 END_MENU( menuMove, menuListArea, COLOUR_LIST_SUBMENU )
658
659 #endif
660
661 #ifdef FF_WAP
662
663 /*
664 * WAP menus
665 */
666 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
667 /* Pushed message options sub-menu */
668
669 BEGIN_MENU( menuPushListOptions )
670 MENU_ITEM( TxtRead, (MenuFunc)AUI_wap_push_message_read, item_flag_none ),
671 MENU_ITEM( TxtDelete, (MenuFunc)AUI_wap_push_message_delete, item_flag_none )
672 END_MENU( menuPushListOptions, menuListArea, COLOUR_LIST_SUBMENU1 )
673
674 /* Show push messages sub-menu */
675
676 BEGIN_MENU( menuPushMessages )
677 MENU_ITEM( TxtOff, (MenuFunc)AUI_wap_push_showmessages_set, item_flag_none ),
678 MENU_ITEM( TxtOn, (MenuFunc)AUI_wap_push_showmessages_set, item_flag_none )
679 END_MENU( menuPushMessages, menuListArea, COLOUR_LIST_SUBMENU1 )
680 #endif
681
682 // Scale Images sub-menu
683
684 BEGIN_MENU( menuScaleImages )
685 MENU_ITEM( TxtOff, (MenuFunc)AUI_scaleimages_set, item_flag_none ),
686 MENU_ITEM( TxtOn, (MenuFunc)AUI_scaleimages_set, item_flag_none )
687 END_MENU( menuScaleImages, menuListArea, COLOUR_LIST_SUBMENU )
688
689 // Save History sub-menu
690
691 BEGIN_MENU( menuSaveHistory )
692 MENU_ITEM( TxtOff, (MenuFunc)AUI_savehist_set, item_flag_none ),
693 MENU_ITEM( TxtOn, (MenuFunc)AUI_savehist_set, item_flag_none )
694 END_MENU( menuSaveHistory, menuListArea, COLOUR_LIST_SUBMENU )
695
696 /* SPR#2324 - SH - GPRS/Dialup submenu */
697
698 BEGIN_MENU( menuWAPGPRSDialup )
699 MENU_ITEM( TxtGPRS, (MenuFunc)AUI_access_set, item_flag_none ),
700 MENU_ITEM( TxtDialup, (MenuFunc)AUI_access_set, item_flag_none ),
701 END_MENU( menuWAPGPRSDialup, menuListArea, COLOUR_LIST_SUBMENU )
702
703 // Security sub-menu
704
705 BEGIN_MENU( menuSecurityOption )
706 MENU_ITEM( TxtOff, (MenuFunc)AUI_security_set, item_flag_none ),
707 MENU_ITEM( TxtOn, (MenuFunc)AUI_security_set, item_flag_none )
708 END_MENU( menuSecurityOption, menuListArea, COLOUR_LIST_SUBMENU )
709
710 // Connection Type sub-menu
711
712 BEGIN_MENU( menuWAPConnectionType )
713 MENU_ITEM( TxtTemporary, (MenuFunc)AUI_connectionType_set,item_flag_none ),
714 MENU_ITEM( TxtContinuous, (MenuFunc)AUI_connectionType_set,item_flag_none )
715 END_MENU( menuWAPConnectionType, menuListArea, COLOUR_LIST_SUBMENU )
716
717 /* SPR#1983 - SH - Connection Speed sub-menu */
718
719 BEGIN_MENU( menuWAPConnectionSpeed )
720 MENU_ITEM( TxtAnalogue, (MenuFunc)AUI_connectionSpeed_set,item_flag_none ),
721 MENU_ITEM( TxtISDN9600, (MenuFunc)AUI_connectionSpeed_set,item_flag_none ),
722 MENU_ITEM( TxtISDN14400, (MenuFunc)AUI_connectionSpeed_set,item_flag_none )
723 END_MENU( menuWAPConnectionSpeed, menuListArea, COLOUR_LIST_SUBMENU1 )
724
725 //xpradipg - Aug 4: Changes for WAP 2.0 menus
726 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
727 BEGIN_MENU( MenuPPGAuthenticationOptions)
728 MENU_ITEM( TxtOff, (MenuFunc)AUI_PPGAuthentication_set, item_flag_none ),
729 MENU_ITEM( TxtOn, (MenuFunc)AUI_PPGAuthentication_set, item_flag_none )
730 END_MENU( MenuPPGAuthenticationOptions, menuListArea, COLOUR_LIST_SUBMENU )
731
732 BEGIN_MENU( MenuWirelessProfiledHTTPOptions)
733 MENU_ITEM( TxtOff, (MenuFunc)AUI_WirelessProfiledHTTP_set, item_flag_none ),
734 MENU_ITEM( TxtOn, (MenuFunc)AUI_WirelessProfiledHTTP_set, item_flag_none )
735 END_MENU( MenuWirelessProfiledHTTPOptions, menuListArea, COLOUR_LIST_SUBMENU )
736 #endif
737
738
739 /* SPR#2324 - SH - Advanced Profile Options */
740
741 BEGIN_MENU( menuAdvancedProfileOptions )
742 MENU_ITEM( TxtConnectionType, (MenuFunc)AUI_connectionType, item_flag_none ),
743 MENU_ITEM( TxtSecurity, (MenuFunc)AUI_security, item_flag_none ),
744 MENU_ITEM( TxtResponseTimer, (MenuFunc)AUI_response_timer, item_flag_none ),
745 MENU_ITEM( TxtIPAddress2, (MenuFunc)AUI_IPAddress2, item_flag_none ),
746 MENU_ITEM( TxtPort1, (MenuFunc)AUI_Port1, item_flag_none ),
747 MENU_ITEM( TxtPort2, (MenuFunc)AUI_Port2, item_flag_none )
748 //xpradipg - Aug 4, 2004: changes for WAP 2.0 menus
749 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
750 ,
751 MENU_ITEM( TxtNameServer1, (MenuFunc)AUI_NameServer1, item_flag_WAP_2_0),
752 MENU_ITEM( TxtNameServer2, (MenuFunc)AUI_NameServer2, item_flag_WAP_2_0),
753 MENU_ITEM( TxtPPGAuthentication, (MenuFunc)AUI_PPGAuthentication, item_flag_none),
754 MENU_ITEM( TxtWirelessProfiledHTTP,(MenuFunc)AUI_WirelessProfiledHTTP,item_flag_WAP_2_0)
755
756 #endif
757 END_MENU( menuAdvancedProfileOptions, menuListArea, COLOUR_LIST_SUBMENU )
758
759 /* SPR#2324 - SH - GPRS Profile Options */
760
761 BEGIN_MENU( menuGPRSProfileOptions )
762 MENU_ITEM( TxtGPRSDialupGPRS, (MenuFunc)AUI_access, item_flag_none),
763 MENU_ITEM( TxtEditName, (MenuFunc)AUI_profile_name_edit, item_flag_none ),
764 MENU_ITEM( TxtHomepage, (MenuFunc)AUI_homepage_edit, item_flag_none ),
765 MENU_ITEM( TxtISPUsername, (MenuFunc)AUI_username, item_flag_none ),
766 MENU_ITEM( TxtISPPassword, (MenuFunc)AUI_password, item_flag_none),
767 MENU_ITEM( TxtIPAddress, (MenuFunc)AUI_IPAddress1, item_flag_none ),
768 MENU_ITEM( TxtAPN, (MenuFunc)AUI_APN, item_flag_none ),
769 SUB_MENU( TxtAdvanced, menuAdvancedProfileOptions, item_flag_none),
770 END_MENU( menuGPRSProfileOptions, menuListArea, COLOUR_LIST_SUBMENU )
771
772 /* SPR#2324 - SH - Dialup Profile Options */
773
774 BEGIN_MENU( menuDialupProfileOptions )
775 #ifdef GPRS /* Only provide option if GPRS is switched on */
776 MENU_ITEM( TxtGPRSDialupDialup, (MenuFunc)AUI_access, item_flag_none),
777 #endif
778 MENU_ITEM( TxtEditName, (MenuFunc)AUI_profile_name_edit, item_flag_none ),
779 MENU_ITEM( TxtHomepage, (MenuFunc)AUI_homepage_edit, item_flag_none ),
780 MENU_ITEM( TxtISPUsername, (MenuFunc)AUI_username, item_flag_none ),
781 MENU_ITEM( TxtISPPassword, (MenuFunc)AUI_password, item_flag_none),
782 MENU_ITEM( TxtIPAddress, (MenuFunc)AUI_IPAddress1, item_flag_none ),
783 MENU_ITEM( TxtDialupNumber, (MenuFunc)AUI_dialupNumber, item_flag_none ),
784 MENU_ITEM( TxtConnectionSpeed, (MenuFunc)AUI_connectionSpeed, item_flag_none ), /* SPR#1827 - SH - Connection Speed sub-menu */
785 SUB_MENU( TxtAdvanced, menuAdvancedProfileOptions, item_flag_none),
786 END_MENU( menuDialupProfileOptions, menuListArea, COLOUR_LIST_SUBMENU )
787
788 /* SPR#2324 - SH - Profile options menu */
789
790 BEGIN_MENU( menuProfileOptions )
791 MENU_ITEM( TxtSoftSelect, (MenuFunc)AUI_profile_select, item_flag_none ),
792 MENU_ITEM( TxtChange, (MenuFunc)AUI_profile_change, item_flag_none),
793 MENU_ITEM( TxtDelete, (MenuFunc)AUI_profile_delete, item_flag_none),
794 MENU_ITEM( TxtNewProfile, (MenuFunc)AUI_profile_new, item_flag_none),
795 MENU_ITEM( TxtResetProfiles, (MenuFunc)AUI_profile_reset, item_flag_none),
796 END_MENU( menuProfileOptions, menuListArea, COLOUR_LIST_SUBMENU )
797
798 // Setup sub-menu
799
800 BEGIN_MENU( menuWAPSettings )
801 MENU_ITEM( TxtSaveHistory, AUI_savehist, item_flag_none ),
802 MENU_ITEM( TxtScaleImages, AUI_scaleimages, item_flag_none ),
803 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
804 MENU_ITEM( TxtShowMessages, AUI_wap_push_showmessages, item_flag_none )/*added by ellen*/
805 #endif
806 END_MENU( menuWAPSettings, menuListArea, COLOUR_LIST_SUBMENU )
807
808 // History Options sub-menu
809
810 BEGIN_MENU( menuHistoryOptions )
811 MENU_ITEM( TxtGoTo, AUI_history_goto, item_flag_none ),
812 MENU_ITEM( TxtEditName, AUI_history_edit, item_flag_none ),
813 MENU_ITEM( TxtEditURL, AUI_history_edit_url, item_flag_none ),
814 MENU_ITEM( TxtDelete, AUI_history_delete, item_flag_none ),
815 MENU_ITEM( TxtSend, AUI_history_sendSMS, item_flag_none ),
816 MENU_ITEM( TxtBookmark, AUI_history_addbook, item_flag_none )
817 END_MENU( menuHistoryOptions, menuListArea, COLOUR_LIST_SUBMENU ) //SPR#1347 - GW - added parameter.
818
819 // History sub-menu
820
821 BEGIN_MENU( menuHistory )
822 MENU_ITEM( TxtList, AUI_history_list, item_flag_none ),
823 MENU_ITEM( TxtClear, AUI_history_clear, item_flag_none )
824 END_MENU( menuHistory, menuListArea, COLOUR_LIST_SUBMENU )
825
826 // GoTo sub-menu
827
828 BEGIN_MENU( menuGoTo )
829 MENU_ITEM( TxtWWWdot, AUI_goto_www, item_flag_none ),
830 MENU_ITEM( TxtWAPdot, AUI_goto_wap, item_flag_none ),
831 MENU_ITEM( TxtOther, AUI_goto_other, item_flag_none )
832 END_MENU( menuGoTo, menuListArea, COLOUR_LIST_SUBMENU )
833
834 // Bookmark Options sub-menu
835
836 BEGIN_MENU( menuBookmarkOptions )
837 MENU_ITEM( TxtGoTo, AUI_bookmarks_goto, item_flag_none ),
838 MENU_ITEM( TxtEditName, AUI_bookmarks_edit, item_flag_none ),
839 MENU_ITEM( TxtEditURL, AUI_bookmarks_edit_url, item_flag_none ),
840 MENU_ITEM( TxtDelete, AUI_bookmarks_delete, item_flag_none ),
841 MENU_ITEM( TxtSend, AUI_bookmarks_sendSMS, item_flag_none )
842 END_MENU( menuBookmarkOptions, menuListArea, COLOUR_LIST_SUBMENU )
843
844 // New Bookmark sub-menu
845
846 BEGIN_MENU( menuNewBookmark )
847 MENU_ITEM( TxtWWWdot, AUI_bookmarks_add_www, item_flag_none ),
848 MENU_ITEM( TxtWAPdot, AUI_bookmarks_add_wap, item_flag_none ),
849 MENU_ITEM( TxtOther, AUI_bookmarks_add_other, item_flag_none )
850 END_MENU( menuNewBookmark, menuListArea, COLOUR_LIST_SUBMENU )
851
852 // Bookmarks sub-menu
853
854 BEGIN_MENU( menuBookmarks )
855 MENU_ITEM( TxtList, AUI_bookmarks_list, item_flag_none ),
856 MENU_ITEM( TxtNewBookmark, AUI_bookmarks_add, item_flag_none ) /* SPR#1983 - SH */
857 END_MENU( menuBookmarks, menuListArea, COLOUR_LIST_SUBMENU )
858
859 /* WAP Menu
860 * SPR#2324 - SH - Added "Profiles" menu */
861
862 BEGIN_MENU( menuWAP )
863 MENU_ITEM( TxtHomepage, AUI_homepage, item_flag_none ),
864 SUB_MENU( TxtBookmarks, menuBookmarks, item_flag_none ),
865 SUB_MENU( TxtGoTo, menuGoTo, item_flag_none ),
866 SUB_MENU( TxtHistory, menuHistory, item_flag_none ),
867 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
868 MENU_ITEM( TxtDownload, AUI_download, item_flag_none ), /* SPR#2086 - TEST CODE */
869 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
870 //SUB_MENU( TxtPushMessages, menuPushListOptions, item_flag_none ), /*added by ellen*/
871 // xreddymn Jan-06-2004 MMI-SPR-27618: Display list of WAP push messages before displaying the Options list.
872 MENU_ITEM( TxtPushMessages, (MenuFunc)AUI_wap_push_list, item_flag_none ),
873 #endif
874 #endif
875 SUB_MENU( TxtSettings, menuWAPSettings, item_flag_none ),
876 MENU_ITEM( TxtProfiles, (MenuFunc)AUI_profiles_setup, item_flag_none )
877 END_MENU( menuWAP, menuListArea, COLOUR_LIST_SUBMENU )
878
879 #endif
880
881 /*---------------------------------------------------------------------------*/
882
883 #ifdef EASY_TEXT_ENABLED
884 //Sub Menu of Easy Text
885 BEGIN_MENU( menuEasyText )
886 MENU_ITEM( TxtActivate, Easy_Activate, item_flag_none ),
887 MENU_ITEM( TxtDeactivate, Easy_DeActivate, item_flag_none)
888 END_MENU_HEADER( menuEasyText, menuListArea, COLOUR_LIST_SUBMENU, TxtEasyText)
889 #endif
890
891 //Sub-Menu of Volume Settings
892 BEGIN_MENU( menuSetSmsValidityPeriod )
893 MENU_ITEM( Txt1Hour, SmsValidityPeriod, item_flag_none ),
894 MENU_ITEM( Txt12Hours, SmsValidityPeriod, item_flag_none ),
895 MENU_ITEM( Txt24Hours, SmsValidityPeriod, item_flag_none ),
896 MENU_ITEM( Txt1Week, SmsValidityPeriod, item_flag_none ),
897 MENU_ITEM( TxtMaxTime, SmsValidityPeriod, item_flag_none ), // May 10, 2004 REF: CRR 15753 Deepa M.D .Menuitem to set the validity period to Maximum.
898 END_MENU( menuSetSmsValidityPeriod, menuListArea, COLOUR_LIST_SUBMENU )
899
900 //Aug 22, 2005 REF: ENH 31154 xdeepadh
901 #ifdef FF_MMI_TEST_CAMERA
902 //Sub-Menu of Quality Settings
903 BEGIN_MENU( menuSetQuality )
904 MENU_ITEM( TxtEconomy, mmi_camera_test_set_quality, item_flag_none ),
905 MENU_ITEM( TxtStandard, mmi_camera_test_set_quality, item_flag_none ),
906 MENU_ITEM( TxtHigh, mmi_camera_test_set_quality, item_flag_none ),
907 END_MENU( menuSetQuality, menuListArea, COLOUR_LIST_SUBMENU )
908
909 BEGIN_MENU( menuSetColor )
910 MENU_ITEM( TxtColor, mmi_camera_test_set_color, item_flag_none ),
911 MENU_ITEM( TxtSepia, mmi_camera_test_set_color, item_flag_none ),
912 MENU_ITEM( TxtBlackandWhite, mmi_camera_test_set_color, item_flag_none ),
913 MENU_ITEM( TxtNegative, mmi_camera_test_set_color, item_flag_none )
914 END_MENU( menuSetColor, menuListArea, COLOUR_LIST_SUBMENU )
915 #endif //FF_MMI_TEST_CAMERA
916
917 #ifdef FF_MMI_CAMERA_APP
918 //Sub-Menu of Quality Settings
919 BEGIN_MENU( menuSetQuality )
920 MENU_ITEM( TxtEconomy, mmi_camera_set_quality, item_flag_none ),
921 MENU_ITEM( TxtStandard, mmi_camera_set_quality, item_flag_none ),
922 MENU_ITEM( TxtHigh, mmi_camera_set_quality, item_flag_none ),
923 END_MENU( menuSetQuality, menuListArea, COLOUR_LIST_SUBMENU )
924
925 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- Start */
926
927 BEGIN_MENU( menuStorage )
928 MENU_ITEM( TxtFFS, mmi_camera_set_storage, mmi_check_nor ),
929 MENU_ITEM( TxtNORMS, mmi_camera_set_storage, mmi_check_norms ),
930 MENU_ITEM( TxtNAND, mmi_camera_set_storage, mmi_check_nand ),
931 MENU_ITEM( TxtTflash, mmi_camera_set_storage, mmi_check_tflash ),
932 END_MENU( menuStorage, menuListArea, COLOUR_LIST_SUBMENU )
933
934 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- End */
935
936
937 /* April 03 2007 ER:OMAPS00116772 x0061088(Prachi)*/
938 BEGIN_MENU( menuAutoSave )
939 MENU_ITEM( TxtAutoSaveOn, mmi_camera_set_auto_save, item_flag_none ),
940 MENU_ITEM( TxtAutoSaveOff, mmi_camera_set_auto_save, item_flag_none ),
941 END_MENU( menuAutoSave, menuListArea, COLOUR_LIST_SUBMENU )
942
943 //added by prachi
944
945 #if CAM_SENSOR == 1
946 BEGIN_MENU( menuResolution )
947 MENU_ITEM( TxtCamVga, mmi_camera_set_resolution, item_flag_none ),
948 MENU_ITEM( TxtCamQcif, mmi_camera_set_resolution, item_flag_none ),
949 MENU_ITEM( TxtCamSxga, mmi_camera_set_resolution, item_flag_none ),
950 END_MENU( menuResolution, menuListArea, COLOUR_LIST_SUBMENU )
951 #endif
952 //Sub-Menu of Rotate Settings
953 BEGIN_MENU( menuSetRotate )
954 MENU_ITEM( TxtRotate90Degree, mmi_camera_set_rotation, item_flag_none ),
955 MENU_ITEM( TxtRotate180Degree, mmi_camera_set_rotation, item_flag_none ),
956 MENU_ITEM( TxtRotate270Degree, mmi_camera_set_rotation, item_flag_none ),
957 END_MENU( menuSetRotate, menuListArea, COLOUR_LIST_SUBMENU )
958
959 //Sub-Menu of Shooting mode Settings
960 BEGIN_MENU( menuSetBurstmode )
961 MENU_ITEM( TxtOn, mmi_camera_set_burstmode, item_flag_none ),
962 MENU_ITEM( TxtOff, mmi_camera_set_burstmode, item_flag_none ),
963 END_MENU( menuSetBurstmode, menuListArea, COLOUR_LIST_SUBMENU )
964
965 //Sub-Menu of Border frames
966 BEGIN_ICON_MENU( menuFrameMenu )
967 MENU_ICON_ITEM( &mainIconFrame1,TxtFrame1, mmi_camera_set_borderframe, item_flag_none ),
968 MENU_ICON_ITEM( NULL,TxtNoFrame, mmi_camera_set_borderframe, item_flag_none ),
969 END_ICON_MENU( menuFrameMenu, menuListArea, COLOUR_LIST_MAIN, NULL )
970
971 //Sub-Menu of Camera Settings
972 BEGIN_MENU( menuSetCameraparams )
973 SUB_MENU( TxtQuality, menuSetQuality, item_flag_none ),
974 SUB_MENU( TxtFrame, menuFrameMenu , item_flag_none ),
975 SUB_MENU( TxtRotate, menuSetRotate, item_flag_none ),
976 SUB_MENU( TxtShootingMode, menuSetBurstmode, item_flag_none),
977 SUB_MENU( TxtStorageDevice, menuStorage, item_flag_none),
978 /* April 03 2007 ER:OMAPS00116772 x0061088(Prachi)*/
979 SUB_MENU( TxtAutoSave, menuAutoSave, item_flag_none),
980 //added by prachi add flag here
981 #if CAM_SENSOR == 1
982 SUB_MENU( TxtCamMenuResolution, menuResolution, item_flag_none),
983 #endif
984 MENU_ITEM( TxtFilename, mmi_camera_edit_filename, item_flag_none),
985 END_MENU( menuSetCameraparams, menuListArea, COLOUR_LIST_SUBMENU )
986
987
988 #endif //FF_MMI_CAMERA_APP
989
990 #ifdef TI_PS_FF_CONC_SMS
991 //1227 - 01/10/02 - API - Sub Menu for the Concatenate Switch menu option
992 //Sub Menu of Concatenate Switch
993 BEGIN_MENU( menuConcatenate )
994 MENU_ITEM( TxtActivate, Concatenate_Activate, item_flag_none),
995 MENU_ITEM( TxtDeactivate, Concatenate_DeActivate, item_flag_none),
996 MENU_ITEM( TxtStatus, Concatenate_Status, item_flag_none)
997 END_MENU( menuConcatenate, menuListArea, COLOUR_LIST_SUBMENU )
998 #endif /*TI_PS_FF_CONC_SMS*/
999
1000 /* Marcus: Issue 1170: 30/09/2002: Start */
1001 BEGIN_MENU( menuSetSmsStatusReportRequest )
1002 MENU_ITEM( TxtOff, SmsStatusReportRequest, item_flag_none ),
1003 MENU_ITEM( TxtOn, SmsStatusReportRequest, item_flag_none )
1004 END_MENU( menuSetSmsStatusReportRequest, menuListArea, COLOUR_LIST_SUBMENU )
1005 /* Marcus: Issue 1170: 30/09/2002: End */
1006
1007 // March 2, 2005 REF: CRR 11536 x0018858
1008 // Added this to create a menu option for setting
1009 // and unsetting the reply path.
1010 // begin -11536
1011 BEGIN_MENU( menuSetSmsReplyPath)
1012 MENU_ITEM( TxtOff, SmsReplyPathRequest, item_flag_none ),
1013 MENU_ITEM( TxtOn, SmsReplyPathRequest, item_flag_none )
1014 END_MENU( menuSetSmsReplyPath, menuListArea, COLOUR_LIST_SUBMENU )
1015 // end -11536
1016
1017 // Sub-Menu of Message Settings
1018 // 1227 - 05/10/02 - API - Add the Menu option Concatenate
1019 BEGIN_MENU( menuSetMsg )
1020 #ifndef EASY_TEXT_ENABLED
1021 MENU_ITEM( TxtServiceCentre, SmsSend_R_OPTExeCentreEdit, item_flag_none ),
1022 SUB_MENU( TxtValidity, menuSetSmsValidityPeriod, item_flag_none ),
1023 #ifdef TI_PS_FF_CONC_SMS
1024 SUB_MENU( TxtConcat, menuConcatenate, ConcatenateDisplay),
1025 #endif /*TI_PS_FF_CONC_SMS*/
1026
1027 // May04, 2005 REF: CRR 30285 x0021334
1028 // Changed SUB_MENU to MENU_ITEM to call function settingsStatusRequestCurSel()
1029 MENU_ITEM( TxtSRR, (MenuFunc)settingsSmsStatusReportCurSel, item_flag_none ),
1030 //SUB_MENU( TxtSRR, menuSetSmsStatusReportRequest, item_flag_none ), // Marcus: Issue 1170: 30/09/2002
1031 //March 2, 2005 REF: CRR 11536 x0018858
1032 SUB_MENU( TxtRP, menuSetSmsReplyPath, item_flag_none )// Added for setting reply Path
1033 #else
1034 MENU_ITEM( TxtServiceCentre, SmsSend_R_OPTExeCentreEdit, item_flag_none ),
1035 SUB_MENU( TxtValidity, menuSetSmsValidityPeriod, item_flag_none ),
1036 SUB_MENU( TxtEasyText, menuEasyText, item_flag_none),
1037 #ifdef TI_PS_FF_CONC_SMS
1038 SUB_MENU( TxtConcat, menuConcatenate, ConcatenateDisplay),
1039 #endif /*TI_PS_FF_CONC_SMS*/
1040 // May04, 2005 REF: CRR 30285 x0021334
1041 // Changed SUB_MENU to MENU_ITEM to call function settingsStatusRequestCurSel()
1042 MENU_ITEM( TxtSRR, (MenuFunc)settingsSmsStatusReportCurSel, item_flag_none ),
1043 // SUB_MENU( TxtSRR, menuSetSmsStatusReportRequest, item_flag_none ), // Marcus: Issue 1170: 30/09/2002
1044 //March 2, 2005 REF: CRR 11536 x0018858
1045 SUB_MENU( TxtRP, menuSetSmsReplyPath, item_flag_none ) // Added for setting reply Path.
1046 // MENU_ITEM( TxtMessageTyp, bookMenuNotImplemented, item_flag_none )
1047 #endif
1048 END_MENU( menuSetMsg, menuListArea, COLOUR_LIST_SUBMENU )
1049
1050
1051 //// Aug 22, 2005 REF: ENH 31154 xdeepadh
1052 #ifdef FF_MMI_FILE_VIEWER
1053 BEGIN_MENU(menuRotateActivate)
1054 MENU_ITEM( TxtRotate90Degree, mmi_fv_set_rotate_90degree, item_flag_none ),
1055 MENU_ITEM( TxtRotate180Degree, mmi_fv_set_rotate_180degree, item_flag_none ),
1056 MENU_ITEM( TxtRotate270Degree, mmi_fv_set_rotate_270degree, item_flag_none )
1057 END_MENU( menuRotateActivate, menuListArea, COLOUR_LIST_SUBMENU1 )
1058
1059 BEGIN_MENU( menuFileViewer )
1060 MENU_ITEM( TxtView , mmi_fv_view_image_start, item_flag_none ),
1061 MENU_ITEM( TxtRename, mmi_fv_reame_edit, item_flag_none ),
1062 MENU_ITEM( TxtDelete, mmi_fv_delete_start, item_flag_none),
1063 END_MENU( menuFileViewer, menuListArea, COLOUR_LIST_SUBMENU )
1064
1065 BEGIN_MENU( menuViewOptions )
1066 SUB_MENU( TxtRotate, menuRotateActivate, item_flag_none ),
1067 END_MENU( menuViewOptions, menuListArea, COLOUR_LIST_SUBMENU )
1068 #endif
1069
1070 /*MC SPR 1920 add brodcast activate menu*/
1071 BEGIN_MENU(menuBroadMsgActivate)
1072 MENU_ITEM ( TxtCheckStatus, settingsShowStateCBDisable, item_flag_none ),
1073 MENU_ITEM( TxtOff, smscb_M_CB_ACT_ExeNo, item_flag_none ),
1074 MENU_ITEM( TxtOn, smscb_M_CB_ACT_ExeYes, item_flag_none )
1075 END_MENU( menuBroadMsgActivate, menuListArea, COLOUR_LIST_SUBMENU1 )
1076 /*MC SPR 1920 re-instate broadcast SMS menu*/
1077 // Sub-Menu of Broadcast Messages
1078 BEGIN_MENU( menuBroadMsg )
1079 SUB_MENU( TxtActivate, menuBroadMsgActivate, item_flag_none ),
1080 MENU_ITEM( TxtRead, sms_cb_select_read, item_flag_none ),
1081 MENU_ITEM( TxtNewBroadcast, smscb_M_CB_TOP_ExeAddNew, item_flag_none ),
1082 MENU_ITEM( TxtList, smscb_M_CB_TOP_ExeConsult, item_flag_none )
1083 END_MENU( menuBroadMsg, menuListArea, COLOUR_LIST_SUBMENU1 )
1084
1085 // Sub-Menu of VoiceMail
1086 BEGIN_MENU( menuVoiceMsg )
1087 MENU_ITEM( TxtVoicemail, menu_cphs_call_mailbox_number, item_flag_none ),
1088 MENU_ITEM( TxtSetVoiceMail, menu_cphs_edit_mailbox_number, item_flag_none/*CphsMailboxPresent*/ )
1089 END_MENU( menuVoiceMsg, menuListArea, COLOUR_LIST_SUBMENU )
1090
1091
1092 //
1093
1094 #ifdef FF_CPHS_REL4
1095 /*sub menu of MailBox*/
1096 BEGIN_MENU( menuMailBox )
1097 MENU_ITEM( TxtVoicemail, menu_cphs_rel4_show_mailbox_number, item_flag_none ),
1098 MENU_ITEM( TxtFax, menu_cphs_rel4_show_mailbox_number, item_flag_none ),
1099 MENU_ITEM( TxtElectronic, menu_cphs_rel4_show_mailbox_number, item_flag_none ),
1100 MENU_ITEM( TxtOther, menu_cphs_rel4_show_mailbox_number, item_flag_none )
1101 END_MENU_HEADER( menuMailBox, menuListArea, COLOUR_LIST_SUBMENU, TxtMailBox )
1102
1103 #endif
1104
1105 /****************************************************/
1106
1107 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
1108 //yanbin MMS menu
1109 //TISHMMS Project
1110 // May 11 2005 REF: MMI-SPR-29887 x0012849
1111 // New Menu for MMS Retrieval condition
1112 BEGIN_MENU( menuSetMmsRetrievalType )
1113 MENU_ITEM( TxtImmediate, MmsRetrievalTypeRequest, item_flag_none ),
1114 MENU_ITEM( TxtDeferred, MmsRetrievalTypeRequest, item_flag_none ),
1115 MENU_ITEM( TxtStatus, MmsRetrievalTypeRequest, item_flag_none )
1116 END_MENU(menuSetMmsRetrievalType, menuListArea, COLOUR_LIST_SUBMENU)
1117 // Sub-Menu of MMS
1118 BEGIN_MENU( menuMMS )
1119 #ifdef FF_MMI_MMS
1120 MENU_ITEM( TxtMMSCreate, M_exeMMSCreate, item_flag_none ),
1121 #endif
1122 #ifdef FF_MMI_EMS
1123 MENU_ITEM( TxtEMSCreate, M_exeEMSCreate, item_flag_none ),
1124 #endif
1125 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
1126 MENU_ITEM( TxtMMSInbox, M_exeMMSInbox, item_flag_none ),
1127 MENU_ITEM( TxtMMSUnsent, M_exeMMSUnsent, item_flag_none ),
1128 //CRR: 25291 - xrashmic 14 Oct 2004
1129 MENU_ITEM( TxtMMSSent, M_exeMMSSent, item_flag_none ),
1130 #endif
1131 #ifdef FF_MMI_MMS
1132 MENU_ITEM( TxtMMSSettings, M_exeMMSSettings, item_flag_none ),
1133 // May 11 2005 REF: MMI-SPR-29887
1134 SUB_MENU ( TxtRetrieveCondition, menuSetMmsRetrievalType , item_flag_none )
1135 #endif
1136 END_MENU( menuMMS, menuListArea, COLOUR_LIST_SUBMENU1 )
1137 #endif
1138
1139 /****************************************************/
1140 // Menu of Messages
1141 // xreddymn Nov-09-2004, MMI-SPR-25333: Modified Messaging sub-menu to distinguish between SMS and MMS/EMS
1142 #if(0)
1143
1144 BEGIN_MENU( menuMsg )
1145 //yanbin add MMS menu
1146 //TISHMMS Project
1147
1148 // xreddymn Aug-09-2004
1149 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
1150 SUB_MENU ( TxtMMS, menuMMS, item_flag_none ),
1151 #endif
1152
1153 MENU_ITEM ( TxtRead, M_exeRead, item_flag_none ),
1154 // MZ Start the Text editor.
1155 /* API - 03/09/03 - SPR2383 - Remove the call to show the Editor and call the eZiText window if active*/
1156 /*MC SPR 1498*/
1157 #if defined (EASY_TEXT_ENABLED)
1158 # if defined (WIN32) // EF windows simulation does not use ezitext(yet)
1159 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
1160 # else
1161 MENU_ITEM( TxtWrite, showeZiTextIcon, item_flag_none ),
1162 # endif
1163 #else
1164 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
1165 #endif
1166 /*MC end*/
1167 /* API - 03/09/03 - SPR2383 - END*/
1168 MENU_ITEM( TxtDeleteAll, M_exeDelAll, item_flag_none ),
1169 SUB_MENU ( TxtSettings, menuSetMsg, item_flag_none ),
1170 SUB_MENU ( TxtBroadcast, menuBroadMsg/*MC SPR 1920*/, item_flag_none ),
1171 SUB_MENU ( TxtVoicemail, menuVoiceMsg, item_flag_none )
1172 END_MENU( menuMsg, menuListArea, COLOUR_LIST_SUBMENU )
1173
1174 #else
1175
1176 /* xreddymn Nov-09-2004, MMI-SPR-25333: Seperate sub menu for SMS features */
1177 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
1178 BEGIN_MENU( menuSMS )
1179 MENU_ITEM ( TxtRead, M_exeRead, item_flag_none ),
1180 // MZ Start the Text editor.
1181 /* API - 03/09/03 - SPR2383 - Remove the call to show the Editor and call the eZiText window if active*/
1182 /*MC SPR 1498*/
1183 #if defined (EASY_TEXT_ENABLED)
1184 # if defined (WIN32) // EF windows simulation does not use ezitext(yet)
1185 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
1186 # else
1187 MENU_ITEM( TxtWrite, showeZiTextIcon, item_flag_none ),
1188 # endif
1189 #else
1190 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
1191 #endif
1192 /*MC end*/
1193 /* API - 03/09/03 - SPR2383 - END*/
1194 MENU_ITEM( TxtDeleteAll, M_exeDelAll, item_flag_none ),
1195 SUB_MENU ( TxtSettings, menuSetMsg, item_flag_none ),
1196 SUB_MENU ( TxtBroadcast, menuBroadMsg/*MC SPR 1920*/, item_flag_none ),
1197 SUB_MENU ( TxtVoicemail, menuVoiceMsg, item_flag_none )
1198 END_MENU( menuSMS, menuListArea, COLOUR_LIST_SUBMENU )
1199 #endif
1200
1201 /* xreddymn Nov-09-2004, MMI-SPR-25333: New Messaging Sub-menu.
1202 * If MMS/EMS feature is available, move SMS related features into a new sub-menu,
1203 * Otherwise we retain SMS features in the Messaging sub-menu
1204 */
1205 BEGIN_MENU( menuMsg )
1206 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
1207 //yanbin add MMS menu
1208 //TISHMMS Project
1209 SUB_MENU ( TxtMMS, menuMMS, item_flag_none ),
1210 SUB_MENU ( TxtSMS, menuSMS, item_flag_none ),
1211 #else
1212 MENU_ITEM ( TxtRead, M_exeRead, item_flag_none ),
1213 // MZ Start the Text editor.
1214 /* API - 03/09/03 - SPR2383 - Remove the call to show the Editor and call the eZiText window if active*/
1215 /*MC SPR 1498*/
1216 #if defined (EASY_TEXT_ENABLED)
1217 # if defined (WIN32) // EF windows simulation does not use ezitext(yet)
1218 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
1219 # else
1220 MENU_ITEM( TxtWrite, showeZiTextIcon, item_flag_none ),
1221 # endif
1222 #else
1223 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
1224 #endif
1225 /*MC end*/
1226 /* API - 03/09/03 - SPR2383 - END*/
1227 MENU_ITEM( TxtDeleteAll, M_exeDelAll, item_flag_none ),
1228 SUB_MENU ( TxtSettings, menuSetMsg, item_flag_none ),
1229 SUB_MENU ( TxtBroadcast, menuBroadMsg/*MC SPR 1920*/, item_flag_none ),
1230 #ifdef FF_CPHS_REL4
1231 MENU_ITEM ( TxtMessageStatus, build_profile_list1, item_flag_isMWISFilePresent ),
1232 /*a0393213 cphs rel4*/
1233 /*VoiceMail menu is not shown when MBDN file is present.
1234 Note that the menu item is not shown when the flag function returns 1 and shown when it returns 0*/
1235 SUB_MENU ( TxtVoicemail, menuVoiceMsg, item_flag_isMBDNFileNotPresent ),
1236 SUB_MENU (TxtMailBox, menuMailBox, item_flag_isMBDNFilePresent),
1237 #else
1238 SUB_MENU ( TxtVoicemail, menuVoiceMsg, item_flag_none )
1239 #endif
1240 #endif
1241 END_MENU( menuMsg, menuListArea, COLOUR_LIST_SUBMENU )
1242
1243 #endif
1244
1245 /*---------------------------------------------------------------------------*/
1246
1247
1248
1249 /* Phone book menus
1250 *
1251 */
1252 BEGIN_MENU( menuOwnNumber )
1253 MENU_ITEM( TxtConsult, bookGetOwnNumber, item_flag_none ),
1254 MENU_ITEM( TxtAddNew, bookSetOwnNumber, item_flag_none )
1255 END_MENU( menuOwnNumber, menuListArea, COLOUR_LIST_SUBMENU )
1256
1257 // Sub-Menu of
1258 BEGIN_MENU( menuRepRedOptions )
1259 MENU_ITEM( TxtStoreNumber, bookRepRedNameEnter, item_flag_none ),
1260 MENU_ITEM( TxtSendMessage, bookSendMessage, item_flag_none ),
1261 MENU_ITEM( TxtDetails, bookCallListDetails, item_flag_none ),
1262 MENU_ITEM( TxtDelete, bookRepRedDelete, item_flag_none ),
1263 // Nov 10, 2006 DRT: OMAPS000103354 x0039928
1264 // Fix : Delete All is mapped to bookDeleteRec instead of bookDeleteAll
1265 MENU_ITEM( TxtDeleteAll, bookDeleteRec, item_flag_none )
1266 END_MENU( menuRepRedOptions, menuListArea, COLOUR_LIST_SUBMENU )
1267
1268
1269 BEGIN_MENU( menuNameOptions )
1270 MENU_ITEM( TxtSendMessage, bookSendMessage, item_flag_none ),
1271 MENU_ITEM( TxtChange, bookNameEdit, item_flag_none ),
1272 MENU_ITEM( TxtDetails, bookDetailsStart, item_flag_none ),
1273 //added "call" option - MC
1274 MENU_ITEM( TxtCallNumber, bookNameCall, item_flag_none ),
1275
1276 /* SPR#1112 - SH - Options for when internal phonebook present */
1277 #ifdef INT_PHONEBOOK
1278 SUB_MENU( TxtCopy, menuCopy, item_flag_none),
1279 SUB_MENU( TxtMove, menuMove, item_flag_none),
1280 #endif
1281 MENU_ITEM( TxtDelete, bookNameDelete, item_flag_none ),
1282 END_MENU( menuNameOptions, menuListArea, COLOUR_LIST_SUBMENU )
1283
1284 /*SPR 1327, UPN number menu*/
1285 BEGIN_MENU( menuUPNOptions )
1286 MENU_ITEM( TxtChange, bookNameEdit, item_flag_none ),
1287 MENU_ITEM( TxtDetails, bookDetailsStart, item_flag_none ),
1288 MENU_ITEM( TxtDelete, bookNameDelete, item_flag_none ),
1289 END_MENU( menuUPNOptions, menuListArea, COLOUR_LIST_SUBMENU )
1290 #ifdef FF_MMI_CPHS
1291 BEGIN_MENU( menuEmergOptions )
1292 MENU_ITEM( TxtEdit, bookEmergEdit, item_flag_none ),
1293 MENU_ITEM( TxtDelete, bookEmergDelete, item_flag_none ),
1294 END_MENU( menuEmergOptions, menuListArea, COLOUR_LIST_SUBMENU )
1295 // Emergency Numbers menu
1296 BEGIN_MENU( menuEmergency )
1297 MENU_ITEM( TxtAddNew, bookEmergencyAdd, item_flag_none ),
1298 MENU_ITEM( TxtViewAll, bookEmergencyView, item_flag_none ),
1299 END_MENU( menuEmergency, menuListArea, COLOUR_LIST_SUBMENU )
1300 #endif
1301 // Menu of Phonebook
1302 BEGIN_MENU( menuPhbk )
1303 MENU_ITEM( TxtSearchName, bookNameSearch, item_flag_none ),
1304 MENU_ITEM(TxtInfoNumbers, InfoNumbers, item_flag_none),
1305 MENU_ITEM( TxtAddNew, bookNameEnter, item_flag_none ),
1306 MENU_ITEM( TxtServiceNumbers, bookServiceNumbers, item_flag_none ),
1307 SUB_MENU( TxtMyNumber, menuOwnNumber, item_flag_none ),
1308 MENU_ITEM( TxtMemory, bookMemoryStatus, item_flag_none ),
1309 // Aug 18, 2006 ER: OMAPS00089840 x0039928
1310 MENU_ITEM( TxtDeleteAll, bookDeleteAll, item_flag_none ),
1311 /* SPR#1112 - SH - Internal Phonebook new menu option */
1312 #ifdef INT_PHONEBOOK
1313 MENU_ITEM( TxtSelectBook, bookSelectBook, item_flag_none ),
1314 #endif
1315 #ifdef FF_MMI_CPHS
1316 SUB_MENU( TxtEmergencyNumbers, menuEmergency, item_flag_none ),
1317 #endif
1318 END_MENU( menuPhbk, menuListArea, COLOUR_LIST_SUBMENU )
1319
1320
1321
1322 /*---------------------------------------------------------------------------*/
1323
1324
1325
1326 //Sub-Menu of Call Timers
1327 BEGIN_MENU(menuCallTimers)
1328 MENU_ITEM( TxtLastCall, timerLastCall, item_flag_none),
1329 MENU_ITEM( TxtIncomingCalls, timerIncomingCalls, item_flag_none),
1330 MENU_ITEM( TxtOutgoingCalls, timerOutgoingCalls, item_flag_none),
1331 END_MENU(menuCallTimers, menuListArea, COLOUR_LIST_SUBMENU)
1332
1333
1334
1335 //Sub-Menu of Charge Limit / AOC
1336 BEGIN_MENU( menuLimitAOC )
1337 MENU_ITEM( TxtView, aoc_view_limit, item_flag_none ),
1338 MENU_ITEM( TxtChange, aoc_change_limit, item_flag_none ),
1339 MENU_ITEM( TxtCancel, aoc_cancel_limit, item_flag_none )
1340 END_MENU( menuLimitAOC, menuListArea, COLOUR_LIST_SUBMENU )
1341
1342
1343 //Sub-Menu of AOC
1344 BEGIN_MENU( menuAOCRecent )
1345 MENU_ITEM( TxtCredit, aoc_credit_remaining, item_flag_none ),
1346 MENU_ITEM( TxtRate, aoc_charge_rate, item_flag_none ),
1347 SUB_MENU ( TxtLimit, menuLimitAOC, item_flag_none ),
1348 MENU_ITEM( TxtLastCharge, aoc_last_charge, item_flag_none ),
1349 MENU_ITEM( TxtTotalCharge, aoc_total_charge, item_flag_none ),
1350 MENU_ITEM( TxtResetCharge, aoc_reset_charge, item_flag_none )
1351 END_MENU( menuAOCRecent, menuListArea, COLOUR_LIST_SUBMENU )
1352
1353
1354 // Menu of Recent Calls
1355 BEGIN_MENU( menuRecent )
1356 MENU_ITEM( TxtMissedCalls, bookEnterLMN, item_flag_none ),
1357 MENU_ITEM( TxtAnsweredCalls, bookEnterLRN, item_flag_none ), //API - 28-01-03 - 1628 - Change TxtIncomingCall to TxtAnsweredCalls
1358 MENU_ITEM( TxtOutgoingCalls,bookEnterLDN, item_flag_none ),
1359 SUB_MENU ( TxtCallTimers, menuCallTimers, item_flag_none ),
1360 SUB_MENU ( TxtChargeTimers, menuAOCRecent, service_check_aoc )
1361 END_MENU( menuRecent, menuListArea, COLOUR_LIST_SUBMENU )
1362 /*---------------------------------------------------------------------------*/
1363
1364
1365
1366
1367 //Sub-Menu
1368 BEGIN_MENU( menuCallDivert )
1369 MENU_ITEM ( TxtCheckStatus, servicesDivertCheck, item_flag_none ),
1370 MENU_ITEM ( TxtSetDivert, servicesNumbers, item_flag_none ),
1371 MENU_ITEM ( TxtCancelDivert, servicesDivertDeactivate, item_flag_none )
1372 END_MENU( menuCallDivert, menuListArea, COLOUR_LIST_SUBMENU )
1373
1374 //Sub-Menu
1375 BEGIN_MENU( menuCallDivertNR )
1376 MENU_ITEM ( TxtSetDivert, servicesNumbers, item_flag_none ),
1377 MENU_ITEM ( TxtCancelDivert, servicesDivertDeactivate, item_flag_none )
1378 END_MENU( menuCallDivertNR, menuListArea, COLOUR_LIST_SUBMENU )
1379
1380 //Sub-Menu
1381 BEGIN_MENU( menutypDivert )
1382 MENU_ITEM_SUB_MENU ( TxtVoice,menuCallDivert,servicesDivertVoice,item_flag_none ),
1383 MENU_ITEM_SUB_MENU ( TxtFax, menuCallDivert,servicesDivertFax, item_flag_none ),
1384 MENU_ITEM_SUB_MENU ( TxtData, menuCallDivert,servicesDivertData, item_flag_none )
1385 END_MENU( menutypDivert, menuListArea, COLOUR_LIST_SUBMENU )
1386
1387 //Sub-Menu
1388 BEGIN_MENU( menutypDivertNR )
1389 MENU_ITEM_SUB_MENU ( TxtVoice,menuCallDivertNR,servicesDivertVoice,item_flag_none ),
1390 MENU_ITEM_SUB_MENU ( TxtFax, menuCallDivertNR,servicesDivertFax, item_flag_none ),
1391 MENU_ITEM_SUB_MENU ( TxtData, menuCallDivertNR,servicesDivertData, item_flag_none )
1392 END_MENU( menutypDivertNR, menuListArea, COLOUR_LIST_SUBMENU )
1393
1394 // Menu of Divert
1395 //SPR#1113 - DS - Added sub-menus for "If Not Reach." divert. The NR menus do not allow status checking.
1396 BEGIN_MENU( menuDivert )
1397 MENU_ITEM_SUB_MENU ( TxtIfNoService, menutypDivert, servicesDivertNoService, item_flag_none),
1398 MENU_ITEM_SUB_MENU ( TxtIfBusy, menutypDivert, servicesDivertBusy, item_flag_none),
1399 MENU_ITEM_SUB_MENU ( TxtIfNoAnswer, menutypDivert, servicesDivertNoAnswer, item_flag_none),
1400 MENU_ITEM_SUB_MENU ( TxtIfNotReachable, menutypDivertNR, servicesDivertNotReachable, item_flag_none),
1401 MENU_ITEM_SUB_MENU ( TxtAllCalls, menutypDivert, servicesDivertAllCalls, item_flag_none),
1402 MENU_ITEM( TxtCancelAll, servicesDivertCancelAll, item_flag_none )
1403 END_MENU( menuDivert, menuListArea, COLOUR_LIST_SUBMENU )
1404
1405 /*---------------------------------------------------------------------------*/
1406 /*
1407 * Security menus
1408 */
1409
1410 //Sub-Menu of Pin Code
1411 BEGIN_MENU( menuPinCodeSet )
1412 MENU_ITEM( TxtStatus, pin_status, item_flag_none ),
1413 MENU_ITEM( TxtActivate, pin_enable, item_flag_none ),
1414 MENU_ITEM( TxtDeactivate, pin_disable, item_flag_none ),
1415 MENU_ITEM( TxtChange, pin_change, item_flag_none )
1416 END_MENU( menuPinCodeSet, menuListArea, COLOUR_LIST_SUBMENU )
1417 // May 3, 2004 REF: CRR MMI-SPR-18555 Rashmi C N(Sasken)
1418 //sub menu of FDN numbers
1419 BEGIN_MENU( bookFDNNumbers )
1420 MENU_ITEM( TxtSearchName, bookNameSearch, item_flag_none ),
1421 MENU_ITEM( TxtAddNew, bookNameEnter , item_flag_none ),
1422 END_MENU( bookFDNNumbers, menuListArea, COLOUR_LIST_SUBMENU )
1423
1424 //Sub-Menu of Fixed Dial
1425 BEGIN_MENU( menuFixedDialSet )
1426 MENU_ITEM( TxtYes, bookFDNActivate, item_flag_none ),
1427 MENU_ITEM( TxtNo, bookFDNDeactivate, item_flag_none ),
1428 // May 3, 2004 REF: CRR MMI-SPR-18555 Rashmi C N(Sasken)
1429 // Added FDN Numbers menu
1430 MENU_ITEM( TxtFDNName, bookFDNMenu, item_flag_none ),
1431 END_MENU( menuFixedDialSet, menuListArea, COLOUR_LIST_SUBMENU )
1432
1433 #ifdef SIM_PERS
1434 //Sub-menu of ME Personalization categories
1435 BEGIN_MENU( menuCategory )
1436 MENU_ITEM ( TxtNetwork, setLockTypeNw, item_flag_none),
1437 MENU_ITEM ( TxtNetworkSubset, setLockTypeNs, item_flag_none),
1438 MENU_ITEM ( TxtServiceProvider, setLockTypeSp, item_flag_none),
1439 MENU_ITEM ( TxtCorporate, setLockTypeCp, item_flag_none),
1440 MENU_ITEM ( TxtSIM, setLockTypePs, item_flag_none),
1441 //x0pleela 25 Sep, 2006 ER: OMAPS00095524
1442 //Adding a new category type "Blocked Network"
1443 MENU_ITEM ( TxtBlkNetwork, setLockTypePb, item_flag_none)
1444 END_MENU( menuCategory, menuListArea, COLOUR_LIST_SUBMENU )
1445
1446
1447 //Sub-menu of ME Personalization Supplementary Info
1448 BEGIN_MENU( menuSupplementaryInfo )
1449 MENU_ITEM ( TxtGetFC , get_fc_attempts_left , item_flag_none),
1450 MENU_ITEM( TxtMaxFC, get_fc_max_value, item_flag_none),
1451 MENU_ITEM( TxtGetFailFC, get_fail_reset_fc_attempts_left, item_flag_none),
1452 MENU_ITEM( TxtMaxFailFC, get_fail_reset_fc_max_value, item_flag_none),
1453 MENU_ITEM( TxtGetSuccFC, get_succ_reset_fc_attempts_left, item_flag_none),
1454 MENU_ITEM( TxtMaxSucFC, get_succ_reset_fc_max_value, item_flag_none),
1455 MENU_ITEM( TxtTimerFlag, get_timer_flag_value, item_flag_none),
1456 MENU_ITEM( TxtETSIFlag, get_etsi_flag_value, item_flag_none),
1457 MENU_ITEM( TxtAirtelFlag, get_airtel_ind_flag_value, item_flag_none)
1458 END_MENU( menuSupplementaryInfo, menuListArea, COLOUR_LIST_SUBMENU )
1459
1460
1461 //Sub-menu of ME Personalization
1462 BEGIN_MENU( menuMEPersonalization )
1463 MENU_ITEM_SUB_MENU ( TxtLockCategory, menuCategory, setLockActionLock, item_flag_none),
1464 MENU_ITEM_SUB_MENU ( TxtUnlockCategory, menuCategory, setLockActionUnlock, item_flag_none),
1465 MENU_ITEM_SUB_MENU ( TxtChangePassword, menuCategory, setLockActionChPwd, item_flag_none),
1466 MENU_ITEM_SUB_MENU ( TxtCheckStatus, menuCategory, setLockActionChkStat, item_flag_none),
1467 MENU_ITEM ( TxtResetFC, SIMLock_resetFC, item_flag_none),
1468 //x0pleela 20 July, 2006 ER: OMAPS00087586, OMAPS00087587
1469 //New menu item "Master unlock"
1470 MENU_ITEM ( TxtMasterUnlock, SIMLock_MasterKeyUnlock, simlock_check_masterkey),
1471 SUB_MENU ( TxtSupplementaryInfo, menuSupplementaryInfo, item_flag_none)
1472 END_MENU( menuMEPersonalization, menuListArea, COLOUR_LIST_SUBMENU )
1473
1474 //x0pleela 20 July, 2006 ER: OMAPS00087586, OMAPS00087587
1475 //New menu to display during bootup for unlocking categories or unblocking ME
1476 BEGIN_MENU( menuBootupCatList )
1477 MENU_ITEM ( TxtNetwork, simp_unlock_Category, simlock_check_NWCatLock),
1478 MENU_ITEM ( TxtNetworkSubset, simp_unlock_Category, simlock_check_NSCatLock),
1479 MENU_ITEM ( TxtServiceProvider, simp_unlock_Category, simlock_check_SPCatLock),
1480 MENU_ITEM ( TxtCorporate, simp_unlock_Category, simlock_check_CPCatLock),
1481 MENU_ITEM ( TxtSIM, simp_unlock_Category, simlock_check_SIMCatLock),
1482 //x0pleela 25 Sep, 2006 ER: OMAPS00095524
1483 //Adding "Blocked Network" category
1484 MENU_ITEM ( TxtBlkNetwork, simp_unlock_Category, simlock_check_PBCatLock),
1485 MENU_ITEM ( TxtUnblockME, SIMLock_unblock_ME, simlock_check_CatBlock),
1486 MENU_ITEM ( TxtMasterUnlock, SIMLock_MasterKeyUnlock_bootup, simlock_check_masterkey)
1487 END_MENU( menuBootupCatList, menuListArea, COLOUR_LIST_SUBMENU )
1488
1489 #endif
1490
1491 //x0pleela 19 Feb, 2007 ER: OMAPS00122561
1492 #ifdef FF_PHONE_LOCK
1493 //Sub-menu of Automatic Phone Lock
1494 BEGIN_MENU( menuPhLockAutomatic )
1495 MENU_ITEM ( TxtPhLockAutoOn, phLock_Automatic_On, item_flag_none),
1496 MENU_ITEM ( TxtPhLockAutoOff, phLock_Automatic_Off, item_flag_none)
1497 END_MENU( menuPhLockAutomatic, menuListArea, COLOUR_LIST_SUBMENU )
1498
1499 //x0pleela 19 Feb, 2007 ER: OMAPS00122561
1500 //Sub-menu of Phone Lock
1501 BEGIN_MENU( menuPhoneLock )
1502 MENU_ITEM ( TxtPhLockEnable, phLock_Enable_Lock, item_flag_none),
1503 SUB_MENU ( TxtPhLockAutomatic, menuPhLockAutomatic, item_flag_none),
1504 MENU_ITEM ( TxtPhLockChangeCode, phLock_Change_UnlockCode, item_flag_none)
1505 END_MENU( menuPhoneLock, menuListArea, COLOUR_LIST_SUBMENU )
1506 #endif /* FF_PHONE_LOCK*/
1507
1508 // Menu of Security
1509 BEGIN_MENU( menuSecurity )
1510
1511 // Jul 28, 2004 REF: CRR:20887 xrashmic - SASKEN
1512 // Instead of providing the submenu directly we call a function
1513 // where we set the menu and also higlight the previously selected menu item
1514 // MENU_ITEM( TxtFixedNames, settingsFocusFDNCurSel, item_flag_none ),
1515
1516 // June 07, 2005 REF: CRR MMI-FIX-31545 x0021334
1517 // Issue description: SIM: wrong behavior when FDN is not allocated in SST
1518 // Added this function to check if FDN is allocated
1519 MENU_ITEM( TxtFixedNames, checkFDNSupport, item_flag_none ),
1520
1521 SUB_MENU ( TxtPIN, menuPinCodeSet, item_flag_none ),
1522 MENU_ITEM( TxtPIN2, pin2_change, item_flag_none ),
1523 #ifdef SIM_PERS
1524 SUB_MENU( TxtPersonalization, menuMEPersonalization, item_flag_none )
1525 #endif
1526 //x0pleela 19 Feb, 2007 ER: OMAPS00122561
1527 #ifdef FF_PHONE_LOCK
1528 ,SUB_MENU ( TxtPhoneLock, menuPhoneLock, item_flag_none )
1529 #endif /* FF_PHONE_LOCK */
1530 END_MENU( menuSecurity, menuListArea, COLOUR_LIST_SUBMENU )
1531
1532 /*---------------------------------------------------------------------------*/
1533 /*
1534 * Applications menus
1535 */
1536
1537 //Options-Menu of Calculator
1538 BEGIN_MENU( menuCalcOptions )
1539 MENU_ITEM( TxtEquals, calcEquals, item_flag_none ),
1540 MENU_ITEM( TxtPlus, calcPlus, item_flag_none ),
1541 MENU_ITEM( TxtMinus, calcMinus, item_flag_none ),
1542 MENU_ITEM( TxtDivideBy, calcDivide, item_flag_none ),
1543 MENU_ITEM( TxtMultiplyBy, calcMultiply, item_flag_none )
1544 END_MENU( menuCalcOptions, menuListArea, COLOUR_LIST_SUBMENU )
1545
1546 //Options-Menu of Melodie Generator
1547 #ifdef MMI_MELODYGENERATOR
1548 BEGIN_MENU( menuMelgenOptions )
1549 MENU_ITEM( TxtOctaveHigher, octave_higher, item_flag_none ),
1550 MENU_ITEM( TxtOctaveLower, octave_lower, item_flag_none ),
1551 MENU_ITEM( TxtPlay, melody_generator, item_flag_none ),
1552 MENU_ITEM( TxtInsertnote, insert_new_note, item_flag_none ),
1553 MENU_ITEM( TxtSave, melody_generator, item_flag_none ),
1554 MENU_ITEM( TxtLoadMelody, melody_generator, item_flag_none ),
1555 MENU_ITEM( TxtDelete, delete_current_note, item_flag_none )
1556 END_MENU( menuMelgenOptions, menuListArea, COLOUR_LIST_SUBMENU )
1557 #endif //MMI_MELODYGENERATOR
1558
1559 //x0pleela 24 Feb, 2006 ER OMAPS00067709
1560 #ifdef FF_PCM_VM_VB
1561
1562 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- Start */
1563
1564 BEGIN_MENU( menuPCMVoiceMemoStorage )
1565 MENU_ITEM( TxtFFS, PCM_voice_memo_storeage, mmi_check_nor ),
1566 MENU_ITEM( TxtNORMS, PCM_voice_memo_storeage, mmi_check_norms ),
1567 MENU_ITEM( TxtNAND, PCM_voice_memo_storeage, mmi_check_nand ),
1568 MENU_ITEM( TxtTflash, PCM_voice_memo_storeage, mmi_check_tflash ),
1569 END_MENU( menuPCMVoiceMemoStorage, menuListArea, COLOUR_LIST_SUBMENU )
1570
1571 BEGIN_MENU( menuVoicebufferStorage )
1572 MENU_ITEM( TxtFFS, voice_buffer_storeage, mmi_check_nor ),
1573 MENU_ITEM( TxtNORMS, voice_buffer_storeage, mmi_check_norms ),
1574 MENU_ITEM( TxtNAND, voice_buffer_storeage, mmi_check_nand ),
1575 MENU_ITEM( TxtTflash, voice_buffer_storeage, mmi_check_tflash ),
1576 END_MENU( menuVoicebufferStorage, menuListArea, COLOUR_LIST_SUBMENU )
1577
1578 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- End */
1579
1580 //Sub-Menu of PCM Voice Memo
1581 BEGIN_MENU( menuPcmVoiceMemo )
1582 MENU_ITEM( TxtPlay, pcm_voice_memo_play, item_flag_none ),
1583 MENU_ITEM( TxtRecord, pcm_voice_memo_record, item_flag_none ),
1584 SUB_MENU( TxtStorageDevice, menuPCMVoiceMemoStorage, item_flag_none )
1585 END_MENU( menuPcmVoiceMemo, menuListArea, COLOUR_LIST_SUBMENU )
1586
1587 //x0pleela 09 Mar, 2006 ER: OMAPS00067709
1588 //Sub-Menu of Voice Buffering
1589 BEGIN_MENU( menuVoiceBuffering )
1590 MENU_ITEM( TxtEditNum, voice_buffering_edit_num, item_flag_none ),
1591 MENU_ITEM( TxtStartRec, voice_buffering_record_start, item_flag_none ),
1592 MENU_ITEM( TxtStopRec, voice_buffering_record_stop, item_flag_none ),
1593 SUB_MENU( TxtStorageDevice, menuVoicebufferStorage, item_flag_none )
1594 END_MENU( menuVoiceBuffering, menuListArea, COLOUR_LIST_SUBMENU )
1595 #endif
1596 #ifndef FF_NO_VOICE_MEMO
1597
1598 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- Start */
1599
1600 BEGIN_MENU( menuVoiceMemoStorage )
1601 MENU_ITEM( TxtFFS, voice_memo_storeage, mmi_check_nor ),
1602 MENU_ITEM( TxtNORMS, voice_memo_storeage, mmi_check_norms ),
1603 MENU_ITEM( TxtNAND, voice_memo_storeage, mmi_check_nand ),
1604 MENU_ITEM( TxtTflash, voice_memo_storeage, mmi_check_tflash ),
1605 END_MENU( menuVoiceMemoStorage, menuListArea, COLOUR_LIST_SUBMENU )
1606
1607 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- End */
1608
1609
1610 //Sub-Menu of Voice Memo
1611 BEGIN_MENU( menuVoiceMemo )
1612 MENU_ITEM( TxtPlay, voice_memo_play, item_flag_none ),
1613 MENU_ITEM( TxtRecord, voice_memo_record, item_flag_none ),
1614 SUB_MENU( TxtStorageDevice, menuVoiceMemoStorage, item_flag_none )
1615 END_MENU( menuVoiceMemo, menuListArea, COLOUR_LIST_SUBMENU )
1616 #endif
1617
1618 //e-armanetsaid 18/05/04 Add menu for Midi driver test
1619 //Sub-Menu of Loop On/Off
1620 // Apr 06, 2005 REF: ENH 30011 xdeepadh
1621 // Nov 14, 2005 REF: OMAPS00044445 xdeepadh
1622 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC)
1623 BEGIN_MENU(menuPlayerChannels)
1624 MENU_ITEM( TxtPlayerMonoChannel, mmi_audio_player_set_channel_mono, item_flag_none ),
1625 MENU_ITEM( TxtPlayerStereoChannel, mmi_audio_player_set_channel_stereo, item_flag_none )
1626 END_MENU( menuPlayerChannels, menuListArea, COLOUR_LIST_SUBMENU )
1627
1628 BEGIN_MENU( menuPlayerTest )
1629 MENU_ITEM(TxtPlayerSelectFile, mmi_audio_player_files_browse, item_flag_none),
1630 // Sep 27,2005 REF: SPR 34402 xdeepadh
1631 // Instead of providing the submenu directly, we call a function
1632 // where we set the menu and also higlight the previously selected menu item
1633 MENU_ITEM( TxtPlayerSetChannels, mmi_audio_player_set_cur_selected_channels, item_flag_none ),
1634 //Jul 18, 2005 REF: SPR 31695 xdeepadh
1635 MENU_ITEM( TxtPlayerPlay, mmi_audio_player_play, item_flag_none )
1636 END_MENU( menuPlayerTest, menuListArea, COLOUR_LIST_SUBMENU )
1637 #endif //FF_MMI_TEST_MP3
1638
1639 #ifdef FF_MMI_FILEMANAGER
1640 BEGIN_MENU(menuPB)
1641 MENU_ITEM( TxtMidiLoopOn, mmi_pb_on_off, item_flag_none ),
1642 MENU_ITEM( TxtMidiLoopOff, mmi_pb_on_off, item_flag_none )
1643 END_MENU( menuPB, menuListArea, COLOUR_LIST_SUBMENU )
1644 #endif
1645
1646 //Apr 05, 2005 REF: ENH 29994 xdeepadh
1647 #ifdef FF_MMI_TEST_MIDI
1648 BEGIN_MENU(menuMidiLoop)
1649 MENU_ITEM( TxtMidiLoopOn, midi_test_set_loop_on, item_flag_none ),
1650 MENU_ITEM( TxtMidiLoopOff, midi_test_set_loop_off, item_flag_none )
1651 END_MENU( menuMidiLoop, menuListArea, COLOUR_LIST_SUBMENU )
1652
1653 //Sub-Menu of Channels
1654 BEGIN_MENU(menuMidiChannels)
1655 MENU_ITEM( TxtMidiMonoChannel, midi_test_set_channel_mono, item_flag_none ),
1656 MENU_ITEM( TxtMidiStereoChannel, midi_test_set_channel_stereo, item_flag_none )
1657 END_MENU( menuMidiChannels, menuListArea, COLOUR_LIST_SUBMENU )
1658
1659 //Sub-Menu of Audio Output
1660 BEGIN_MENU(menuMidiAudioOutput)
1661 MENU_ITEM( TxtMidiSpeaker, midi_test_set_speaker, item_flag_none ),
1662 MENU_ITEM( TxtMidiHeadset, midi_test_set_headset, item_flag_none ),
1663 END_MENU( menuMidiAudioOutput, menuListArea, COLOUR_LIST_SUBMENU )
1664
1665 //Sub-Menu of Midi Change Config
1666 BEGIN_MENU(menuMidiChangeConfig)
1667 MENU_ITEM( TxtChConfigVoiceLimit, midi_test_cc_voice_limit, item_flag_none ),
1668 SUB_MENU( TxtChConfigLoop, menuMidiLoop, item_flag_none ),
1669 SUB_MENU( TxtChConfigChannels, menuMidiChannels, item_flag_none ),
1670 SUB_MENU( TxtChConfigAudioOutput, menuMidiAudioOutput, item_flag_none )
1671 #ifdef FF_MMI_FILEMANAGER
1672 ,SUB_MENU( TxtPBar, menuPB, item_flag_none )
1673 #endif
1674 END_MENU( menuMidiChangeConfig, menuListArea, COLOUR_LIST_SUBMENU )
1675
1676 //Sub-Menu of Midi Test
1677 // Dec 08, 2004 REF: CRR MMI-SPR-27284
1678 // Description: MIDI Player: Back Key malfunctions in MIDI application.
1679 // Solution: Calling function midi_test_files_browse() when user select "Browse Midi Files"
1680 BEGIN_MENU( menuMidiTest )
1681 MENU_ITEM( TxtChConfigFile, midi_test_files_browse, item_flag_none ),
1682 SUB_MENU( TxtMidiChangeConfig, menuMidiChangeConfig, item_flag_none ),
1683 MENU_ITEM( TxtMidiPlay, midi_test_play, item_flag_none ),
1684 MENU_ITEM( TxtMidiPlayAllFiles, midi_test_play_all, item_flag_none ),
1685 MENU_ITEM( TxtMidiExit, midi_stop_player, item_flag_none )
1686 END_MENU( menuMidiTest, menuListArea, COLOUR_LIST_SUBMENU )
1687 #endif//#ifdef FF_MMI_TEST_MIDI
1688 #ifdef BTE_MOBILE
1689 //Sub-Menu of Bluetooth Discoverable
1690 BEGIN_MENU( menuBluetoothDiscoverable )
1691 MENU_ITEM( TxtBtDiscoverable, mmi_bluetooth_set_discoverable_on, item_flag_none ),
1692 MENU_ITEM( TxtBtHidden, mmi_bluetooth_set_discoverable_off, item_flag_none ),
1693 MENU_ITEM( TxtBtTimed, mmi_bluetooth_set_discoverable_timed, item_flag_none )
1694 END_MENU( menuBluetoothDiscoverable, menuListArea, COLOUR_LIST_SUBMENU )
1695
1696 //Sub-Menu of Bluetooth Devices
1697 /*
1698 ** Note:
1699 ** The menu display functions isBluetoothActive and isBluetoothInactive seem to be used in the wrong context
1700 ** ie. isBluetoothInactive for options which should only be displayed if Bluetooth is active. The reason for this is
1701 ** that these functions return TRUE if their state is met, where the menu is displayed if the value returned is FALSE.
1702 **
1703 ** If still not clear, see the function item_flag_none, which ALWAYS causes the menu item to be diaplayed.
1704 */
1705 BEGIN_MENU( menuBluetoothDevices )
1706 MENU_ITEM( TxtSearchName, mmi_bluetooth_device_search, isBluetoothInactive ),
1707 MENU_ITEM( TxtBtKnownDevices, mmi_bluetooth_list_known_devices, item_flag_none ),
1708 MENU_ITEM( TxtBtClearStoredDevices, mmi_bluetooth_clear_all_stored_devices, item_flag_none ),
1709 END_MENU( menuBluetoothDevices, menuListArea, COLOUR_LIST_SUBMENU )
1710
1711 //Sub-Menu of Bluetooth
1712 BEGIN_MENU( menuBluetooth )
1713 MENU_ITEM( TxtBluetoothEnable, mmi_bluetooth_on, isBluetoothActive ),
1714 MENU_ITEM( TxtAutomatic, mmi_bluetooth_automatic, isBluetoothActive ),
1715 MENU_ITEM( TxtBluetoothDisable, mmi_bluetooth_off, isBluetoothInactive ),
1716 MENU_ITEM( TxtBtSetLocalName, mmi_bluetooth_change_name, item_flag_none ),
1717 SUB_MENU( TxtBtDiscoverable, menuBluetoothDiscoverable, item_flag_none),
1718 SUB_MENU(TxtBtDevices, menuBluetoothDevices, item_flag_none)
1719 END_MENU( menuBluetooth, menuListArea, COLOUR_LIST_SUBMENU )
1720 #endif
1721
1722 #ifdef FF_MMI_MULTIMEDIA
1723 /* Configuration Parameter Menu Items */
1724 BEGIN_MENU( menuSelectOutputScreemode )
1725 MENU_ITEM( TxtHalfScreenMode, mmi_Set_ScreenMode, item_flag_none),
1726 MENU_ITEM( TxtFullScreenMode, mmi_Set_ScreenMode , item_flag_none )
1727 END_MENU( menuSelectOutputScreemode, menuListArea, COLOUR_LIST_SUBMENU )
1728
1729
1730 /* PCM Encode Configuration */
1731 BEGIN_MENU( menuPcmEncodeConfig )
1732 MENU_ITEM( TxtPcmChannelMode,(MenuFunc)FocusCurSel_PcmChannelMode, item_flag_none ),
1733 MENU_ITEM( TxtPcmRate,(MenuFunc)FocusCurSel_PcmRateSelection, item_flag_none ),
1734 END_MENU( menuPcmEncodeConfig, menuListArea, COLOUR_LIST_SUBMENU )
1735
1736
1737 BEGIN_MENU( menuSelectAudioEncodingFormat )
1738 SUB_MENU ( TxtPCM, menuPcmEncodeConfig, item_flag_none),
1739 MENU_ITEM( TxtAMR, mmi_Set_AudioFormat, item_flag_none ),
1740 MENU_ITEM( TxtAAC, mmi_Set_AudioFormat, item_flag_none ),
1741 MENU_ITEM( TxtMP3, mmi_Set_AudioFormat, item_flag_none )
1742 END_MENU( menuSelectAudioEncodingFormat, menuListArea, COLOUR_LIST_SUBMENU )
1743
1744
1745 BEGIN_MENU( menuSelectVideoEncodingFormat )
1746 MENU_ITEM( TxtMpeg4, mmi_Set_VideoFormat , item_flag_none ),
1747 MENU_ITEM( TxtH263, mmi_Set_VideoFormat , item_flag_none ),
1748 MENU_ITEM( TxtNone, mmi_Set_VideoFormat , item_flag_none )
1749 END_MENU( menuSelectVideoEncodingFormat, menuListArea, COLOUR_LIST_SUBMENU )
1750
1751
1752 BEGIN_MENU( menuSelectVideoCaptureSize )
1753 MENU_ITEM( TxtQcif, mmi_Set_VideoSize , item_flag_none ),
1754 MENU_ITEM( TxtCif, mmi_Set_VideoSize , item_flag_none ),
1755 MENU_ITEM( TxtQQVga, mmi_Set_VideoSize , item_flag_none )
1756 END_MENU( menuSelectVideoCaptureSize, menuListArea, COLOUR_LIST_SUBMENU )
1757
1758 BEGIN_MENU( menuSelectFrameRate )
1759 MENU_ITEM( Txt5fps, mmi_Set_FrameRate , item_flag_none ),
1760 MENU_ITEM( Txt10fps, mmi_Set_FrameRate , item_flag_none ),
1761 MENU_ITEM( Txt15fps, mmi_Set_FrameRate , item_flag_none ),
1762 MENU_ITEM( Txt30fps, mmi_Set_FrameRate , item_flag_none )
1763 END_MENU( menuSelectFrameRate, menuListArea, COLOUR_LIST_SUBMENU )
1764
1765 BEGIN_MENU( menuSelectAACBitRate )
1766 MENU_ITEM( Txt48Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1767 MENU_ITEM( Txt66p15Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1768 MENU_ITEM( Txt72Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1769 MENU_ITEM( Txt96pKbps, mmi_Set_AAC_BitRate , item_flag_none ),
1770 MENU_ITEM( Txt132p3Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1771 MENU_ITEM( Txt144Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1772 MENU_ITEM( Txt192Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1773 MENU_ITEM( Txt264p6Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1774 MENU_ITEM( Txt288Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1775 END_MENU( menuSelectAACBitRate, menuListArea, COLOUR_LIST_SUBMENU )
1776
1777
1778 BEGIN_MENU( menuSelectAMRBitRate )
1779 MENU_ITEM( Txt1p80Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1780 MENU_ITEM( Txt4p75Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1781 MENU_ITEM( Txt5p15Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1782 MENU_ITEM( Txt5p9Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1783 MENU_ITEM( Txt6p7Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1784 MENU_ITEM( Txt7p4Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1785 MENU_ITEM( Txt7p95Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1786 MENU_ITEM( Txt10p2Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1787 MENU_ITEM( Txt12p2Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1788 END_MENU( menuSelectAMRBitRate, menuListArea, COLOUR_LIST_SUBMENU )
1789
1790
1791 BEGIN_MENU( menuSelectAudioRate )
1792 MENU_ITEM( TxtAACBitRate,(MenuFunc)FocusCurSel_AACBitRate, item_flag_none ),
1793 MENU_ITEM( AMRNBBitRate,(MenuFunc)FocusCurSel_AMRBitRate, item_flag_none ),
1794 END_MENU( menuSelectAudioRate, menuListArea, COLOUR_LIST_SUBMENU )
1795
1796
1797 BEGIN_MENU( menuSelectVideoRate )
1798 MENU_ITEM( Txt64Kbps, mmi_Set_VideoBitRate , item_flag_none ),
1799 MENU_ITEM( Txt128Kbps, mmi_Set_VideoBitRate , item_flag_none ),
1800 END_MENU( menuSelectVideoRate, menuListArea, COLOUR_LIST_SUBMENU )
1801
1802 BEGIN_MENU( menuAudioPath )
1803 MENU_ITEM( TxtHeadset, mmi_Set_AudioPath , item_flag_none ),
1804 MENU_ITEM( TxtSpeaker, mmi_Set_AudioPath, item_flag_none ),
1805 END_MENU( menuAudioPath, menuListArea, COLOUR_LIST_SUBMENU )
1806
1807 BEGIN_MENU( menuPreferredStorage )
1808 MENU_ITEM( TxtFFS, mmi_Set_PreferredStorage , item_flag_none ),
1809 MENU_ITEM( TxtMMC, mmi_Set_PreferredStorage , item_flag_none)
1810 END_MENU( menuPreferredStorage, menuListArea, COLOUR_LIST_SUBMENU )
1811
1812 /* PCM Decode Sampling Rate */
1813 BEGIN_MENU( menuPcmSampleRate )
1814 MENU_ITEM( Txt8kRate, mmi_set_pcm_samplerate, item_flag_none ),
1815 MENU_ITEM( Txt11kRate, mmi_set_pcm_samplerate, item_flag_none ),
1816 MENU_ITEM( Txt12kRate, mmi_set_pcm_samplerate, item_flag_none ), /*OMAPS00081264 - 12k Menu addition */
1817 MENU_ITEM( Txt16kRate, mmi_set_pcm_samplerate, item_flag_none ),
1818 MENU_ITEM( Txt22kRate, mmi_set_pcm_samplerate, item_flag_none ),
1819 MENU_ITEM( Txt24kRate, mmi_set_pcm_samplerate, item_flag_none ), /*OMAPS00081264 - 24k Menu addition */
1820 MENU_ITEM( Txt32kRate, mmi_set_pcm_samplerate, item_flag_none ),
1821 MENU_ITEM( Txt44kRate, mmi_set_pcm_samplerate, item_flag_none ),
1822 MENU_ITEM( Txt48kRate, mmi_set_pcm_samplerate, item_flag_none ),
1823 END_MENU( menuPcmSampleRate, menuListArea, COLOUR_LIST_SUBMENU )
1824
1825 /*Voice Memo PCM Sampling Rate */
1826 BEGIN_MENU( menuVmPcmSampleRate )
1827 MENU_ITEM( Txt8kRate, mmi_vm_set_pcm_samplerate, item_flag_none ),
1828 MENU_ITEM( Txt11kRate, mmi_vm_set_pcm_samplerate, item_flag_none ),
1829 MENU_ITEM( Txt12kRate, mmi_vm_set_pcm_samplerate, item_flag_none ), /*OMAPS00081264 - 12k Menu addition */
1830 MENU_ITEM( Txt16kRate, mmi_vm_set_pcm_samplerate, item_flag_none ),
1831 MENU_ITEM( Txt22kRate, mmi_vm_set_pcm_samplerate, item_flag_none ),
1832 MENU_ITEM( Txt24kRate, mmi_vm_set_pcm_samplerate, item_flag_none ), /*OMAPS00081264 - 24k Menu addition */
1833 MENU_ITEM( Txt32kRate, mmi_vm_set_pcm_samplerate, item_flag_none ),
1834 MENU_ITEM( Txt44kRate, mmi_vm_set_pcm_samplerate, item_flag_none ),
1835 MENU_ITEM( Txt48kRate, mmi_vm_set_pcm_samplerate, item_flag_none ),
1836 END_MENU( menuVmPcmSampleRate, menuListArea, COLOUR_LIST_SUBMENU )
1837
1838
1839 BEGIN_MENU( menuPcmDecodeChanMode )
1840 MENU_ITEM( TxtMonoMode, mmi_Set_PcmDecodeChanMode , item_flag_none ),
1841 MENU_ITEM( TxtStreoMode, mmi_Set_PcmDecodeChanMode, item_flag_none ),
1842 END_MENU( menuPcmDecodeChanMode, menuListArea, COLOUR_LIST_SUBMENU )
1843
1844 BEGIN_MENU( menuVmPcmDecodeChanMode )
1845 MENU_ITEM( TxtMonoMode, mmi_Set_VmPcmDecodeChanMode , item_flag_none ),
1846 MENU_ITEM( TxtStreoMode, mmi_Set_VmPcmDecodeChanMode, item_flag_none ),
1847 END_MENU( menuVmPcmDecodeChanMode, menuListArea, COLOUR_LIST_SUBMENU )
1848
1849 BEGIN_MENU( menuVolumeConfig )
1850 MENU_ITEM( TxtLevel1, mmi_Set_VolumeConfig , item_flag_none ),
1851 MENU_ITEM( TxtLevel2, mmi_Set_VolumeConfig , item_flag_none ),
1852 MENU_ITEM( TxtLevel3, mmi_Set_VolumeConfig , item_flag_none ),
1853 MENU_ITEM( TxtLevel4, mmi_Set_VolumeConfig , item_flag_none ),
1854 MENU_ITEM( TxtLevel5, mmi_Set_VolumeConfig , item_flag_none ),
1855 END_MENU( menuVolumeConfig, menuListArea, COLOUR_LIST_SUBMENU )
1856
1857
1858 BEGIN_MENU( menuCamera )
1859 MENU_ITEM( TxtCameraCapture, mmi_Select_CameraCapture, item_flag_none ),
1860 MENU_ITEM( TxtVideoRecording, mmi_Select_AudioVideo_Recording, item_flag_none ),
1861 MENU_ITEM( TxtAudioRecording, mmi_Select_Audio_Recording, item_flag_none )
1862 END_MENU( menuCamera, menuListArea, COLOUR_LIST_SUBMENU )
1863
1864
1865 #ifdef FF_MMI_NEPTUNE_IMAGE_VIEWER
1866 BEGIN_MENU( menuImageEdit )
1867 MENU_ITEM( TxtCrop, mmi_ImageEdit_Crop, item_flag_none ),
1868 MENU_ITEM( TxtRescale, mmi_ImageEdit_Rescale, item_flag_none ),
1869 MENU_ITEM( TxtRotate, mmi_ImageEdit_Rotate, item_flag_none ),
1870 END_MENU( menuImageEdit, menuListArea, COLOUR_LIST_SUBMENU )
1871 #endif
1872
1873 /* Image Capture Quality */
1874 BEGIN_MENU( menuImageCaptureQuality )
1875 MENU_ITEM( Txt0Set, mmi_Set_ImageCaptureQuality , item_flag_none ),
1876 MENU_ITEM( Txt10Set, mmi_Set_ImageCaptureQuality , item_flag_none ),
1877 MENU_ITEM( Txt20Set, mmi_Set_ImageCaptureQuality , item_flag_none ),
1878 MENU_ITEM( Txt30Set, mmi_Set_ImageCaptureQuality , item_flag_none ),
1879 MENU_ITEM( Txt40Set, mmi_Set_ImageCaptureQuality , item_flag_none ),
1880 MENU_ITEM( Txt50Set, mmi_Set_ImageCaptureQuality , item_flag_none ),
1881 MENU_ITEM( Txt60Set, mmi_Set_ImageCaptureQuality , item_flag_none ),
1882 MENU_ITEM( Txt70Set, mmi_Set_ImageCaptureQuality , item_flag_none ),
1883 MENU_ITEM( Txt80Set, mmi_Set_ImageCaptureQuality , item_flag_none ),
1884 MENU_ITEM( Txt90Set, mmi_Set_ImageCaptureQuality , item_flag_none ),
1885 MENU_ITEM( Txt100Set, mmi_Set_ImageCaptureQuality , item_flag_none )
1886 END_MENU( menuImageCaptureQuality, menuListArea, COLOUR_LIST_SUBMENU )
1887
1888
1889 /* Power management menus*/
1890 #ifdef NEPTUNE_BOARD
1891 #ifdef MMI_POWER_MANAGEMENT_TEST
1892 BEGIN_MENU( menuPowerManagement )
1893 MENU_ITEM( TxtOff, mmi_PMDuration, item_flag_none ),
1894 MENU_ITEM( Txt10Second, mmi_PMDuration, item_flag_none ),
1895 MENU_ITEM( Txt15Second, mmi_PMDuration, item_flag_none ),
1896 MENU_ITEM( Txt20Second, mmi_PMDuration, item_flag_none ),
1897 END_MENU( menuPowerManagement, menuListArea, COLOUR_LIST_SUBMENU )
1898 #endif
1899 #endif
1900 /* Pcm Stero / Mono Setting Menu for Recording */
1901 BEGIN_MENU( menuPcmChannelMode )
1902 MENU_ITEM( TxtMonoMode, mmi_Set_PcmChannelMode , item_flag_none ),
1903 MENU_ITEM( TxtStreoMode, mmi_Set_PcmChannelMode, item_flag_none ),
1904 END_MENU( menuPcmChannelMode, menuListArea, COLOUR_LIST_SUBMENU )
1905
1906
1907 /* Pcm Rate Selection for Recording */
1908 BEGIN_MENU( menuPcmRateSelection )
1909 MENU_ITEM( Txt8kRate, mmi_Set_PcmRateSelection , item_flag_none ),
1910 MENU_ITEM( Txt16kRate, mmi_Set_PcmRateSelection, item_flag_none ),
1911 END_MENU( menuPcmRateSelection, menuListArea, COLOUR_LIST_SUBMENU )
1912
1913 /* To Specify whether file access is from FFS / MMC */
1914 BEGIN_MENU( menuMMStorageDevice )
1915 MENU_ITEM( TxtFFS, mmi_Select_AudioVideo_Files , item_flag_none ),
1916 MENU_ITEM( TxtMMC, mmi_Select_AudioVideo_Files , item_flag_none )
1917 END_MENU( menuMMStorageDevice, menuListArea, COLOUR_LIST_SUBMENU )
1918
1919 /* To Specify whether file access is from FFS / MMC for Image Viewer */
1920 BEGIN_MENU( menuMMImageStorageDevice )
1921 MENU_ITEM( TxtFFS, mmi_Select_Image_Files , item_flag_none ),
1922 MENU_ITEM( TxtMMC, mmi_Select_Image_Files , item_flag_none )
1923 END_MENU( menuMMImageStorageDevice, menuListArea, COLOUR_LIST_SUBMENU )
1924
1925 /*Audio Decode configuration */
1926 BEGIN_MENU( menuAudioDecodeConfig )
1927 MENU_ITEM( TxtAudioPath,(MenuFunc)FocusCurSel_AudioPath, item_flag_none ),
1928 END_MENU( menuAudioDecodeConfig, menuListArea, COLOUR_LIST_SUBMENU )
1929
1930 /*Audio Encode Configuration */
1931 BEGIN_MENU( menuAudioEncodeConfig )
1932 MENU_ITEM( TxtAudioEncodingFormat,(MenuFunc)FocusCurSel_AudioFormat, item_flag_none ),
1933 SUB_MENU( TxtAudioBitRate, menuSelectAudioRate, item_flag_none ),
1934 END_MENU( menuAudioEncodeConfig, menuListArea, COLOUR_LIST_SUBMENU )
1935
1936
1937 /*Audio & Video Sync Option */
1938 BEGIN_MENU( menuAudioVideoSyncOption )
1939 MENU_ITEM( TxtAudioVideoPlay, mmi_Audio_Video_Play_Option, item_flag_none ),
1940 MENU_ITEM( TxtVideoPlay, mmi_Audio_Video_Play_Option, item_flag_none ),
1941 END_MENU( menuAudioVideoSyncOption, menuListArea, COLOUR_LIST_SUBMENU )
1942
1943
1944 /*Audio & Video Sync Option */
1945 BEGIN_MENU( menuVideoRecordDuration )
1946 MENU_ITEM( TxtNonStop, mmi_Video_Record_Duration, item_flag_none ),
1947 MENU_ITEM( Txt10sec, mmi_Video_Record_Duration, item_flag_none ),
1948 MENU_ITEM( Txt15sec, mmi_Video_Record_Duration, item_flag_none ),
1949 MENU_ITEM( Txt20sec, mmi_Video_Record_Duration, item_flag_none ),
1950 END_MENU( menuVideoRecordDuration, menuListArea, COLOUR_LIST_SUBMENU )
1951
1952
1953 /*Audio & Video Record option */
1954 BEGIN_MENU( menuAudioVideoRecordOption )
1955 MENU_ITEM( TxtAudioVideoRecord, mmi_Audio_Video_Record_Option, item_flag_none ),
1956 MENU_ITEM( TxtVideoRecord, mmi_Audio_Video_Record_Option, item_flag_none ),
1957 END_MENU( menuAudioVideoRecordOption, menuListArea, COLOUR_LIST_SUBMENU )
1958
1959
1960 /* Video Encode Configuration */
1961 BEGIN_MENU( menuVideoEncodeConfig )
1962 MENU_ITEM( TxtVideoEncodingFormat,(MenuFunc)FocusCurSel_VideoFormat, item_flag_none ),
1963 MENU_ITEM( TxtVideoCaptureSize,(MenuFunc)FocusCurSel_VideoSize, item_flag_none ),
1964 MENU_ITEM( TxtVideoFrameRateSelection,(MenuFunc)FocusCurSel_FrameRate, item_flag_none ),
1965 MENU_ITEM( TxtVideoBitRate,(MenuFunc)FocusCurSel_VideoBitRate, item_flag_none )
1966 END_MENU( menuVideoEncodeConfig, menuListArea, COLOUR_LIST_SUBMENU )
1967
1968
1969 BEGIN_MENU( menuConfigParam )
1970 MENU_ITEM( TxtOutputScreenSize,(MenuFunc)FocusCurSel_ScreenMode, item_flag_none ),
1971 SUB_MENU( TxtAudioEncodeConfig,menuAudioEncodeConfig, item_flag_none ),
1972 SUB_MENU( TxtVideoEncodeConfig,menuVideoEncodeConfig, item_flag_none ),
1973 MENU_ITEM( TxtAudioPath,(MenuFunc)FocusCurSel_AudioPath, item_flag_none ),
1974 MENU_ITEM( TxtPreferredStorage,(MenuFunc)FocusCurSel_PreferredStorage, item_flag_none ),
1975 MENU_ITEM( TxtImgCaptureQuality,(MenuFunc)FocusCurSel_ImageCaptureQuality, item_flag_none ),
1976 MENU_ITEM( TxtVideoPlayOption, (MenuFunc)FocusCurSel_AudioVideoPlay_Option, item_flag_none ),
1977 MENU_ITEM( TxtVideoRecordOption, (MenuFunc)FocusCurSel_AudioVideoRecord_Option, item_flag_none ),
1978 MENU_ITEM( TxtVideoRecDuration, (MenuFunc)FocusCurSel_VideoRecord_Duration, item_flag_none )
1979 END_MENU( menuConfigParam, menuListArea, COLOUR_LIST_SUBMENU )
1980
1981 /* Multimedia Application Menu. */
1982 BEGIN_MENU( menuMultimediaApp )
1983 SUB_MENU( TxtConfigurationParameters, menuConfigParam, item_flag_none ),
1984 /* If MMC is available then show the menu, otherwise access directly from FFS */
1985 SUB_MENU( TxtAudioVideoPlayback, menuMMStorageDevice, item_flag_none ),
1986 SUB_MENU( TxtImageViewer, menuMMImageStorageDevice, item_flag_none ),
1987 SUB_MENU( TxtCamera, menuCamera, item_flag_none),
1988 MENU_ITEM( TxtAudioRecording, mmi_Select_Audio_Recording, item_flag_none )
1989 END_MENU( menuMultimediaApp, menuListArea, COLOUR_LIST_SUBMENU )
1990
1991 /* Voice Meo Implemention */
1992 #ifdef FF_MMI_VOICEMEMO
1993 BEGIN_MENU( menuStartRecord )
1994 MENU_ITEM( TxtStartRecord, mmi_Select_VM_Audio_Recording, item_flag_none )
1995 END_MENU( menuStartRecord, menuListArea, COLOUR_LIST_SUBMENU )
1996
1997 /* To Specify whether file access is from FFS / MMC for Image Viewer */
1998 BEGIN_MENU( menuVMStorageDevice )
1999 MENU_ITEM( TxtFFS, mmi_VM_Select_AMR_Files , item_flag_none ),
2000 MENU_ITEM( TxtMMC, mmi_VM_Select_AMR_Files , item_flag_none )
2001 END_MENU( menuVMStorageDevice, menuListArea, COLOUR_LIST_SUBMENU )
2002
2003 BEGIN_MENU( menuVoiceMemoUC )
2004 SUB_MENU( TxtVMPlayback, menuVMStorageDevice, item_flag_none ),
2005 SUB_MENU( TxtVMRecord, menuStartRecord, item_flag_none ),
2006 #ifdef FUNCTIONALITY_NOT_IMPLEMENTED
2007 MENU_ITEM( TxtVMConfigParam, mmi_VM_Select_AMR_Files, item_flag_none )
2008 #endif
2009 END_MENU( menuVoiceMemoUC, menuListArea, COLOUR_LIST_SUBMENU )
2010 #endif
2011 #endif
2012
2013 #ifdef FF_MMI_FILEMANAGER
2014 BEGIN_MENU( menuFMListOptions )
2015 MENU_ITEM( TxtRename, mmi_fm_rename , item_flag_none ),
2016 MENU_ITEM( TxtCopy, mmi_fm_copy, showCopyMove ),
2017 MENU_ITEM( TxtMove, mmi_fm_move, showCopyMove ),
2018 MENU_ITEM( TxtDelete, mmi_fm_remove, item_flag_none),
2019 MENU_ITEM( TxtProperties, mmi_fm_properties, item_flag_none),
2020 MENU_ITEM( TxtCreateDir, mmi_fm_newdir, showCreate),
2021 SUB_MENU( TxtSettings, menuMidiChangeConfig, check_source_setting),
2022 END_MENU( menuFMListOptions, menuListArea, COLOUR_LIST_SUBMENU )
2023
2024 BEGIN_MENU( menuRootFolders )
2025 MENU_ITEM( TxtImageFiles, mmi_fm_display, item_flag_none),
2026 MENU_ITEM( TxtAudioFiles, mmi_fm_display, item_flag_none),
2027 END_MENU( menuRootFolders, menuListArea, COLOUR_LIST_SUBMENU )
2028 /* Sub-Menu For File Manager */
2029 /* SD Card menu has been removed -- OMAPS00074650 */
2030 BEGIN_MENU( menuFMDrivesOptions )
2031 MENU_ITEM( TxtOpen, mmi_fm_root_folders, item_flag_none),
2032 MENU_ITEM( TxtMemorystat, mmi_fm_memStat, item_flag_none),
2033 MENU_ITEM(TxtFormat, mmi_fm_format, format_check_dev) ,
2034 END_MENU( menuFMDrivesOptions, menuListArea, COLOUR_LIST_SUBMENU )
2035
2036 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- Start */
2037
2038 BEGIN_MENU( menuFMDrives )
2039 MENU_ITEM( TxtFFS, mmi_fm_drives, mmi_check_nor),
2040 MENU_ITEM( TxtNORMS, mmi_fm_drives, mmi_check_norms),
2041 MENU_ITEM( TxtNAND, mmi_fm_drives, mmi_check_nand),
2042 MENU_ITEM(TxtTflash, mmi_fm_drives, mmi_check_tflash),
2043 END_MENU( menuFMDrives, menuListArea, COLOUR_LIST_SUBMENU )
2044
2045 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- End */
2046
2047 BEGIN_MENU( menuDestRootFolders )
2048 MENU_ITEM( TxtImageFiles, mmi_fm_dest_display, check_source_image),
2049 MENU_ITEM( TxtAudioFiles, mmi_fm_dest_display, check_source_audio),
2050 END_MENU( menuDestRootFolders, menuListArea, COLOUR_LIST_SUBMENU )
2051
2052 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- Start */
2053
2054 BEGIN_MENU( menuDestFMDrives )
2055 MENU_ITEM( TxtFFS, mmi_fm_dest_root_folders, mmi_check_nor),
2056 MENU_ITEM( TxtNORMS, mmi_fm_dest_root_folders, mmi_check_norms),
2057 MENU_ITEM( TxtNAND, mmi_fm_dest_root_folders, mmi_check_nand),
2058 MENU_ITEM(TxtTflash, mmi_fm_dest_root_folders, mmi_check_tflash),
2059 END_MENU( menuDestFMDrives, menuListArea, COLOUR_LIST_SUBMENU )
2060
2061 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- End */
2062
2063 #endif
2064
2065
2066 BEGIN_MENU( menuApplications )
2067 MENU_ITEM( TxtCalculator, (MenuFunc)calculator, item_flag_none ),
2068 #ifdef MMI_MELODYGENERATOR
2069 MENU_ITEM( TxtMelodygenerator, (MenuFunc)melody_generator_aktivate, item_flag_none ),
2070 #endif /* MMI_MELODYGENERATOR */
2071 #ifdef MMIGAME
2072 MENU_ITEM( TxtGame, (MenuFunc)four_in_a_row_aktivate, item_flag_none),
2073 #endif
2074 #ifdef NEPTUNE_BOARD
2075 #ifdef MMI_POWER_MANAGEMENT_TEST
2076 MENU_ITEM( TxtPowerMgnt, (MenuFunc)mmi_PowerManagement, item_flag_none ),
2077 #endif
2078
2079
2080 #else
2081 /* GW 15/09/01 removed debug code*/
2082 #endif /* MMIGAME */
2083 /* Apr 05, 2005 REF: ENH 29994 xdeepadh */
2084 #ifndef FF_MMI_FILEMANAGER
2085 #ifdef FF_MMI_TEST_MIDI
2086 MENU_ITEM( TxtMidiTest, mmi_midi_test_Application, item_flag_none ),//Sep 11, 2006 DR: OMAPS00094182 xrashmic
2087 #endif/*#ifdef FF_MMI_TEST_MIDI */
2088 #endif /*FF_MMI_FILEMANAGER*/
2089 /* Apr 06, 2005 REF: ENH 30011 xdeepadh */
2090 #ifdef FF_MMI_CAMERA_APP
2091 MENU_ITEM(TxtCameraTest, mmi_camera_launch_view_finder, item_flag_none ),
2092 #endif //FF_MMI_CAMERA_APP
2093
2094 #ifdef FF_MMI_TEST_CAMERA
2095 MENU_ITEM(TxtCameraTest, mmi_camera_test_launch_view_finder, item_flag_none ),
2096 #endif /*FF_MMI_TEST_CAMERA */
2097 // Aug 22, 2005 REF: ENH 31154 xdeepadh
2098 #ifdef FF_MMI_FILE_VIEWER
2099 MENU_ITEM(TxtFileViewer, LaunchFileViewer, item_flag_none ),
2100 #endif //FF_MMI_FILE_VIEWER
2101 // Nov 14, 2005 REF: OMAPS00044445 xdeepadh
2102 #ifndef FF_MMI_FILEMANAGER
2103 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC)
2104 MENU_ITEM( TxtPlayerTest, mmi_audio_player_Application, item_flag_none ),//Sep 11, 2006 DR: OMAPS00094182 xrashmic
2105 #endif/* FF_MMI_TEST_MP3 */
2106 #endif
2107 #ifdef BTE_MOBILE
2108 SUB_MENU( TxtBluetooth, menuBluetooth, item_flag_none ),
2109 #endif
2110
2111 #ifndef FF_NO_VOICE_MEMO
2112 /* Voice memo Menu Display */
2113 #ifdef FF_MMI_VOICEMEMO
2114 SUB_MENU( TxtVoiceMemo, menuVoiceMemoUC, item_flag_none ),
2115 #else
2116 SUB_MENU( TxtVoiceMemo, menuVoiceMemo, item_flag_none ),
2117 #endif
2118 #endif
2119
2120 //x0pleela 24 Feb, 2006 ER OMAPS00067709
2121 #ifdef FF_PCM_VM_VB
2122 SUB_MENU( TxtPcmVoiceMemo, menuPcmVoiceMemo, item_flag_none ),
2123
2124 //x0pleela 09 Mar, 2006 ER: OMAPS00067709
2125 //menu item of Voice Buffering
2126 SUB_MENU( TxtVoiceBuffering, menuVoiceBuffering, item_flag_none ),
2127 #endif
2128 #ifdef FF_MMI_MULTIMEDIA
2129 /* Multimedia Application initial menu specification. */
2130 SUB_MENU( TxtMultimediaApp, menuMultimediaApp, item_flag_none ),
2131 #endif
2132 #ifdef FF_MMI_MULTIMEDIA
2133 /* Multimedia Application initial menu specification. */
2134 SUB_MENU( TxtMultimediaApp, menuMultimediaApp, item_flag_none ),
2135 #endif
2136 MENU_ITEM( TxtBootTime, menuBootTimeMsmt, item_flag_none ), /*OMAPS00091029 x0039928(sumanth)*/
2137 #ifdef FF_MMI_FILEMANAGER
2138 SUB_MENU( TxtFileMgmt, menuFMDrives, item_flag_none ),
2139 #endif
2140 END_MENU( menuApplications, menuListArea, COLOUR_LIST_SUBMENU )
2141
2142
2143 //Jun 19, 2006 DR: OMAPS00070657 xdeepadh
2144 //Only selected applications can be accessed from active call screen
2145 BEGIN_MENU( activecallApps )
2146 #ifdef MMI_MELODYGENERATOR
2147 MENU_ITEM( TxtMelodygenerator, (MenuFunc)melody_generator_aktivate, item_flag_none ),
2148 #endif /* MMI_MELODYGENERATOR */
2149 #ifdef NEPTUNE_BOARD
2150 #ifdef MMI_POWER_MANAGEMENT_TEST
2151 MENU_ITEM( TxtPowerMgnt, (MenuFunc)mmi_PowerManagement, item_flag_none ),
2152 #endif
2153 #else
2154 #endif /* MMIGAME */
2155
2156 // Aug 22, 2005 REF: ENH 31154 xdeepadh
2157 #ifdef FF_MMI_FILE_VIEWER
2158 MENU_ITEM(TxtFileViewer, LaunchFileViewer, item_flag_none ),
2159 #endif //FF_MMI_FILE_VIEWER
2160
2161 #ifdef BTE_MOBILE
2162 SUB_MENU( TxtBluetooth, menuBluetooth, item_flag_none ),
2163 #endif
2164
2165 #ifndef FF_NO_VOICE_MEMO
2166 /* Voice memo Menu Display */
2167 #ifdef FF_MMI_VOICEMEMO
2168 SUB_MENU( TxtVoiceMemo, menuVoiceMemoUC, item_flag_none ),
2169 #else
2170 SUB_MENU( TxtVoiceMemo, menuVoiceMemo, item_flag_none ),
2171 #endif
2172 #endif
2173
2174 #ifdef FF_PCM_VM_VB
2175 SUB_MENU( TxtPcmVoiceMemo, menuPcmVoiceMemo, item_flag_none ),
2176
2177 //x0pleela 09 Mar, 2006 ER: OMAPS00067709
2178 //menu item of Voice Buffering
2179 SUB_MENU( TxtVoiceBuffering, menuVoiceBuffering, item_flag_none ),
2180 #endif
2181
2182 #ifdef FF_MMI_MULTIMEDIA
2183 /* Multimedia Application initial menu specification. */
2184 SUB_MENU( TxtMultimediaApp, menuMultimediaApp, item_flag_none ),
2185 #endif
2186 END_MENU( activecallApps, menuListArea, COLOUR_LIST_SUBMENU )
2187
2188 /*---------------------------------------------------------------------------*/
2189
2190 /*
2191 * Settings menus
2192 */
2193 /* Sub-Menu of Language */
2194 BEGIN_MENU( menuLanguage )
2195 MENU_ITEM( TxtEnglish, Mmi_Set2English, item_flag_none ),
2196 #ifndef CHINESE_MMI
2197 MENU_ITEM( TxtGerman, Mmi_Set2German, item_flag_none )
2198 #else
2199 MENU_ITEM( TxtChinese, Mmi_Set2Chinese, item_flag_none )
2200 #endif
2201 END_MENU( menuLanguage, menuListArea, COLOUR_LIST_SUBMENU )
2202
2203
2204 /* Sub-Menu of AnyKey */
2205 BEGIN_MENU( menuAnyKeySet )
2206 MENU_ITEM( TxtOn, settingsAnyKeyAnswerOn, item_flag_none ),
2207 MENU_ITEM( TxtOff, settingsAnyKeyAnswerOff, item_flag_none )
2208 END_MENU( menuAnyKeySet, menuListArea, COLOUR_LIST_SUBMENU )
2209
2210
2211 /* Sub-Menu of AutoAnswer */
2212 BEGIN_MENU( menuAutoAnswerSet )
2213 MENU_ITEM( TxtOn, settingsAutoAnswerOn, item_flag_none ),
2214 MENU_ITEM( TxtOff, settingsAutoAnswerOff, item_flag_none )
2215 END_MENU( menuAutoAnswerSet, menuListArea, COLOUR_LIST_SUBMENU )
2216
2217
2218 /* Sub-Menu of AutoRedial */
2219 BEGIN_MENU( menuAutoRedialSet )
2220 MENU_ITEM( TxtOn, settingsAutoRedialOn, item_flag_none ),
2221 MENU_ITEM( TxtOff, settingsAutoRedialOff, item_flag_none )
2222 END_MENU( menuAutoRedialSet, menuListArea, COLOUR_LIST_SUBMENU )
2223
2224 /* Sub-menu of time Format */
2225 BEGIN_MENU( menuTimeFormat )
2226 MENU_ITEM( TxtTwelveHour, twelve_hour_clock, item_flag_none ),
2227 MENU_ITEM( TxtTwentyfourHour, twentyfour_hour_clock, item_flag_none ),
2228
2229 END_MENU( menuTimeFormat, menuListArea, COLOUR_LIST_SUBMENU )
2230 /* Sub-menu of in-call timer */
2231 BEGIN_MENU( menuInCallTimer )
2232 MENU_ITEM( TxtOn, menuInCallTimerOn, item_flag_none ),
2233 MENU_ITEM( TxtOff, menuInCallTimerOff, item_flag_none ),
2234
2235 END_MENU( menuInCallTimer, menuListArea, COLOUR_LIST_SUBMENU )
2236 /*Sub-Menu of Clock */
2237 /* GW 15/09/01 Removed debug menu items */
2238 BEGIN_MENU( menuTypclock )
2239 MENU_ITEM( TxtTimeDate, settingsTimeDate, item_flag_none ),
2240 MENU_ITEM( TxtAlarm, alarmTimeDate, item_flag_none ),
2241 MENU_ITEM( TxtClearAlarm, clear_alarm, item_flag_none ),
2242 /* Jul 22,2004 CRR:20896 xrashmic - SASKEN */
2243 /* Instead of providing the submenu directly we call a function */
2244 /* where we set the menu and also higlight the previously selected menu item */
2245 MENU_ITEM( TxtTimeFormat, settingsFocusTimeFormatCurSel, item_flag_none ),
2246 SUB_MENU( TxtInCallTimer, menuInCallTimer, item_flag_none )
2247 END_MENU( menuTypclock, menuListArea, COLOUR_LIST_SUBMENU )
2248
2249 #ifdef FF_TIMEZONE
2250 BEGIN_MENU( menuNITZ )
2251 MENU_ITEM( TxtAutomatic, settingsNITZ, item_flag_none ),
2252 MENU_ITEM( TxtOn, settingsNITZ, item_flag_none ),
2253 MENU_ITEM( TxtOff, settingsNITZ, item_flag_none )
2254 END_MENU( menuNITZ, menuListArea, COLOUR_LIST_SUBMENU )
2255 #endif
2256 /* Sub-Menu of KeypadTones */
2257 BEGIN_MENU( menuSetTones2 )
2258 MENU_ITEM( TxtSilent, soundsKeypadSilent, item_flag_none ),
2259 MENU_ITEM( TxtClick, soundsKeypadClick, item_flag_none ),
2260 MENU_ITEM( TxtDTMF, soundsKeypadDTMF, item_flag_none )
2261 END_MENU( menuSetTones2, menuListArea, COLOUR_LIST_SUBMENU )
2262
2263 /* Sub-Menu of Volume Settings */
2264 BEGIN_MENU( menuSetVolume )
2265 MENU_ITEM( TxtSilent, soundsVolSilent, item_flag_none ),
2266 MENU_ITEM( TxtLow, soundsVolLow, item_flag_none ),
2267 MENU_ITEM( TxtMedium, soundsVolMedium, item_flag_none ),
2268 MENU_ITEM( TxtHigh, soundsVolHigh, item_flag_none ),
2269 /* Apr 05, 2005 REF: ENH 29994 xdeepadh */
2270 #ifndef FF_MIDI_RINGER
2271 /* Increasing option is not present for Generic Midi Ringer */
2272 MENU_ITEM( TxtIncreasing, soundsVolInc, item_flag_none )
2273 #endif
2274 END_MENU( menuSetVolume, menuListArea, COLOUR_LIST_SUBMENU )
2275
2276 /* Nov 29, 2004 REF: CRR 25051 xkundadu */
2277 /* Description: INCALL SCREEN ?ADJUSTING THE VOLUME */
2278 /* Fix: Added these menu items. If the user presses MENU_UP/DOWN */
2279 /* this menu will come up to allow the user to select the speaker volume */
2280 BEGIN_MENU( menuSelectVolume )
2281 MENU_ITEM( TxtLevel1,SetVolumeLevel1, item_flag_none ),
2282 MENU_ITEM( TxtLevel2, SetVolumeLevel2, item_flag_none ),
2283 MENU_ITEM( TxtLevel3,SetVolumeLevel3, item_flag_none ),
2284 MENU_ITEM( TxtLevel4, SetVolumeLevel4, item_flag_none ),
2285 MENU_ITEM( TxtLevel5, SetVolumeLevel5, item_flag_none )
2286 END_MENU( menuSelectVolume, menuListArea, COLOUR_LIST_SUBMENU )
2287
2288 /* Sub-Menu For PCM / MP3 / AMR file selection for ring tones */
2289 #ifdef FF_MMI_RINGTONE
2290 BEGIN_MENU( menuRingerPcmFileSelection )
2291 MENU_ITEM( TxtFFS, mmi_PCMRinger_Files, item_flag_none),
2292 MENU_ITEM( TxtMMC, mmi_PCMRinger_Files, item_flag_none),
2293 END_MENU( menuRingerPcmFileSelection, menuListArea, COLOUR_LIST_SUBMENU )
2294
2295 BEGIN_MENU( menuRingerMp3FileSelection )
2296 MENU_ITEM( TxtFFS, mmi_MP3Ringer_Files, item_flag_none),
2297 MENU_ITEM( TxtMMC, mmi_MP3Ringer_Files, item_flag_none),
2298 END_MENU( menuRingerMp3FileSelection, menuListArea, COLOUR_LIST_SUBMENU )
2299
2300 BEGIN_MENU( menuRingerAmrFileSelection )
2301 MENU_ITEM( TxtFFS, mmi_AMRNBRinger_Files, item_flag_none),
2302 MENU_ITEM( TxtMMC, mmi_AMRNBRinger_Files, item_flag_none),
2303 END_MENU( menuRingerAmrFileSelection, menuListArea, COLOUR_LIST_SUBMENU )
2304 BEGIN_MENU( menuSelectTones )
2305 SUB_MENU( TxtPCM, menuRingerPcmFileSelection, item_flag_none ),
2306 SUB_MENU( TxtMP3, menuRingerMp3FileSelection, item_flag_none ),
2307 SUB_MENU( TxtAMR, menuRingerAmrFileSelection, item_flag_none )
2308 END_MENU( menuSelectTones, menuListArea, COLOUR_LIST_SUBMENU )
2309 #endif
2310
2311 /* Sub-Menu of Ringer,SMS Tone,Alarm */
2312 BEGIN_MENU( menuSetTones )
2313 #ifdef FF_MMI_RINGTONE
2314 SUB_MENU( TxtMelody, menuSelectTones, item_flag_none ),
2315 #else
2316 MENU_ITEM( TxtMelody, soundsRinger, item_flag_none ),
2317 #endif
2318 MENU_ITEM_SUB_MENU( TxtVolume, menuSetVolume,soundsSetVolume, item_flag_none )
2319 END_MENU( menuSetTones, menuListArea, COLOUR_LIST_SUBMENU )
2320
2321 /* Sub-Menu of Tones */
2322 BEGIN_MENU( menuTonesSet )
2323 MENU_ITEM_SUB_MENU( TxtRinger, menuSetTones,soundReasonRinger, item_flag_none ),
2324 MENU_ITEM_SUB_MENU( TxtSmsTone, menuSetTones,soundReasonSmsTone, item_flag_none ),
2325 MENU_ITEM_SUB_MENU( TxtAlarm, menuSetTones,soundReasonAlarm, item_flag_none ),
2326 SUB_MENU( TxtKeypadTones, menuSetTones2, item_flag_none )
2327 END_MENU( menuTonesSet, menuListArea, COLOUR_LIST_SUBMENU )
2328
2329
2330 /* Sub-Menu of Network Selection */
2331 BEGIN_MENU( menuNetworkSet )
2332 MENU_ITEM( TxtAutomatic,(MenuFunc)network_set_mode_auto, item_flag_none ),
2333 MENU_ITEM( TxtManual, (MenuFunc)network_set_mode_man, item_flag_none ),
2334 MENU_ITEM( TxtList, (MenuFunc)network_pref_list, item_flag_none )
2335 END_MENU( menuNetworkSet, menuListArea, COLOUR_LIST_SUBMENU )
2336
2337
2338 //Sub-Menu of Hide ID
2339 BEGIN_MENU( menuHideIDSet )
2340 MENU_ITEM( TxtCheckStatus, servicesCheckCLIR , item_flag_none ),
2341 MENU_ITEM( TxtActivate , servicesActivateCLIR , item_flag_none ),
2342 MENU_ITEM( TxtDeactivate , servicesDeactivateCLIR , item_flag_none )
2343 END_MENU( menuHideIDSet, menuListArea, COLOUR_LIST_SUBMENU )
2344
2345 /* Marcus: CCBS: 13/11/2002: Start */
2346 //Sub-Menu of CCBS
2347 BEGIN_MENU( menuCCBS )
2348 MENU_ITEM( TxtCheckStatus, call_ccbs, item_flag_none ),
2349 MENU_ITEM( TxtActivate , call_ccbs, item_flag_none ),
2350 MENU_ITEM( TxtDeactivate , call_ccbs, item_flag_none )
2351 END_MENU( menuCCBS, menuListArea, COLOUR_LIST_SUBMENU1 )
2352 /* Marcus: CCBS: 13/11/2002: End */
2353
2354 //Sub-Menu of Call Waiting
2355 BEGIN_MENU( menuCallWaitingSet )
2356 MENU_ITEM( TxtCheckStatus, servicesCheckCWaiting, item_flag_none ),
2357 MENU_ITEM( TxtActivate, servicesActivateCWaiting, item_flag_none ),
2358 MENU_ITEM( TxtDeactivate, servicesDeactivateCWaiting, item_flag_none )
2359 END_MENU( menuCallWaitingSet, menuListArea, COLOUR_LIST_SUBMENU )
2360
2361
2362 //Sub-Menu
2363 BEGIN_MENU( menuCallBarring)
2364 MENU_ITEM ( TxtCheckStatus, servicesCallBarringCheck, item_flag_none ),
2365 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: start
2366 //Selecting this menuItem calls serivcesCallBarringActivatePassword() - sets a flag indicating activation
2367 MENU_ITEM ( TxtSetBar, servicesCallBarringActivatePassword, item_flag_none ),
2368 //Selecting this menuItem calls serivcesCallBarringDeactivatePassword() - sets a flag indicating deactivation
2369 MENU_ITEM ( TxtCancel, servicesCallBarringDeactivatePassword,item_flag_none )
2370 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: end
2371 END_MENU( menuCallBarring, menuListArea, COLOUR_LIST_SUBMENU )
2372
2373
2374 //Sub-Menu of Call Barring
2375 BEGIN_MENU( menuBarringSet )
2376 MENU_ITEM_SUB_MENU ( TxtOutgoing, menuCallBarring, servicesBarringAllOutgoing,item_flag_none ),
2377 MENU_ITEM_SUB_MENU ( TxtInterCalls, menuCallBarring, servicesBarringInternational,item_flag_none ),
2378 MENU_ITEM_SUB_MENU ( TxtInterHome, menuCallBarring, servicesBarringInternationalHome,item_flag_none ),
2379 MENU_ITEM_SUB_MENU ( TxtIncomingCall, menuCallBarring, servicesBarringAllIncoming ,item_flag_none ),
2380 MENU_ITEM_SUB_MENU ( TxtWhenRoaming, menuCallBarring, servicesBarringIncomingRoaming,item_flag_none ),
2381
2382 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: start
2383 //Selecting this menuItem calls servicesCallBarringCancelAllPassword - sets a flag to cancel all barring
2384 //and also prompts for the password
2385 MENU_ITEM( TxtCancelAllBars, servicesCallBarringCancelAllPassword, item_flag_none ),
2386
2387 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: start
2388 //Selecting this menuItem calls enterOldPassword - sets a flag for change of password and also
2389 //prompts for the password
2390 MENU_ITEM( TxtChangePassword, enterOldCBPassword, item_flag_none )
2391 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: end
2392 END_MENU( menuBarringSet, menuListArea, COLOUR_LIST_SUBMENU )
2393
2394
2395 BEGIN_MENU(menuBandSelect)
2396 MENU_ITEM(TxtStatus, mmi_band_radio_mode_info, item_flag_none),
2397 MENU_ITEM(TxtAutomatic, mmi_band_radio_mode_change_auto, item_flag_none),
2398 MENU_ITEM(TxtManual, mmi_band_radio_mode_change_manual, item_flag_none ),
2399
2400 END_MENU(menuBandSelect, menuListArea, COLOUR_LIST_SUBMENU)
2401
2402 /*SPR 1392, call deflection menu*/
2403 BEGIN_MENU(menuCallDeflection)
2404 MENU_ITEM(TxtOn, call_deflection_on, item_flag_none),
2405 MENU_ITEM(TxtOff, call_deflection_off, item_flag_none)
2406 END_MENU(menuCallDeflection, menuListArea, COLOUR_LIST_SUBMENU1)
2407
2408
2409 //x0pleela 23 May, 2006 DR: OMAPS00070657
2410 //Adding submenu for the user to select line 1 or line 2
2411 #ifdef FF_CPHS
2412 BEGIN_MENU(cphs_edit_line)
2413 MENU_ITEM(TxtLine1, cphs_edit_line1, item_flag_none),
2414 MENU_ITEM(TxtLine2, cphs_edit_line2,item_flag_none)
2415 END_MENU(cphs_edit_line,menuListArea,COLOUR_LIST_SUBMENU)
2416 #endif
2417
2418 //x0pleela 07 june, 2006 DR: OMAPS00070657
2419 //the following menu items should be displayed for both flags MMI_GPRS_ENABLED and FF_CPHS
2420 #if defined(MMI_GPRS_ENABLED) || defined(FF_CPHS)
2421 BEGIN_MENU(menuLineSelect)
2422 MENU_ITEM(TxtStatus, cphs_als_status, item_flag_none),
2423 MENU_ITEM(TxtLine1, cphs_line1_select, CphsALSUnlocked),
2424 MENU_ITEM(TxtLine2, cphs_line2_select, CphsALSUnlocked ),
2425 MENU_ITEM(TxtLockAls, CphsAlsLock, CphsALSUnlocked ),
2426 MENU_ITEM(TxtUnlockAls, CphsAlsUnlock, CphsALSLocked )
2427 #ifdef FF_CPHS
2428 ,
2429 SUB_MENU(TxtEditLineName, cphs_edit_line, item_flag_none)
2430 #endif
2431 END_MENU(menuLineSelect, menuListArea,COLOUR_LIST_SUBMENU )
2432 #endif
2433
2434
2435 #ifdef MMI_GPRS_ENABLED
2436
2437 BEGIN_MENU( menuSMSService )
2438 MENU_ITEM( TxtGPRS, GPRS_MenuSelectSms_set, item_flag_none ),
2439 MENU_ITEM( TxtCSD, GPRS_MenuSelectSms_set, item_flag_none ),
2440 MENU_ITEM( TxtGPRSPreferred, GPRS_MenuSelectSms_set, item_flag_none ),
2441 MENU_ITEM( TxtCSDPreferred, GPRS_MenuSelectSms_set, item_flag_none )
2442 END_MENU( menuSMSService , menuListArea, COLOUR_LIST_SUBMENU )
2443
2444 BEGIN_MENU( menuDataCount )
2445 MENU_ITEM ( TxtIncomingData, GPRS_MenuIncomingDataCount, item_flag_none ),
2446 MENU_ITEM ( TxtOutgoingData, GPRS_MenuOutgoingDataCount, item_flag_none )
2447 END_MENU( menuDataCount, menuListArea, COLOUR_LIST_SUBMENU )
2448
2449
2450 #ifdef NEPTUNE_BOARD /* Mar 27, 2006 REF:ER OMAPS00071798 */
2451 #ifdef MMI_TTY_ENABLED
2452 BEGIN_MENU(menuTtyAudioMode)
2453 MENU_ITEM(TxtAudioModeText, ctty_audio_mode_text, item_flag_none),
2454 MENU_ITEM(TxtAudioModeVco, ctty_audio_mode_vco, item_flag_none ),
2455 MENU_ITEM(TxtAudioModeUnknown, ctty_audio_mode_unknown, item_flag_none ),
2456 END_MENU(menuTtyAudioMode, menuListArea,COLOUR_LIST_SUBMENU )
2457 #endif
2458 #endif
2459
2460 /* GPRS Submenu */
2461
2462 BEGIN_MENU( menuDataSettings )
2463 MENU_ITEM( TxtAttach, GPRS_MenuAttach, item_flag_none ),
2464 MENU_ITEM( TxtDetach, GPRS_MenuDetach, item_flag_none ),
2465 SUB_MENU ( TxtDataCount, menuDataCount, item_flag_none ),
2466 MENU_ITEM ( TxtSMS, GPRS_MenuSelectSms, item_flag_none ),
2467 /* SPR#2346 - SH - Removed GPRS test options */
2468 END_MENU( menuDataSettings, menuListArea, COLOUR_LIST_SUBMENU )
2469 #endif //MMI_GPRS_ENABLED
2470
2471 //SPR#1113 - DS - New menu "Netw. Related" added
2472 //SPR#1347 - GW - Moved network menu outside of '#ifdef MMI_GPRS_ENABLED'
2473 // Disabled 'Band selection' when GPRS is disabled.
2474 //Menu of Network Related services
2475 BEGIN_MENU( menuNetwork )
2476 //x0pleela 25 May, 2006 DR: OMAPS00070657
2477 #if defined(MMI_GPRS_ENABLED) || defined(FF_CPHS)
2478 SUB_MENU( TxtSelectLine, menuLineSelect, ALSPresent),
2479 #endif
2480 #ifdef FF_CPHS_REL4
2481 MENU_ITEM(TxtMSP, build_profile_list, MSPPresent),
2482 #endif
2483 SUB_MENU ( TxtCallDivert, menuDivert, item_flag_none),
2484 SUB_MENU( TxtNetworkSel, menuNetworkSet, item_flag_none ),
2485 SUB_MENU(TxtBand, menuBandSelect, item_flag_none),
2486
2487 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: start
2488 //points to the menu structure of differnt callBarring services instead of calling the password entry screen
2489 SUB_MENU(TxtCallBarringAll, menuBarringSet, item_flag_none),
2490 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: end
2491
2492 SUB_MENU( TxtCallWaiting, menuCallWaitingSet, item_flag_none ),
2493 SUB_MENU( TxtHideID, menuHideIDSet, item_flag_none ),
2494 SUB_MENU(TxtCallBack, menuCCBS, item_flag_none ), // Marcus: CCBS: 13/11/2002
2495 SUB_MENU(TxtCallDeflection, menuCallDeflection, item_flag_none ) //SPR 1392
2496 #ifdef MMI_TTY_ENABLED
2497 , /* Comma here so previous item won't report error when flag switched off */
2498 MENU_ITEM( TxtTTY, call_tty_menu, item_flag_none) /* SPR#1352 - SH - TTY menu */
2499 #ifdef NEPTUNE_BOARD /* Mar 27, 2006 REF:ER OMAPS00071798 */
2500 #ifdef MMI_TTY_ENABLED
2501 , /* Comma here so previous item won't report error when flag switched off */
2502 SUB_MENU( TxtAudioMode, menuTtyAudioMode, item_flag_none )
2503 #endif
2504 #endif
2505
2506 #endif
2507
2508 END_MENU( menuNetwork, menuListArea, COLOUR_LIST_SUBMENU )
2509
2510
2511 // Menu of Settings
2512 #ifdef _TESTING__
2513 BEGIN_MENU(menuCphsTesting)
2514 MENU_ITEM (TxtRead, Cphs_reading_test, item_flag_none),
2515 MENU_ITEM(TxtWrite, Cphs_writing_test, item_flag_none)
2516 END_MENU(menuCphsTesting, menuListArea,COLOUR_LIST_SUBMENU)
2517 #endif
2518
2519 #ifdef COLOURDISPLAY
2520 int storeMenuOption(MfwMnu* mnu, MfwMnuItem* mnuItem);
2521 int colMenuSelected(MfwMnu* mnu, MfwMnuItem* mnuItem);
2522 int icon_bgdMenuSelected(MfwMnu* mnu, MfwMnuItem* mnuItem);
2523
2524 BEGIN_MENU(menuColours)
2525 MENU_ITEM (TxtColourBlack, colMenuSelected, item_flag_none),
2526 MENU_ITEM (TxtColourBlue, colMenuSelected, item_flag_none),
2527 MENU_ITEM (TxtColourCyan, colMenuSelected, item_flag_none),
2528 MENU_ITEM (TxtColourGreen, colMenuSelected, item_flag_none),
2529 MENU_ITEM (TxtColourMagenta, colMenuSelected, item_flag_none),
2530 MENU_ITEM (TxtColourYellow, colMenuSelected, item_flag_none),
2531 MENU_ITEM (TxtColourRed, colMenuSelected, item_flag_none),
2532 MENU_ITEM (TxtColourWhite, colMenuSelected, item_flag_none),
2533 MENU_ITEM (TxtColourPink, colMenuSelected, item_flag_none),
2534 MENU_ITEM (TxtColourOrange, colMenuSelected, item_flag_none),
2535 MENU_ITEM (TxtColourLightBlue, colMenuSelected, item_flag_none),
2536 MENU_ITEM (TxtColourLightGreen, colMenuSelected, item_flag_none),
2537 MENU_ITEM (TxtColourPaleYellow, colMenuSelected, item_flag_none),
2538 MENU_ITEM (TxtColourTransparent, colMenuSelected, item_flag_none),
2539 END_MENU_MULTICOLOUR(menuColours, menuListArea,COLOUR_LIST_COLOUR,TxtNull)
2540
2541 BEGIN_MENU(menuColourObjects)
2542 MENU_ITEM_SUB_MENU (TxtIdleScreenBackground, menuColours, storeMenuOption, item_flag_none),
2543 MENU_ITEM_SUB_MENU (TxtIdleScreenSoftKey, menuColours, storeMenuOption, item_flag_none),
2544 MENU_ITEM_SUB_MENU (TxtIdleScreenText, menuColours, storeMenuOption, item_flag_none),
2545 MENU_ITEM_SUB_MENU (TxtIdleScreenNetworkName, menuColours, storeMenuOption, item_flag_none),
2546 MENU_ITEM_SUB_MENU (TxtGeneralBackground , menuColours, storeMenuOption, item_flag_none),
2547 MENU_ITEM_SUB_MENU (TxtMenuSoftKeyForeground , menuColours, storeMenuOption, item_flag_none),
2548 MENU_ITEM_SUB_MENU (TxtMenuSoftKeyBackground , menuColours, storeMenuOption, item_flag_none),
2549 MENU_ITEM_SUB_MENU (TxtSubMenuHeadingText , menuColours, storeMenuOption, item_flag_none),
2550 MENU_ITEM_SUB_MENU (TxtSubMenuHeadingBackground, menuColours, storeMenuOption, item_flag_none),
2551 MENU_ITEM_SUB_MENU (TxtSubMenuTextForeground , menuColours, storeMenuOption, item_flag_none),
2552 MENU_ITEM_SUB_MENU (TxtSubMenuTextBackground, menuColours, storeMenuOption, item_flag_none),
2553 MENU_ITEM_SUB_MENU (TxtSubMenuSelectionBar, menuColours, storeMenuOption, item_flag_none),
2554 MENU_ITEM_SUB_MENU (TxtPopUpTextForeground, menuColours, storeMenuOption, item_flag_none),
2555 MENU_ITEM_SUB_MENU (TxtPopUpTextBackground , menuColours, storeMenuOption, item_flag_none),
2556 END_MENU_MULTICOLOUR(menuColourObjects, menuListArea,COLOUR_LIST_COLOUR,TxtColourMenu)
2557
2558 BEGIN_MENU(menuBackdrops)
2559 MENU_ITEM (TxtNone, icon_bgdMenuSelected, item_flag_none),
2560 // MENU_ITEM (TxtBgdSunset, icon_bgdMenuSelected, item_flag_none),
2561 // MENU_ITEM (TxtBgdSquares, icon_bgdMenuSelected, item_flag_none),
2562 // MENU_ITEM (TxtBgdTree, icon_bgdMenuSelected, item_flag_none),
2563 MENU_ITEM (TxtBgdEdinburgh1, icon_bgdMenuSelected, item_flag_none),
2564 MENU_ITEM (TxtBgdEdinburgh2, icon_bgdMenuSelected, item_flag_none),
2565 MENU_ITEM (TxtBgdEdinburgh3, icon_bgdMenuSelected, item_flag_none),
2566 MENU_ITEM (TxtBgdEdinburgh4, icon_bgdMenuSelected, item_flag_none),
2567 MENU_ITEM (TxtBgdTILogo, icon_bgdMenuSelected, item_flag_none)
2568 END_MENU(menuBackdrops, menuListArea,COLOUR_LIST_SUBMENU)
2569
2570 BEGIN_MENU(menuBackgroundScrSelect)
2571 MENU_ITEM_SUB_MENU (TxtIdleScreen, menuBackdrops, storeMenuOption, item_flag_none),
2572 MENU_ITEM_SUB_MENU (TxtMenuScreen, menuBackdrops, storeMenuOption, item_flag_none),
2573 END_MENU(menuBackgroundScrSelect, menuListArea,COLOUR_LIST_SUBMENU)
2574
2575 BEGIN_MENU(menuProviderIconSet)
2576 MENU_ITEM (TxtYes, icon_networkShow, item_flag_none),
2577 MENU_ITEM (TxtNo, icon_networkDontShow, item_flag_none),
2578 END_MENU(menuProviderIconSet, menuListArea,COLOUR_LIST_SUBMENU)
2579
2580 #endif
2581
2582 /*
2583 * SPR#1113 - DS - Removed network related services from "Phone Settings" menu
2584 */
2585 //xrashmic 9 Sep 2006, OMAPS00092732
2586 //xashmic 27 Sep 2006, OMAPS00096389
2587 #ifdef FF_MMI_USBMS
2588 BEGIN_MENU(menuPS)
2589 MENU_ITEM (TxtPSShutdown, setUSBMSPS, item_flag_none),
2590 MENU_ITEM (TxtNoPSShutdown, setUSBMSPS, item_flag_none),
2591 END_MENU(menuPS, menuListArea,COLOUR_LIST_SUBMENU)
2592 BEGIN_MENU(menuPopup)
2593 MENU_ITEM (TxtYes, setUSBMSPopup, item_flag_none),
2594 MENU_ITEM (TxtNo, setUSBMSPopup, item_flag_none),
2595 END_MENU(menuPopup, menuListArea,COLOUR_LIST_SUBMENU)
2596 BEGIN_MENU( menuUSBPortOptions )
2597 MENU_ITEM( TxtUSBMS, mmi_usb_enumeration, item_flag_none ),
2598 MENU_ITEM( TxtUSBTrace, mmi_usb_enumeration, item_flag_none ),
2599 MENU_ITEM( TxtUSBFax, mmi_usb_enumeration, item_flag_none ),
2600 MENU_ITEM( TxtUSBFaxnTrace, mmi_usb_enumeration, item_flag_none ),
2601 MENU_ITEM( TxtUSBMSnTrace, mmi_usb_enumeration, item_flag_none ),
2602 MENU_ITEM( TxtUSBFaxnMS, mmi_usb_enumeration, item_flag_none ),
2603 MENU_ITEM( TxtAll, mmi_usb_enumeration, item_flag_none ),
2604 END_MENU( menuUSBPortOptions, menuListArea, COLOUR_LIST_SUBMENU )
2605 BEGIN_MENU(menuUSBMS)
2606 SUB_MENU (TxtPS, menuPS, item_flag_none),
2607 SUB_MENU (TxtPopupMenu, menuPopup, item_flag_none),
2608 SUB_MENU(TxtUSBMSPorts, menuUSBPortOptions, item_flag_none),
2609 END_MENU(menuUSBMS, menuListArea,COLOUR_LIST_SUBMENU)
2610 #endif
2611
2612 /*OMAPS00098881(removing power variant) a0393213(Prabakar)*/
2613 #ifdef FF_POWER_MANAGEMENT
2614 BEGIN_MENU(menuScreenUpdate)
2615 MENU_ITEM(TxtOn, screenUpdateOn, item_flag_none),
2616 MENU_ITEM(TxtOff, screenUpdateOff,item_flag_none)
2617 END_MENU(menuScreenUpdate, menuListArea, COLOUR_LIST_SUBMENU)
2618 #endif
2619
2620
2621 BEGIN_MENU( menuSet )
2622 #ifdef _TESTING__
2623 SUB_MENU(TxtExtra, menuCphsTesting, item_flag_none),
2624 #endif
2625 SUB_MENU( TxtLanguages, menuLanguage, item_flag_none ),
2626 #ifdef MMI_GPRS_ENABLED
2627 SUB_MENU( TxtGPRS, menuDataSettings, item_flag_none ),
2628 #endif
2629 SUB_MENU( TxtTones, menuTonesSet, item_flag_none ),
2630 SUB_MENU( TxtClock, menuTypclock, item_flag_none ),
2631 SUB_MENU( TxtAutoredial, menuAutoRedialSet, item_flag_none ),
2632 #ifdef FF_TIMEZONE
2633 SUB_MENU( TxtNitzTimeUpdate, menuNITZ, item_flag_none ),
2634 #endif
2635 //Jul 28, 2004 REF:CRR 20899 xkundadu
2636 //Changed submenu to menuItem to call a function.
2637 //whenever the user presses the 'AutoAnswer' menu, the function
2638 //settingsFocusCurSelAnyKeyAns() will be called, which sets the focus to the
2639 // 'On/Off' menu item depending on whether 'AutoAnswer' is enabld or not.
2640 MENU_ITEM( TxtAutoAnswer,(MenuFunc)settingsFocusCurSelAutoAns, item_flag_none ),
2641
2642 //Jul 28, 2004 REF: CRR 20899 xkundadu
2643 //Changed submenu to menuItem to call a function.
2644 //whenever the user presses the 'Any key Answer' menu, the function
2645 //settingsFocusCurSelAnyKeyAns() will be called, which sets the focus to the
2646 // 'On/Off' menu item depending on whether 'Any Key answer is enabled or not.
2647 MENU_ITEM( TxtAnyKeyAnswer,(MenuFunc)settingsFocusCurSelAnyKeyAns, item_flag_none ),
2648 MENU_ITEM( TxtFactoryReset, factoryReset, item_flag_none ),
2649 #ifdef COLOURDISPLAY
2650 SUB_MENU( TxtColourMenu, menuColourObjects, item_flag_none ),
2651 SUB_MENU( TxtBackground, menuBackgroundScrSelect, item_flag_none ),
2652 // change by Sasken (VVADIRAJ) on March 31th 2004
2653 // Issue Number : MMI-SPR-12822
2654 // changed submenu to menuitem to call a function
2655 // SUB_MENU( TxtProviderIcon, menuProviderIconSet, item_flag_none ),
2656 MENU_ITEM( TxtProviderIcon, (MenuFunc)settingsFocusNwIconCurSel, item_flag_none ),
2657 #endif
2658 //xrashmic 9 Sep 2006, OMAPS00092732
2659 #ifdef FF_MMI_USBMS
2660 SUB_MENU( TxtUSBMS, menuUSBMS, item_flag_none ),
2661 #endif
2662 /*OMAPS00098881(removing power variant) a0393213(Prabakar)*/
2663 #ifdef FF_POWER_MANAGEMENT
2664 SUB_MENU(TxtScreenUpdate, menuScreenUpdate, item_flag_none)
2665 #endif
2666 END_MENU_HEADER( menuSet, menuListArea,COLOUR_LIST_SUBMENU, TxtSettings )
2667 /*---------------------------------------------------------------------------*/
2668
2669
2670 /* SPR890 - SH - Test mode menu */
2671 #ifdef MMI_TEST_MODE
2672 BEGIN_MENU( menuTestMode )
2673 MENU_ITEM_SELECT( TxtTest, test_function, item_flag_none, testSelected),
2674 MENU_ITEM( TxtTest, test_function, item_flag_none ),
2675 MENU_ITEM( TxtTest, test_function, item_flag_none ),
2676 MENU_ITEM( TxtTest, test_function, item_flag_none )
2677 END_MENU( menuTestMode, menuListArea )
2678 #endif
2679 /*---------------------------------------------------------------------------*/
2680
2681 /* SPR890 - SH - Test mode menu */
2682 #ifdef MMI_TEST_MODE
2683 BEGIN_MENU( menuTestMode )
2684 MENU_ITEM_SELECT( TxtTest, test_function, item_flag_none, testSelected),
2685 MENU_ITEM( TxtTest, test_function, item_flag_none ),
2686 MENU_ITEM( TxtTest, test_function, item_flag_none ),
2687 MENU_ITEM( TxtTest, test_function, item_flag_none )
2688 END_MENU( menuTestMode, menuListArea )
2689 #endif
2690 /*---------------------------------------------------------------------------*/
2691
2692
2693 /* Main system menu, keep this here until we get the real one implemented
2694 */
2695 BEGIN_ICON_MENU( menuMainMenu )
2696 #ifdef SIM_TOOLKIT/*MC SPR 975, added compiler switch*/
2697 MENU_ICON_ITEM( &mainIconSimToolkit,TxtSimToolkit, menuSimItemCallback, sim_toolkit_check ),
2698 #endif
2699 SUB_ICON_MENU ( &mainIconMessages,TxtMessages, menuMsg, item_flag_none ),
2700 SUB_ICON_MENU ( &mainIconPhonebook,TxtPhonebook, menuPhbk, item_flag_none ),
2701 SUB_ICON_MENU ( &mainIconRecentCalls,TxtRecentCalls, menuRecent, item_flag_none ),
2702 SUB_ICON_MENU ( &mainIconCallDivert,TxtNetworkServices, menuNetwork, item_flag_none ),
2703 SUB_ICON_MENU ( &mainIconSecurity,TxtSecurity, menuSecurity, item_flag_none ),
2704 SUB_ICON_MENU ( &mainIconCalculator,TxtApplications, menuApplications, item_flag_none ),
2705 SUB_ICON_MENU ( &mainIconSettings,TxtPhoneSettings, menuSet, item_flag_none ),
2706 #ifdef FF_WAP
2707 MENU_ICON_ITEM ( &mainIconWAP,TxtWAP, AUI_menu, item_flag_none )
2708 #endif
2709 END_ICON_MENU( menuMainMenu, menuListArea, COLOUR_LIST_MAIN, &mainIconBackground )
2710
2711
2712
2713 /*******************************************************************************
2714
2715 Public Menu Access Routines
2716
2717 *******************************************************************************/
2718
2719 #ifdef SIM_PERS
2720 //x0pleela 20 July, 2006 ER: OMAPS00087586, OMAPS00087587
2721 //function to call the new menu "menuBootupCatList" from any file
2722 MfwMnuAttr *SIMPCategoryListAttributes( void )
2723 {
2724 return (MfwMnuAttr *) &menuBootupCatList;
2725 }
2726
2727 #endif
2728
2729
2730 #if defined (TI_PS_FF_EM) || defined (MMI_EM_ENABLED)
2731 /*MC, SPR1209 return engineering mode menu*/
2732 MfwMnuAttr *EngModeAttributes( void )
2733 {
2734 return (MfwMnuAttr *) &menuEngMode;
2735 }
2736 #endif
2737
2738 MfwMnuAttr *bookOwnNumberMenuAttributes( void )
2739 {
2740 return (MfwMnuAttr *) &menuOwnNumber;
2741 }
2742 MfwMnuItem *bookOwnNumberMenuItems( void )
2743 {
2744 return (MfwMnuItem *) menuOwnNumberItems;
2745 }
2746
2747 MfwMnuAttr *bookPhonebookMenuAttributes( void )
2748 {
2749 return (MfwMnuAttr *) &menuPhbk;
2750 }
2751 MfwMnuItem *bookPhonebookMenuItems( void )
2752 {
2753 return (MfwMnuItem *) menuPhbkItems;
2754 }
2755
2756 MfwMnuAttr *bookRepRedOptionsMenuAttributes( void )
2757 {
2758 return (MfwMnuAttr *) &menuRepRedOptions;
2759 }
2760 MfwMnuItem *bookRepRedOptionsMenuItems( void )
2761 {
2762 return (MfwMnuItem *) menuRepRedOptionsItems;
2763 }
2764 #ifdef FF_MMI_CPHS
2765 MfwMnuAttr *bookEmergMenuAttributes( void )
2766 {
2767 return (MfwMnuAttr *) &menuEmergOptions;
2768 }
2769 #endif
2770 MfwMnuAttr *bookNameMenuAttributes( void )
2771 {
2772 return (MfwMnuAttr *) &menuNameOptions;
2773 }
2774 // May 3, 2004 REF: CRR MMI-SPR-18555 Rashmi C N(Sasken)
2775 // FDN Numbers menu
2776 MfwMnuAttr *bookNameMenuFDNAttributes( void )
2777 {
2778 return (MfwMnuAttr *) &bookFDNNumbers;
2779 }
2780
2781 MfwMnuItem *bookNameMenuItems( void )
2782 {
2783 return (MfwMnuItem *) menuNameOptionsItems;
2784 }
2785
2786 //Nov 29, 2004 REF: CRR 25051 xkundadu
2787 //Description: INCALL SCREEN ?ADJUSTING THE VOLUME
2788 //Fix: Display the menu items.
2789
2790 MfwMnuAttr *ringerVolumeLevels( void )
2791 {
2792 return (MfwMnuAttr *) &menuSelectVolume;
2793 }
2794
2795 /*MC, SPR 1327, access UPN options menu*/
2796 MfwMnuAttr *bookUPNMenuAttributes( void )
2797 {
2798 return (MfwMnuAttr *) &menuUPNOptions;
2799 }
2800 MfwMnuAttr *bookMainMenuAttributes( void )
2801 {
2802 return (MfwMnuAttr *) &menuMainMenu;
2803 }
2804 MfwMnuItem *bookMainMenuItems( void )
2805 {
2806 return (MfwMnuItem *) menuMainMenuItems;
2807 }
2808
2809 MfwMnuAttr *bookCallBarringMenuAttributes( void )
2810 {
2811 return (MfwMnuAttr *) &menuBarringSet;
2812 }
2813
2814 MfwMnuAttr *calcOptionMenuAttributes( void )
2815 {
2816 return (MfwMnuAttr *) &menuCalcOptions;
2817 }
2818 MfwMnuItem *calcOptionMenuItems( void )
2819 {
2820 return (MfwMnuItem *) menuCalcOptionsItems;
2821 }
2822 //May 27, 2004 REF: CRR 19186 Deepa M.D
2823 //returns the pointer to the SMS Settings Menu.
2824 MfwMnuAttr *settingMenuAttributes(void)
2825 {
2826 return (MfwMnuAttr *) &menuSetMsg;
2827 }
2828 // Aug 22, 2005 REF: ENH 31154 xdeepadh
2829 #ifdef FF_MMI_TEST_CAMERA
2830 //Camera Qulaity menu
2831 MfwMnuAttr *qualityMenuAttributes(void)
2832 {
2833 return (MfwMnuAttr *) &menuSetQuality;
2834 }
2835
2836 MfwMnuAttr *colorMenuAttributes(void)
2837 {
2838 return (MfwMnuAttr *) &menuSetColor;
2839 }
2840 #endif //FF_MMI_TEST_CAMERA
2841 #ifdef FF_MMI_CAMERA_APP
2842 MfwMnuAttr *CameraMenuAttributes(void)
2843 {
2844 return (MfwMnuAttr *) &menuSetCameraparams;
2845 }
2846 #endif //FF_MMI_CAMERA_APP
2847 //xashmic 27 Sep 2006, OMAPS00096389
2848 //xrashmic 9 Sep 2006, OMAPS00092732
2849 #ifdef FF_MMI_USBMS
2850 MfwMnuAttr *USBMenuAttributes(void)
2851 {
2852 return (MfwMnuAttr *) &menuUSBPortOptions;
2853 }
2854 #endif
2855
2856 // Aug 22, 2005 REF: ENH 31154 xdeepadh
2857 #ifdef FF_MMI_FILE_VIEWER
2858 MfwMnuAttr *rotateMenuAttributes(void)
2859 {
2860 return (MfwMnuAttr *) &menuRotateActivate;
2861 }
2862
2863
2864 MfwMnuAttr *fileviewerMenuAttributes( void )//file viewer
2865 {
2866 return (MfwMnuAttr *) &menuFileViewer;
2867 }
2868 #endif
2869
2870 #ifdef FF_MMI_FILE_VIEWER
2871 MfwMnuAttr *ViewOptionsMenuAttributes( void )//file viewer
2872 {
2873 return (MfwMnuAttr *) &menuViewOptions;
2874 }
2875 #endif
2876
2877 //Jun 19, 2006 DR: OMAPS00070657 xdeepadh
2878 //Only selected applications can be accessed from active call screen
2879 //returns the pointer to the Applications Menu.
2880 MfwMnuAttr *applicationsMenuAttributes(void)
2881 {
2882 return (MfwMnuAttr *) &activecallApps;
2883 }
2884
2885 #ifdef MMI_MELODYGENERATOR
2886 MfwMnuAttr *MelgenOptionMenuAttributes( void )
2887 {
2888 return (MfwMnuAttr *) &menuMelgenOptions;
2889 }
2890 MfwMnuItem *MelgenOptionMenuItems( void )
2891 {
2892 return (MfwMnuItem *) menuMelgenOptionsItems;
2893 }
2894 #endif // MMI_MELODYGENERATOR
2895
2896 MfwMnuAttr *ringerVolumeSetting( void )
2897 {
2898 return (MfwMnuAttr *) &menuSetVolume;
2899 }
2900
2901
2902 #ifdef FF_WAP
2903
2904 MfwMnuAttr *WAPMenuAttributes(void)
2905 {
2906 return (MfwMnuAttr *) &menuWAP;
2907 }
2908
2909 MfwMnuItem *WAPMenuItems(void)
2910 {
2911 return (MfwMnuItem *) menuWAPItems;
2912 }
2913
2914 MfwMnuAttr *WAPBookOptMenuAttributes(void)
2915 {
2916 return (MfwMnuAttr *) &menuBookmarkOptions;
2917 }
2918
2919 MfwMnuItem *WAPBookOptMenuItems(void)
2920 {
2921 return (MfwMnuItem *) menuBookmarkOptionsItems;
2922 }
2923
2924 MfwMnuAttr *WAPHistOptMenuAttributes(void)
2925 {
2926 return (MfwMnuAttr *) &menuHistoryOptions;
2927 }
2928
2929 MfwMnuItem *WAPHistOptMenuItems(void)
2930 {
2931 return (MfwMnuItem *) menuHistoryOptionsItems;
2932 }
2933
2934 MfwMnuAttr *WAPProfOptionsAttributes(void)
2935 {
2936 return (MfwMnuAttr *) &menuProfileOptions; /* SPR#2324 - SH */
2937 }
2938
2939 MfwMnuItem *WAPProfOptionsItems(void)
2940 {
2941 return (MfwMnuItem *) menuProfileOptionsItems; /* SPR#2324 - SH */
2942 }
2943
2944 MfwMnuAttr *WAPGoToAttributes(void)
2945 {
2946 return (MfwMnuAttr *) &menuGoTo;
2947 }
2948
2949 MfwMnuItem *WAPGoToItems(void)
2950 {
2951 return (MfwMnuItem *) menuGoToItems;
2952 }
2953
2954 MfwMnuAttr *WAPConnectionTypeAttributes(void)
2955 {
2956 return (MfwMnuAttr *) &menuWAPConnectionType;
2957 }
2958
2959 MfwMnuItem *WAPConnectionTypeItems(void)
2960 {
2961 return (MfwMnuItem *) menuWAPConnectionTypeItems;
2962 }
2963
2964 /* SPR#1983 - SH */
2965
2966 MfwMnuAttr *WAPConnectionSpeedAttributes(void)
2967 {
2968 return (MfwMnuAttr *) &menuWAPConnectionSpeed;
2969 }
2970
2971 MfwMnuItem *WAPConnectionSpeedItems(void)
2972 {
2973 return (MfwMnuItem *) menuWAPConnectionSpeedItems;
2974 }
2975
2976 /* SPR#2324 - SH - "access type" menu is now GPRS/Dialup menu */
2977
2978 MfwMnuAttr *WAPGPRSDialupAttributes(void)
2979 {
2980 return (MfwMnuAttr *) &menuWAPGPRSDialup;
2981 }
2982
2983 MfwMnuItem *WAPGPRSDialupItems(void)
2984 {
2985 return (MfwMnuItem *) menuWAPGPRSDialupItems;
2986 }
2987
2988 MfwMnuAttr *WAPGPRSProfileAttributes(void)
2989 {
2990 return (MfwMnuAttr *) &menuGPRSProfileOptions;
2991 }
2992
2993 MfwMnuItem *WAPGPRSProfileItems(void)
2994 {
2995 return (MfwMnuItem *) menuGPRSProfileOptionsItems;
2996 }
2997
2998 MfwMnuAttr *WAPDialupProfileAttributes(void)
2999 {
3000 return (MfwMnuAttr *) &menuDialupProfileOptions;
3001 }
3002
3003 MfwMnuItem *WAPDialupProfileItems(void)
3004 {
3005 return (MfwMnuItem *) menuDialupProfileOptionsItems;
3006 }
3007
3008 MfwMnuAttr *WAPAdvancedProfileAttributes(void)
3009 {
3010 return (MfwMnuAttr *) &menuAdvancedProfileOptions;
3011 }
3012
3013 MfwMnuItem *WAPAdvancedProfileItems(void)
3014 {
3015 return (MfwMnuItem *) menuAdvancedProfileOptionsItems;
3016 }
3017
3018 /* end SPR#2324 */
3019
3020 MfwMnuAttr *WAPSecurityOptionAttributes(void)
3021 {
3022 return (MfwMnuAttr *) &menuSecurityOption;
3023 }
3024
3025 MfwMnuItem *WAPSecurityOptionItems(void)
3026 {
3027 return (MfwMnuItem *) menuSecurityOptionItems;
3028 }
3029
3030 MfwMnuAttr *WAPSaveHistoryAttributes(void)
3031 {
3032 return (MfwMnuAttr *) &menuSaveHistory;
3033 }
3034
3035 MfwMnuItem *WAPSaveHistoryItems(void)
3036 {
3037 return (MfwMnuItem *) menuSaveHistoryItems;
3038 }
3039
3040 MfwMnuAttr *WAPScaleImagesAttributes(void)
3041 {
3042 return (MfwMnuAttr *) &menuScaleImages;
3043 }
3044
3045 MfwMnuItem *WAPScaleImagesItems(void)
3046 {
3047 return (MfwMnuItem *) menuScaleImagesItems;
3048 }
3049
3050 /* SPR#1983 - SH */
3051
3052 MfwMnuAttr *WAPNewBookmarkAttributes(void)
3053 {
3054 return (MfwMnuAttr *) &menuNewBookmark;
3055 }
3056
3057 MfwMnuItem *WAPNewBookmarkItems(void)
3058 {
3059 return (MfwMnuItem *) menuNewBookmarkItems;
3060 }
3061 /* SPR#2086 - SH */
3062
3063 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
3064
3065 MfwMnuAttr *WAPPushListOptionsAttributes(void)
3066 {
3067 return (MfwMnuAttr *) &menuPushListOptions;
3068 }
3069
3070 MfwMnuItem *WAPPushListOptionsItems(void)
3071 {
3072 return (MfwMnuItem *) menuPushListOptionsItems;
3073 }
3074
3075 MfwMnuAttr *WAPPushMessagesAttributes(void)
3076 {
3077 return (MfwMnuAttr *) &menuPushMessages;
3078 }
3079
3080 MfwMnuItem *WAPPushMessagesItems(void)
3081 {
3082 return (MfwMnuItem *) menuPushMessagesItems;
3083 }
3084 #endif /* PUSH */
3085
3086 #endif // WAP
3087
3088 #ifdef MMI_GPRS_ENABLED
3089
3090 MfwMnuAttr *SMSServiceAttributes(void)
3091 {
3092 return (MfwMnuAttr *) &menuSMSService;
3093 }
3094
3095 MfwMnuItem *SMSServiceItems(void)
3096 {
3097 return (MfwMnuItem *) menuSMSServiceItems;
3098 }
3099
3100 #endif //GPRS
3101
3102 //xpradipg - Aug 4:changes for WAP2.0 Menu
3103 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
3104 MfwMnuAttr *WAPPPGAuthenticationAttributes(void)
3105 {
3106 return (MfwMnuAttr*)&MenuPPGAuthenticationOptions;
3107 }
3108
3109 MfwMnuAttr *WAPWirelessProfiledHTTPAttributes(void)
3110 {
3111 return (MfwMnuAttr*)&MenuWirelessProfiledHTTPOptions;
3112 }
3113 #endif
3114 /* SPR#1112 - SH - Menus for internal phonebook */
3115 #ifdef INT_PHONEBOOK
3116 MfwMnuAttr *SelectBookAttributes(void)
3117 {
3118 return (MfwMnuAttr *) &menuSelectBook;
3119 }
3120
3121 MfwMnuItem *SelectBookItems(void)
3122 {
3123 return (MfwMnuItem *) menuSelectBookItems;
3124 }
3125 #endif
3126
3127 /* SPR#1352 - SH - TTY menu */
3128 #ifdef MMI_TTY_ENABLED
3129 MfwMnuAttr *TTYAttributes(void)
3130 {
3131 return (MfwMnuAttr *) &menuTTY;
3132 }
3133
3134 MfwMnuItem *TTYItems(void)
3135 {
3136 return (MfwMnuItem *) menuTTYItems;
3137 }
3138 /*x0039928 OMAPS00097714 HCO/VCO option - menu items added*/
3139 #ifdef FF_TTY_HCO_VCO
3140 MfwMnuAttr *TTYCOAlwaysAttributes(void)
3141 {
3142 return (MfwMnuAttr *) &menucoTTYAlways;
3143 }
3144
3145 MfwMnuAttr *TTYCONextCallAttributes(void)
3146 {
3147 return (MfwMnuAttr *) &menucoTTYNextCall;
3148 }
3149 #endif
3150 #endif
3151 #ifdef FF_MMI_FILEMANAGER
3152 MfwMnuAttr *FMMenuOptionAttributes(void)
3153 {
3154 return (MfwMnuAttr *) &menuFMListOptions;
3155 }
3156
3157 MfwMnuAttr *FMRootFolderAttributes(void)
3158 {
3159 return (MfwMnuAttr *) &menuRootFolders;
3160 }
3161
3162 MfwMnuAttr *FMDrivesOptionsListAttributes(void)
3163 {
3164 return (MfwMnuAttr *) &menuFMDrivesOptions;
3165 }
3166 MfwMnuAttr *FMDestDrivesListAttributes(void)
3167 {
3168 return (MfwMnuAttr *) &menuDestFMDrives;
3169 }
3170 MfwMnuAttr *FMDestRootFolderAttributes(void)
3171 {
3172 return (MfwMnuAttr *) &menuDestRootFolders;
3173 }
3174 #endif
3175 /* end SH */
3176
3177 /*******************************************************************************
3178
3179 Public Routines
3180
3181 *******************************************************************************/
3182
3183 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- Start */
3184
3185 /*******************************************************************************
3186
3187 $Function: mmi_check_tflash
3188
3189 $Description: Routine to check if TFlash exists or not
3190
3191 $Returns: 0 : Enable TFlash in all Menus;
3192 MNU_ITEM_HIDE : Hide TFlash in all Menus
3193
3194 $Arguments: MfwMnuTag* , MfwMnuAttrTag*, MfwMnuItemTag*
3195
3196 *******************************************************************************/
3197 USHORT mmi_check_tflash( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi )
3198 {
3199
3200 /********************************************************/
3201 /* If the TFlash Feature Flag is enabled, then check if TFlash Card */
3202 /* is inserted or not */
3203 /********************************************************/
3204 #ifdef FF_MMI_TFLASH
3205
3206 char curDir[10];
3207 UINT16 curDir_uc[10];
3208 UINT16 objName_uc[10];
3209 char objName[10];
3210 T_RFS_DIR f_dir;
3211
3212 strcpy(curDir, "/");
3213 convert_u8_to_unicode(curDir, curDir_uc);
3214
3215 if (rfs_opendir (curDir_uc, &f_dir) < 0)
3216 {
3217 TRACE_EVENT_P1("Opening dir %s Failed",curDir);
3218 return MNU_ITEM_HIDE;
3219 }
3220
3221 while(rfs_readdir (&f_dir, objName_uc, FM_MAX_OBJ_NAME_LENGTH) > 0x0 )
3222 {
3223 if (objName_uc[0] == '\0')
3224 {
3225 return MNU_ITEM_HIDE;
3226 }
3227
3228 convert_unicode_to_u8(objName_uc, objName);
3229
3230 if(strcmp(objName,"MMC")==0)
3231 {
3232 rfs_closedir(&f_dir);
3233 return 0;
3234 }
3235 }
3236
3237 rfs_closedir(&f_dir);
3238
3239 return MNU_ITEM_HIDE;
3240
3241 /********************************************************/
3242 /* If the TFlash Feature Flag is disabled, then hide TFlash Item */
3243 /********************************************************/
3244
3245 #else
3246
3247 return MNU_ITEM_HIDE;
3248
3249 #endif
3250
3251 }
3252
3253
3254 /*******************************************************************************
3255
3256 $Function: mmi_check_nand
3257
3258 $Description: Routine to check if NAND exists or not
3259
3260 $Returns: 0 : Enable NAND in all Menus;
3261 MNU_ITEM_HIDE : Hide NAND in all Menus
3262
3263 $Arguments: MfwMnuTag* , MfwMnuAttrTag*, MfwMnuItemTag*
3264
3265 *******************************************************************************/
3266 USHORT mmi_check_nand( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi )
3267 {
3268
3269 /********************************************************/
3270 /* If the NAND Feature Flag is enabled, then enable the Menu Item */
3271 /********************************************************/
3272 #ifdef FF_MMI_NAND
3273
3274 return 0;
3275
3276 /********************************************************/
3277 /* If the NAND Feature Flag is enabled, then hide the Menu Item */
3278 /********************************************************/
3279
3280 #else
3281
3282 return MNU_ITEM_HIDE;
3283
3284 #endif
3285
3286 }
3287
3288 /*******************************************************************************
3289
3290 $Function: mmi_check_nor
3291
3292 $Description: Routine to check if NOR exists or not
3293
3294 $Returns: 0 : Enable NOR in all Menus;
3295 MNU_ITEM_HIDE : Hide NOR in all Menus
3296
3297 $Arguments: MfwMnuTag* , MfwMnuAttrTag*, MfwMnuItemTag*
3298
3299 *******************************************************************************/
3300 USHORT mmi_check_nor( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi )
3301 {
3302
3303 /********************************************************/
3304 /* If the NOR Feature Flag is enabled, then enable the Menu Item */
3305 /********************************************************/
3306 #ifdef FF_MMI_NOR
3307
3308 return 0;
3309
3310 /********************************************************/
3311 /* If the NOR Feature Flag is enabled, then hide the Menu Item */
3312 /********************************************************/
3313
3314 #else
3315
3316 return MNU_ITEM_HIDE;
3317
3318 #endif
3319
3320 }
3321
3322
3323 /*******************************************************************************
3324
3325 $Function: mmi_check_norms
3326
3327 $Description: Routine to check if NORMS exists or not
3328
3329 $Returns: 0 : Enable NORMS in all Menus;
3330 MNU_ITEM_HIDE : Hide NORMS in all Menus
3331
3332 $Arguments: MfwMnuTag* , MfwMnuAttrTag*, MfwMnuItemTag*
3333
3334 *******************************************************************************/
3335 USHORT mmi_check_norms( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi )
3336 {
3337
3338 /********************************************************/
3339 /* If the NORMS Feature Flag is enabled, then enable Menu Item */
3340 /********************************************************/
3341 #ifdef FF_MMI_NORMS
3342
3343 return 0;
3344
3345 /********************************************************/
3346 /* If the NORMS Feature Flag is enabled, then hide the Menu Item */
3347 /********************************************************/
3348
3349 #else
3350
3351 return MNU_ITEM_HIDE;
3352
3353 #endif
3354
3355 }
3356
3357 /* Sep 26, 2007 Configuration of Drives for SBuild 2.3.0 Migration x0080701 (Bharat) -- End */
3358
3359 /*******************************************************************************
3360
3361 $Function: MmiBookMenuArea
3362
3363 $Description: access routine for the local static menu area
3364
3365 $Returns: pointer to the menu area
3366
3367 $Arguments: none.
3368
3369 *******************************************************************************/
3370
3371 MfwRect MmiBookMenuArea( void )
3372 {
3373 return menuArea;
3374 }
3375
3376 /*******************************************************************************
3377
3378 $Function: MmiBookNamesArea
3379
3380 $Description: access routine for the local static names menu area
3381
3382 $Returns: pointer to the names menu area
3383
3384 $Arguments: none.
3385
3386 *******************************************************************************/
3387
3388 MfwRect MmiBookNamesArea( void )
3389 {
3390 return menuNamesArea;
3391 }
3392 /*******************************************************************************
3393
3394 $Function: create_mmi_phonebook_names_list. Added for SPR2123
3395
3396 $Description: access routine for the phonebook names list. Allocates memory for the
3397 list if memory has not already been allocated.
3398
3399 $Returns: pointer to the phonebook name list
3400
3401 $Arguments: none.
3402
3403 *******************************************************************************/
3404 MfwMnuAttr* create_mmi_phonebook_names_list()
3405 { int i;
3406
3407 TRACE_EVENT("create_mmi_phonebook_names_list()");
3408 if (phonebook_list != NULL)
3409 return phonebook_list;
3410
3411 /*allocate memory for list of phonenumbers*/
3412 phonebook_list = (MfwMnuAttr*)ALLOC_MEMORY(sizeof(MfwMnuAttr));
3413 if (phonebook_list == NULL)
3414 { TRACE_EVENT("Phonebook list alloc failed");
3415 return NULL;
3416 }
3417
3418 /*allocate memory for the array of items in the phonebook list*/
3419 items_in_phonebook_list = (MfwMnuItem*)ALLOC_MEMORY(sizeof(MfwMnuItem)*NAME_LIST_SIZE);
3420 if (items_in_phonebook_list == NULL)
3421 { TRACE_EVENT("Phonebook list items alloc failed");
3422 return NULL;
3423 }
3424
3425 /*allocate memory for the array of pointers to strings holding phonebook list text*/
3426 menu_item_strings = (char**)ALLOC_MEMORY(sizeof(char*)*NAME_LIST_SIZE);
3427 if (menu_item_strings == NULL)
3428 { TRACE_EVENT("menu item string list alloc failed");
3429 return NULL;
3430 }
3431
3432 /*allocate memory for each text string in turn*/
3433 for (i=0;i<NAME_LIST_SIZE;i++)
3434 { menu_item_strings[i] = (char*)ALLOC_MEMORY(sizeof(char)*PHONEBOOK_ITEM_LENGTH);
3435 if (menu_item_strings[i] == NULL)
3436 { TRACE_EVENT(" menu item string alloc failed");
3437 return NULL;
3438 }
3439
3440 }
3441
3442 /*specify phonebook list menu configuration*/
3443 phonebook_list->area = &menuNamesArea;
3444 phonebook_list->mode = MNU_LEFT | MNU_LIST | MNU_CUR_LINE;
3445 phonebook_list->font = (U8)-1;
3446 phonebook_list->items = items_in_phonebook_list;
3447 phonebook_list->nItems = NAME_LIST_SIZE;
3448 phonebook_list->mnuColour = COLOUR_LIST_SUBMENU;
3449 phonebook_list->hdrId = TxtNull;
3450 phonebook_list->bgdBitmap= NULL;
3451 phonebook_list->unused = MNUATTRSPARE;
3452
3453 /*specify configuration of each meni item*/
3454 for(i=0; i<NAME_LIST_SIZE; i++)
3455 {
3456 items_in_phonebook_list[i].icon =0;
3457 items_in_phonebook_list[i].exta =0;
3458 items_in_phonebook_list[i].x =0;
3459 items_in_phonebook_list[i].str =menu_item_strings[i];
3460 items_in_phonebook_list[i].menu =0;
3461 items_in_phonebook_list[i].func =0;
3462 items_in_phonebook_list[i].flagFunc =item_flag_none;
3463 }
3464
3465 return phonebook_list;
3466 }
3467
3468 /*******************************************************************************
3469
3470 $Function: destroy_mmi_phonebook_names_list. Added for SPR2123
3471
3472 $Description: frees memory for phonebook names list
3473
3474 $Returns: TRUE if sucessful, FALSE if failed
3475
3476 $Arguments: pointer to phonebook names list
3477
3478 *******************************************************************************/
3479 BOOL destroy_mmi_phonebook_names_list(MfwMnuAttr* pointer)
3480 { int i;
3481
3482
3483 TRACE_EVENT("destroy_mmi_phonebook_names_list()");
3484 /*if memory not allocated for phonebook list OR the pointer passed to the function is
3485 NOT that of the phonebook list, stop here*/
3486 if ((phonebook_list == NULL) || (pointer != phonebook_list))
3487 return FALSE;
3488
3489 /*dealloacte memory for each item's text string*/
3490 for(i=0; i<NAME_LIST_SIZE; i++)
3491 { FREE_MEMORY((U8*)menu_item_strings[i], sizeof(char)*PHONEBOOK_ITEM_LENGTH);
3492 menu_item_strings[i] = NULL;
3493
3494 }
3495 /*deallocate memory for the array of pointer to text strings*/
3496 FREE_MEMORY((U8*)menu_item_strings, sizeof(char*)*NAME_LIST_SIZE);
3497
3498 /*deallocate memory for the array of items in the phonebook list*/
3499 FREE_MEMORY((U8*)items_in_phonebook_list, sizeof(MfwMnuItem)*NAME_LIST_SIZE);
3500 items_in_phonebook_list = NULL;
3501
3502 /*deallocate the phonebook list menu attributes*/
3503 FREE_MEMORY((U8*)phonebook_list, sizeof(MfwMnuAttr));
3504 phonebook_list = NULL;
3505
3506 return TRUE;
3507 }
3508 /*******************************************************************************
3509
3510 $Function: MmiBookCallList
3511
3512 $Description: access routine for the local static call list buffer
3513
3514 $Returns: pointer to the call list buffer
3515
3516 $Arguments: index, of the element required
3517
3518 *******************************************************************************/
3519
3520 void *MmiBookCallList( int index )
3521 {
3522 /* Make sure that the index is reasonable before using it
3523 */
3524 if ( index < 0 )
3525 index = 0;
3526
3527 if ( index >= NAME_LIST_SIZE )
3528 index = NAME_LIST_SIZE - 1;
3529
3530 /* return address of requested element in array
3531 */
3532 /*SPR 2123, if memory hasn't been allocated for menu items strings return NULL*/
3533 if (menu_item_strings != NULL)
3534 return menu_item_strings[index];
3535 else
3536 return NULL;
3537 }
3538
3539 /*******************************************************************************
3540
3541 $Function: MmiBookCallListSize
3542
3543 $Description: access routine for the size of the local static call list buffer
3544
3545 $Returns: PHONEBOOK_ITEM_LENGTH
3546
3547 $Arguments: index, provided for compatibility with call list access routine
3548
3549 *******************************************************************************/
3550
3551 int MmiBookCallListSize( int index )
3552 {/*SPR2123, MC changed MAX_SCREEN_LENGTH to PHONEBOOK_ITEM_LENGTH*/
3553 return PHONEBOOK_ITEM_LENGTH;
3554 }
3555
3556
3557 /*******************************************************************************
3558
3559 $Function: MmiBookMenuDetailsList
3560
3561 $Description: access routine for the menu details list attribute structure
3562
3563 $Returns: address of attribute structure
3564
3565 $Arguments: none.
3566
3567 *******************************************************************************/
3568
3569 MfwMnuAttr *MmiBookMenuDetailsList( void )
3570 {
3571 /*SPR2123, return the pointer to the phonebook list attributes, it'll be NULL
3572 if memory has not been alloacted to it*/
3573 return phonebook_list;
3574
3575
3576
3577 }
3578
3579
3580 /*******************************************************************************
3581
3582 $Function: MmiBookShowDefault
3583
3584 $Description: Default screen update routine, this will be called prior to
3585 any other screen painting in the phone book. For now we just
3586 clear the display as a default action.
3587
3588 $Returns: None.
3589
3590 $Arguments: None.
3591
3592 *******************************************************************************/
3593
3594 void MmiBookShowDefault( void )
3595 {
3596 dspl_ClearAll();
3597 }
3598
3599
3600
3601
3602
3603 /*******************************************************************************
3604
3605 $Function: MmiBookCurrentText
3606
3607 $Description: Returns a handle to the current global text message.
3608
3609 $Returns: Returns a handle to the current global text message.
3610
3611 $Arguments: None.
3612
3613 *******************************************************************************/
3614
3615 int MmiBookCurrentText( void )
3616 {
3617 return textMessage;
3618 }
3619
3620 void MmiBookSetCurrentText( int pstr )
3621 {
3622 textMessage = pstr;
3623 }
3624
3625 /*******************************************************************************
3626
3627 $Function: storeMenuOption
3628
3629 $Description: Stores the ID of the text string for the currently selected menu item
3630
3631 $Returns: 0
3632
3633 $Arguments: mnu - unused
3634 numItem - selected menu item
3635
3636 GW 28/11/02 Added a general purpose storage/retrieval procedure
3637 *******************************************************************************/
3638
3639 static int storedMenuId = TxtNull;
3640 int storeMenuOption(MfwMnu* mnu, MfwMnuItem* mnuItem)
3641 {
3642 T_MFW_HND win = mfw_parent(mfw_header());
3643
3644 storedMenuId = (int)mnuItem->str;
3645 return(0);
3646 }
3647
3648 /*******************************************************************************
3649
3650 $Function: MmiBook_getStoredOption
3651
3652 $Description: Returns the ID of the text string stored on a menu selection
3653
3654 $Returns: storedMenuId - string Id of the selected menu item
3655
3656 $Arguments: none.
3657
3658 GW 28/11/02 Added a general purpose storage/retrieval procedure
3659 *******************************************************************************/
3660 int MmiBook_getStoredOption( void)
3661 {
3662 return (storedMenuId);
3663
3664 }
3665 //SPR12822 - vvadiraj@sasken.com
3666 MfwMnuAttr *NWIconAttributes(void)
3667 {
3668 //added a compiler switch. - xvilliva
3669 #ifdef COLOURDISPLAY
3670 return (MfwMnuAttr *) &menuProviderIconSet;
3671 #endif
3672
3673 }
3674 // Jul 28, 2004 REF: CRR 20899 xkundadu
3675 // Returns the 'Any Key Answer' menu to display.
3676 /*******************************************************************************
3677 $Function: GetAnyKeyAnswerMenu
3678
3679 $Description: Returns the 'Any Key Answer' menu
3680
3681 $Returns: menuAnyKeySet - Menu of the 'AnyKeyAnser'.
3682
3683 $Arguments: none.
3684
3685 *******************************************************************************/
3686 MfwMnuAttr *GetAnyKeyAnswerMenu()
3687 {
3688 return (MfwMnuAttr *) &menuAnyKeySet;
3689 }
3690 // Jul 29, 2004 REF: CRR 20898 xkundadu
3691 // Returns the 'AutAnswer' menu to display.
3692 /*******************************************************************************
3693 $Function: GetAutoAnswerMenu
3694
3695 $Description: Returns the 'AutoAnswer' menu
3696
3697 $Returns: menuAutoAnswerSet - Menu of the 'AutoKeyAnswer'.
3698
3699 $Arguments: none.
3700
3701 *******************************************************************************/
3702 MfwMnuAttr *GetAutoAnswerMenu()
3703 {
3704 return (MfwMnuAttr *) &menuAutoAnswerSet;
3705 }
3706
3707
3708 // Jul 28, 2004 REF: CRR:20887 xrashmic - SASKEN
3709 // Returning the submenu for FDN submenu
3710 MfwMnuAttr *FDNMenu(void)
3711 {
3712 return (MfwMnuAttr *) &menuFixedDialSet;
3713 }
3714
3715 // Jul 22,2004 CRR:20896 xrashmic - SASKEN
3716 // Returning the submenu for time format.
3717 MfwMnuAttr *TimeFormatAttributes(void)
3718 {
3719 return (MfwMnuAttr *) &menuTimeFormat;
3720 }
3721 // Sep 27,2005 REF: SPR 34402 xdeepadh
3722 // Returning the submenu for channels
3723 // Nov 14, 2005 REF: OMAPS00044445 xdeepadh
3724 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC)
3725 MfwMnuAttr *PlayerChannelAttributes(void)
3726 {
3727 return (MfwMnuAttr *) &menuPlayerChannels;
3728 }
3729 #endif //endif FF_MMI_TEST_MP3
3730
3731 // May 04, 2005 REF: CRR:30285 x0021334
3732 // Returning the submenu for SMS Status Report submenu
3733 MfwMnuAttr *SmsStatusReportAttributes(void)
3734 {
3735 return (MfwMnuAttr *) &menuSetSmsStatusReportRequest;
3736 }
3737
3738 #ifdef NEPTUNE_BOARD
3739 #ifdef MMI_POWER_MANAGEMENT_TEST
3740 /* Gets the power management options*/
3741 MfwMnuAttr *GetPowerManagementMenu(void)
3742 {
3743 return (MfwMnuAttr *) &menuPowerManagement;
3744 }
3745 #endif
3746 #endif
3747 #ifdef FF_MMI_MULTIMEDIA
3748 /* PCM decode channel mode menu */
3749 MfwMnuAttr *GetPcmDecodeChannelModeMenu(void)
3750 {
3751 return (MfwMnuAttr *) &menuPcmDecodeChanMode;
3752 }
3753
3754 /*Voice Memo PCM decode channel mode menu */
3755 MfwMnuAttr *GetVmPcmDecodeChannelModeMenu(void)
3756 {
3757 return (MfwMnuAttr *) &menuVmPcmDecodeChanMode;
3758 }
3759
3760 /* Configuration Parameter Menu item obtained from these functions. */
3761 MfwMnuAttr *GetScreenModeMenu(void)
3762 {
3763 return (MfwMnuAttr *) &menuSelectOutputScreemode;
3764 }
3765
3766 MfwMnuAttr *GetAudioFormatMenu(void)
3767 {
3768 return (MfwMnuAttr *) &menuSelectAudioEncodingFormat;
3769 }
3770
3771 MfwMnuAttr *GetVideoFormatMenu(void)
3772 {
3773 return (MfwMnuAttr *) &menuSelectVideoEncodingFormat;
3774 }
3775
3776 MfwMnuAttr *GetVideoSizeMenu(void)
3777 {
3778 return (MfwMnuAttr *) &menuSelectVideoCaptureSize;
3779 }
3780
3781 MfwMnuAttr *GetFrameRateMenu(void)
3782 {
3783 return (MfwMnuAttr *) &menuSelectFrameRate;
3784 }
3785
3786 MfwMnuAttr *GetVideoBitRateMenu(void)
3787 {
3788 return (MfwMnuAttr *) &menuSelectVideoRate;
3789 }
3790
3791 MfwMnuAttr *GetAACBitRateMenu(void)
3792 {
3793 return (MfwMnuAttr *) &menuSelectAACBitRate;
3794 }
3795
3796 MfwMnuAttr *GetAMRBitRateMenu(void)
3797 {
3798 return (MfwMnuAttr *) &menuSelectAMRBitRate;
3799 }
3800
3801 MfwMnuAttr *GetAudioPathMenu(void)
3802 {
3803 return (MfwMnuAttr *) &menuAudioPath;
3804 }
3805
3806 MfwMnuAttr *GetVideoRecordDurationMenu(void)
3807 {
3808 return (MfwMnuAttr *) &menuVideoRecordDuration;
3809 }
3810
3811 MfwMnuAttr *GetVolumeConfigMenu(void)
3812 {
3813 return (MfwMnuAttr *) &menuVolumeConfig;
3814 }
3815
3816 MfwMnuAttr *GetPreferredStorageMenu(void)
3817 {
3818 return (MfwMnuAttr *) &menuPreferredStorage;
3819 }
3820
3821 /* Image Capture Quality Menu */
3822 MfwMnuAttr *GetImageCaptureQualityMenu(void)
3823 {
3824 return (MfwMnuAttr *) &menuImageCaptureQuality;
3825 }
3826
3827 /* PCM Channel Mode Menu */
3828 MfwMnuAttr *GetPcmChannelModeMenu(void)
3829 {
3830 return (MfwMnuAttr *) &menuPcmChannelMode;
3831 }
3832
3833
3834 /* PCM Rate Selection Menu */
3835 MfwMnuAttr *GetPcmRateSelectionMenu(void)
3836 {
3837 return (MfwMnuAttr *) &menuPcmRateSelection;
3838 }
3839
3840
3841 /* PCM Decode Sample Rate */
3842 MfwMnuAttr *GetPcmSampleRateMenu(void)
3843 {
3844 return (MfwMnuAttr *) &menuPcmSampleRate;
3845 }
3846
3847
3848 /* Voice Memo PCM Decode Sample Rate */
3849 MfwMnuAttr *GetVmPcmSampleRateMenu(void)
3850 {
3851 return (MfwMnuAttr *) &menuVmPcmSampleRate;
3852 }
3853
3854
3855 /* Audio & Video Play option */
3856 MfwMnuAttr *GetAudioVideoSyncOptionMenu(void)
3857 {
3858 return (MfwMnuAttr *) &menuAudioVideoSyncOption;
3859 }
3860
3861 /* Audio & Video Record option */
3862 MfwMnuAttr *GetAudioVideoRecordOptionMenu(void)
3863 {
3864 return (MfwMnuAttr *) &menuAudioVideoRecordOption;
3865 }
3866 MfwMnuAttr *GetVoiceMemoMenu(void)
3867 {
3868 #ifdef FF_MMI_VOICEMEMO
3869 return (MfwMnuAttr *) &menuVoiceMemoUC;
3870 #else
3871 return (MfwMnuAttr *) &menuVoiceMemo;
3872 #endif
3873 }
3874
3875
3876 #ifdef FF_MMI_NEPTUNE_IMAGE_VIEWER
3877
3878 MfwMnuAttr *GetmenuImageViewerOptions(void)
3879 {
3880 return (MfwMnuAttr *) &menuMMImageStorageDevice;
3881 }
3882
3883
3884 MfwMnuAttr *GetmenuImgEditOptions(void)
3885 {
3886 return (MfwMnuAttr *) &menuImageEdit;
3887 }
3888 #endif
3889 #endif
3890 //Sep 11, 2006 DR: OMAPS00094182 xrashmic
3891 #ifdef FF_MMI_TEST_MIDI
3892 MfwMnuAttr *MidiTestAppMenuAttributes(void)
3893 {
3894 return (MfwMnuAttr *) &menuMidiTest;
3895 }
3896 #endif
3897 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC)
3898 MfwMnuAttr *AudioPlayerAppMenuAttributes(void)
3899 {
3900 return (MfwMnuAttr *) &menuPlayerTest;
3901 }
3902 #endif
3903
3904 /*******************************************************************************
3905
3906 End of File
3907
3908 *******************************************************************************/
3909