comparison src/aci2/bmi/mmiBookShared.c @ 120:3c2acfa1a72f

src/aci2/bmi: file renames to make filename case consistent
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 07 Oct 2016 03:46:05 +0000
parents src/aci2/bmi/MmiBookShared.c@93999a60b835
children
comparison
equal deleted inserted replaced
119:b92a33c204b6 120:3c2acfa1a72f
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 Nov 14, 2005 REF: OMAPS00044445 xdeepadh
33 Description: Implementation of Test Menu for AAC
34 Solution: The existing MP3 test Application has been enhanced to support the AAC file testing.
35
36 Sep 27,2005 REF: SPR 34402 xdeepadh
37 Bug:Mono option is always highlighted even when Stereo is selected
38 Fix:The channel setting will be saved in the FFS, which will be retrieved later
39 and the selected channel will be higlighted.
40
41 Jul 18, 2005 REF: SPR 31695 xdeepadh
42 Bug:Problems with MP3 test application
43 Fix:The window handling of MP3 Test Application has been done properly.
44
45
46 Aug 22, 2005 REF: ENH 31154 xdeepadh
47 Description: Application to Test Camera
48 Solution: Implemeted the Fileviewer to view the jpeg images.Camera Application to
49 preview,capture and save image has been implemented.
50
51 July 19, 2005 REF: CRR LOCOSTO-ENH-28173 xpradipg
52 Description: To provide MMI Support to enable/disable/change password and
53 query all the Personalization locks
54 Solution: Integration of the changes for the same provided by the soldel
55 team
56
57 June 07, 2005 REF: CRR MMI-FIX-31545 x0021334
58 Issue description: SIM: wrong behavior when FDN is not allocated in SST
59 Solution: Before displaying the FDN options, a check is made if FDN is allocated. Only if
60 FDN is allocated, the options are displayed.
61 May 11 2005 REF: MMI-SPR-29887 x0012849
62 To Implement the deferred MMS retrieval.
63
64 May 04, 2005 REF: CRR 30285 x0021334
65 Description: SMS Status Request in idle and dedicated mode (using Menu) setting does not work
66 Solution: status of sms status request is read and focus is set accrodingly.
67
68 Apr 06, 2005 REF: ENH 30011 xdeepadh
69 Description: Replacing the Test Application compilation flags with new flags.
70 Solution: The existing flags for Camera and MP3 test application have beeen replaced with the
71 new compilation flags,FF_MMI_TEST_CAMERA and FF_MMI_TEST_MP3 respectively.
72
73 Apr 05, 2005 REF: ENH 29994 xdeepadh
74 Description: Implementation of Generic Midi Ringer and Modification of existing Midi Test Application
75 Solution: Generic Midi Ringer and Midi Test Application were implemented.
76
77 March 2, 2005 REF: CRR 11536 x0018858
78 Description: Reply path not supported while sending a reply.
79 Solution: Added menu option for the reply path.
80
81
82 xreddymn Jan-06-2004 MMI-SPR-27618: Display list of WAP push messages before displaying the Options list.
83
84 Dec 08, 2004 REF: CRR MMI-SPR-27284
85 Description: MIDI Player: Back Key malfunctions in MIDI application.
86 Solution: A window is created to hold list window. When the user presses Back key, the newly
87 created window is deleted along with list window, bringing the control back to Midi options
88 screen.
89
90 Nov 29, 2004 REF: CRR 25051 xkundadu
91 Description: INCALL SCREEN – ADJUSTING THE VOLUME
92 Fix: Added volume level list linked to up/down keys.
93 User can select the speaker volume among those levels.
94
95 MMI-SPR-25333 - xreddymn Nov-09-2004
96 Modified Messaging menu to seperate SMS and MMS/EMS related features
97
98 CRR: 25291 - xrashmic 14 Oct 2004
99 Description: The sent EMS is stored in unsent folder.
100 Solution: The Outbox has been removed, instead we now have Sent folder for the sent EMS
101
102 Jul 29, 2004 REF: CRR 20898 xkundadu
103 Description: No identification for user whether 'Auto-Answer' is On/Off
104 Solution: The menu focus will be on the 'On' menu if the 'Auto-Answer'
105 is enabled, otherwise focus will be on 'Off' menu item.
106 Changed 'submenu' to 'menuItem' to call a function,which set the
107 focus to the selected item.
108
109 Jun 02, 2004 CRR:13649 - xpradipg-SASKEN
110 subject: CBA : Management of password
111 solution: password is promted on selecting activation/deactivation option as against the previous
112 case where it was shown up on selecting Call
113 May 27, 2004 REF: CRR 19186 Deepa M.D
114 Bug : "Setting" menu not available during a call
115 Fix : "Setting" menu has been provided to set the SMS settings, during the active call
116 May 10, 2004 REF: CRR 15753 Deepa M.D
117 Menuitem provided to set the validity period to maximum.
118 Issue Number : SPR#12822 on 31/03/04 by v vadiraj
119 25/10/00 Original Condat(UK) BMI version.
120 $End
121 *******************************************************************************/
122
123
124 /*******************************************************************************
125
126 Include Files
127
128 *******************************************************************************/
129
130
131 #define ENTITY_MFW
132
133 /* includes */
134 #include <string.h>
135 #include <stdio.h>
136 #include <stdlib.h>
137
138 #if defined (NEW_FRAME)
139
140 #include "typedefs.h"
141 #include "vsi.h"
142 #include "pei.h"
143 #include "custom.h"
144 #include "gsm.h"
145 /* BEGIN ADD: Sumit : Req ID: : 31-Mar-2005*/
146 #ifndef NEPTUNE_BOARD
147 /* END ADD: Sumit : Req ID: : 31-Mar-2005*/
148 #include "rv_swe.h"
149 /* BEGIN ADD: Sumit : Req ID: : 31-Mar-2005*/
150 #endif
151 /* END ADD: Sumit : Req ID: : 31-Mar-2005*/
152
153 #else
154
155 #include "STDDEFS.H"
156 #include "custom.h"
157 #include "gsm.h"
158 #include "vsi.h"
159
160 #endif
161 #include "mfw_sys.h"
162
163 #include "mfw_mfw.h"
164 #include "mfw_win.h"
165 #include "mfw_kbd.h"
166 #include "mfw_lng.h"
167 /* SPR#1428 - SH -New Editor changes */
168 #ifndef NEW_EDITOR
169 #include "mfw_edt.h"
170 #endif
171 #include "mfw_icn.h"
172 #include "mfw_mnu.h"
173 #include "mfw_tim.h"
174
175 #include "mfw_sim.h"
176 #include "mfw_cm.h"
177 #include "mfw_nm.h"
178 #include "mfw_phb.h"
179 #include "mfw_mme.h"
180 #include "mfw_sat.h"
181 #include "mfw_sms.h"
182 #ifdef FF_MMI_TEST_MIDI
183 #include "mfw_midi.h"
184 #endif //FF_MMI_TEST_MIDI
185 // Apr 06, 2005 REF: ENH 30011 xdeepadh
186 #ifdef FF_MMI_TEST_CAMERA
187 #include "mfw_cam.h"
188 #endif //FF_MMI_TEST_CAMERA
189
190 #include "dspl.h"
191
192 #include "ksd.h"
193 #include "psa.h"
194
195 #include "MmiMain.h"
196 #include "MmiBookController.h"
197 #include "MmiDummy.h"
198 #include "MmiDialogs.h"
199 #include "MmiLists.h"
200 #include "MmiMenu.h"
201 #include "mmiCall.h"
202 #include "Mmiicons.h"
203 #include "MmiIdle.h"
204
205 #include "MmiSoftKeys.h"
206 #include "MmiSounds.h"
207 #include "MmiIdle.h"
208 #include "MmiNetwork.h"
209 #include "mmiSat_i.h"
210 #include "MmiAoc.h"
211
212 #include "gdi.h"
213 #include "audio.h"
214
215 #include "cus_aci.h"
216 #include "MmiTimers.h"
217
218 /* SPR#1428 - SH -New Editor changes */
219 #ifdef NEW_EDITOR
220 #include "ATBCommon.h"
221 #include "ATBDisplay.h"
222 #include "ATBEditor.h"
223 #include "AUIEditor.h"
224 #else
225 #include "MmiEditor.h"
226 #endif
227
228 #include "MmiBookShared.h"
229 #include "MmiBookController.h"
230 #include "MmiResources.h"
231
232 #include "MmiNetwork.h"
233 #include "MmiSettings.h"
234 #include "MmiServices.h"
235 #include "MmiPins.h"
236 #include "MmiTimeDate.h"
237 #include "mmiSmsBroadcast.h"
238 #include "MmiSimToolkit.h"
239 #include "mmiSmsMenu.h"
240 #include "mmismssend.h"
241 #include "MmiCalculatorMain.h"
242
243 /*BEGIN ADD: MUTHU RAJA */
244 #ifdef FF_MMI_MULTIMEDIA
245 #include "mmi_Filemanager.h"
246 #endif
247 /*END ADD: MUTHU RAJA*/
248
249 #ifdef NEPTUNE_BOARD
250 #ifdef MMI_POWER_MANAGEMENT_TEST
251 EXTERN int mmi_PowerManagement(MfwMnu* m, MfwMnuItem* i);
252 #endif
253 #endif
254
255 #include "AUIWapext.h"
256 #include "MmiSounds.h"
257 #include "MmiLists.h"
258 #include "MmiTimers.h"
259 #include "MmiVoiceMemo.h"
260 //Apr 05, 2005 REF: ENH 29994 xdeepadh
261 #ifdef FF_MMI_TEST_MIDI
262 #include "MmiMidiTest.h"
263 #endif//#ifdef FF_MMI_TEST_MIDI
264 //Apr 06, 2005 REF: ENH 30011 xdeepadh
265 #ifdef FF_MMI_TEST_CAMERA
266 #include "MmiCameraTest.h"
267 #endif //FF_MMI_TEST_CAMERA
268 // Nov 14, 2005 REF: OMAPS00044445 xdeepadh
269 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC)
270 #include "MmiMP3Test.h"
271 #endif//FF_MMI_TEST_MP3
272 // Aug 22, 2005 REF: ENH 31154 xdeepadh
273 #ifdef FF_MMI_FILE_VIEWER
274 #include "MmiFileViewer.h"
275 #endif
276 #include "Mmiicons.h"
277 #include "MmiAoc.h"
278 #ifdef MMI_EM_ENABLED
279 #include "MmiEm.h" /*SPR1209*/
280 #endif
281
282 #include "MmiMenu.h"
283
284 /*BEGIN ADD: RAVI*/
285 #ifdef FF_MMI_MULTIMEDIA
286 #include "MmiMultimediaApp.h"
287 #endif
288 /* END ADD: RAVI*/
289
290
291 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
292 #include "mmimmsmenu.h"
293 #endif
294
295 #ifdef MMIGAME
296 #include "Mmigame.h"
297 #endif
298 /* SPR890 - SH - Test mode menu */
299 #ifdef MMI_TEST_MODE
300 #include "MmiTest.h"
301 #endif
302
303 #include "MmiCPHS.h"
304 #include "MmiBand.h"
305 #ifdef MMI_GPRS_ENABLED
306 #include "MmiGprs.h"
307 #endif
308
309 #ifdef BTE_MOBILE
310 #include "mmiBluetooth.h"
311 #endif
312
313 extern int M_exeSendNew(MfwMnu* m, MfwMnuItem* i); // MZ
314 extern int M_exeRead(MfwMnu* m, MfwMnuItem* i); // MZ 6/2/01
315 #include "mmiColours.h"
316 #include "mmiColours.h"
317
318
319
320 //liuyu
321 #include "MmiBookShared.h"
322
323
324 extern void soundsSetVolume(void);
325 extern int SmsSend_R_OPTExeCentreEdit(MfwMnu* m, MfwMnuItem* i);
326 /*******************************************************************************
327
328 Static members
329
330 *******************************************************************************/
331 /*GW Changed all submenus to use the same colour definitions 'COLOUR_LIST_SUBMENU' */
332
333
334
335 /* menu buffers
336 */
337
338 /*This should cause an error if the size is changed
339 if NAME_LIST_SIZE is not 3 or 10 then the structure is incorrect and must be updated*/
340 #ifndef LSCREEN
341 static const int zz_errCatcher[6-NAME_LIST_SIZE] = {1,2,3};
342 #else
343 static const int zz_errCatcher[20-NAME_LIST_SIZE] = {1,2,3,4,5,6,7,8,9,10};
344 #endif
345
346 /*SPR2123, MC removed static phonebook list menu data structure
347 and replaced with pointers which are dynamically allocated*/
348
349 static MfwMnuAttr* phonebook_list = NULL;
350 static MfwMnuItem* items_in_phonebook_list = NULL;
351 static char** menu_item_strings = NULL;
352 /*SPR2123, end*/
353
354 /* Global text message structure
355 */
356 static int textMessage;
357
358 #ifdef MMI_TEST_MODE
359 EXTERN UBYTE testSelected;
360 #endif
361
362 /******************************************************************************
363
364 Menu Definitions
365
366 *******************************************************************************/
367
368 #define DEF_MENU_STYLE (MNU_LEFT | MNU_LIST | MNU_CUR_LINE)
369 #define DEF_COLOUR_MENU_STYLE (MNU_LEFT | MNU_LIST_COLOUR | MNU_CUR_LINE)
370 #define DEF_MENU_ICON_LIST_STYLE (MNU_LEFT | MNU_LIST_ICONS | MNU_CUR_LINE)
371 #define BEGIN_MENU( name ) \
372 static const MfwMnuItem name##Items [] = {
373
374 #define MENU_ITEM_ICON( icon, msg, handler, attrFunction ) \
375 { icon,0,0, (char*) msg, 0, (MenuFunc)handler, attrFunction }
376
377 #define MENU_ITEM( msg, handler, attrFunction ) \
378 { 0,0,0, (char*) msg, 0, (MenuFunc)handler, attrFunction }
379
380 #define MENU_ITEM_SUB_MENU( msg, sub_menu,handler, attrFunction ) \
381 { 0,0,0, (char*) msg, (MfwMnuAttr*) &sub_menu,(MenuFunc)handler, attrFunction }
382
383
384 #define SUB_MENU( msg, sub_menu, attrFunction ) \
385 { 0,0,0, (char*) msg, (MfwMnuAttr*) &sub_menu, 0, attrFunction }
386
387 #define SUB_MENU_ICON( icon, msg, sub_menu, attrFunction ) \
388 { icon,0,0, (char*) msg, (MfwMnuAttr*) &sub_menu, 0, attrFunction }
389
390 #define END_MENU( name, area, col ) \
391 }; \
392 \
393 static const MfwMnuAttr name = { \
394 (MfwRect *) &area, DEF_MENU_STYLE, -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, TxtNull, NULL, MNUATTRSPARE \
395 };
396
397 #define END_MENU_MULTICOLOUR( name, area, col, hdrId ) \
398 }; \
399 \
400 static const MfwMnuAttr name = { \
401 (MfwRect *) &area, DEF_COLOUR_MENU_STYLE, -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, hdrId, NULL, MNUATTRSPARE \
402 };
403
404 #define END_MENU_HEADER( name, area, col, hdrId ) \
405 }; \
406 \
407 static const MfwMnuAttr name = { \
408 (MfwRect *) &area, DEF_MENU_STYLE, -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, hdrId , NULL, MNUATTRSPARE\
409 };
410
411 #define END_MENU_ICON_LIST( name, area, col, bitmap ) \
412 }; \
413 \
414 static const MfwMnuAttr name = { \
415 (MfwRect *) &area, DEF_MENU_ICON_LIST_STYLE, -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, TxtNull, bitmap, MNUATTRSPARE \
416 };
417
418 #define DEF_MENU_PAGED_STYLE (MNU_LEFT | MNU_HDR_CENTER | MNU_PAGED | MNU_CUR_LINE)
419 #define BEGIN_ICON_MENU( name ) \
420 static const MfwMnuItem name##Items [] = {
421
422 #define MENU_ICON_ITEM( icon, msg, handler, attrFunction ) \
423 { (MfwIcnAttr *)icon,0,0, (char*) msg, 0, (MenuFunc)handler, attrFunction }
424
425
426 #define SUB_ICON_MENU( icon,msg, sub_menu, attrFunction ) \
427 { (MfwIcnAttr *)icon,0,0, (char*) msg, (MfwMnuAttr*) &sub_menu, 0, attrFunction }
428
429 #define END_ICON_MENU( name, area, col, bitmap ) \
430 }; \
431 \
432 static const MfwMnuAttr name = { \
433 (MfwRect *) &area, DEF_MENU_PAGED_STYLE, -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, TxtNull , bitmap, MNUATTRSPARE\
434 };
435 #define END_MULTIPLE_ICON_MENU( name, area, fCol, bCol ) \
436 }; \
437 \
438 static const MfwMnuAttr name = { \
439 (MfwRect *) &area, (MNU_LEFT | MNU_PAGE_ICONS | MNU_CUR_LINE), -1, (MfwMnuItem *) name##Items, sizeof( name##Items ) / sizeof( MfwMnuItem ), col, TxtNull, NULL, MNUATTRSPARE \
440 };
441
442
443 /*SPR949 - SH - new macros. If the first item in a menu is a _SELECT, then the selected
444 value of this menu will be stored in the provided UBYTE variable 'var'.*/
445 #define MENU_ITEM_SELECT( msg, handler, attrFunction, var ) \
446 { 0,(void *)&var,0, (char *) msg, 0, (MenuFunc)handler, attrFunction }
447
448 #define MENU_ITEM_SUB_MENU_SELECT( msg, sub_menu,handler, attrFunction, var ) \
449 { 0,(void *)&var,0, (char *) msg, (MfwMnuAttr*) &sub_menu,(MenuFunc)handler, attrFunction }
450
451 #define SUB_MENU_SELECT( msg, sub_menu, attrFunction, var ) \
452 { 0,(void *)&var,0, (char *) msg, (MfwMnuAttr*) &sub_menu, 0, attrFunction }
453 /* end SPR949 */
454
455 #ifdef MMI_TTY_ENABLED
456 /* SPR#1352 - SH - TTY menu */
457 BEGIN_MENU( menuTTY )
458 MENU_ITEM( TxtOff, call_tty_menuselect, item_flag_none),
459 MENU_ITEM( TxtAlwaysOn, call_tty_menuselect, item_flag_none),
460 MENU_ITEM( TxtOnNextCall, call_tty_menuselect, item_flag_none)
461 END_MENU( menuTTY, menuListArea, COLOUR_LIST_SUBMENU1 )
462 #endif
463
464 #ifdef MMI_EM_ENABLED
465 /*Engineering mode menus - MC SPR1209*/
466 BEGIN_MENU( menuEngMode )
467 MENU_ITEM( TxtMobileInfo, Mmi_em_display_mobile_info_data, item_flag_none ),
468 MENU_ITEM( TxtServingCell, Mmi_em_display_serving_cell_params, item_flag_none ),
469 MENU_ITEM( TxtNeighbourCell, Mmi_em_display_neighbour_cell_params, item_flag_none ),
470 MENU_ITEM( TxtLocation, Mmi_em_display_location_params, item_flag_none ),
471 MENU_ITEM( TxtCiphHopDTX, Mmi_em_display_ciph_hop_DTX_params, item_flag_none ),
472 MENU_ITEM( TxtGPRS, Mmi_em_display_GPRS_params, item_flag_none )
473
474 END_MENU( menuEngMode, menuListArea, COLOUR_LIST_SUBMENU )
475 /*MC end*/
476 #endif
477
478
479 /* SPR#1112 - SH - Internal phonebook menus */
480
481 #ifdef INT_PHONEBOOK
482
483 BEGIN_MENU( menuSelectBook )
484 MENU_ITEM( TxtSIM, bookSelectBookSIM, item_flag_none ),
485 MENU_ITEM( TxtPhone, bookSelectBookPhone, item_flag_none ),
486 END_MENU( menuSelectBook, menuListArea, COLOUR_LIST_SUBMENU )
487
488 BEGIN_MENU( menuCopy )
489 MENU_ITEM( TxtThisEntry, bookCopyEntry, item_flag_none ),
490 MENU_ITEM( TxtAll, bookCopyAll, item_flag_none ),
491 END_MENU( menuCopy, menuListArea, COLOUR_LIST_SUBMENU )
492
493 BEGIN_MENU( menuMove )
494 MENU_ITEM( TxtThisEntry, bookMoveEntry, item_flag_none ),
495 MENU_ITEM( TxtAll, bookMoveAll, item_flag_none ),
496 END_MENU( menuMove, menuListArea, COLOUR_LIST_SUBMENU )
497
498 #endif
499
500 #ifdef FF_WAP
501
502 /*
503 * WAP menus
504 */
505 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
506 /* Pushed message options sub-menu */
507
508 BEGIN_MENU( menuPushListOptions )
509 MENU_ITEM( TxtRead, (MenuFunc)AUI_wap_push_message_read, item_flag_none ),
510 MENU_ITEM( TxtDelete, (MenuFunc)AUI_wap_push_message_delete, item_flag_none )
511 END_MENU( menuPushListOptions, menuListArea, COLOUR_LIST_SUBMENU1 )
512
513 /* Show push messages sub-menu */
514
515 BEGIN_MENU( menuPushMessages )
516 MENU_ITEM( TxtOff, (MenuFunc)AUI_wap_push_showmessages_set, item_flag_none ),
517 MENU_ITEM( TxtOn, (MenuFunc)AUI_wap_push_showmessages_set, item_flag_none )
518 END_MENU( menuPushMessages, menuListArea, COLOUR_LIST_SUBMENU1 )
519 #endif
520
521 // Scale Images sub-menu
522
523 BEGIN_MENU( menuScaleImages )
524 MENU_ITEM( TxtOff, (MenuFunc)AUI_scaleimages_set, item_flag_none ),
525 MENU_ITEM( TxtOn, (MenuFunc)AUI_scaleimages_set, item_flag_none )
526 END_MENU( menuScaleImages, menuListArea, COLOUR_LIST_SUBMENU )
527
528 // Save History sub-menu
529
530 BEGIN_MENU( menuSaveHistory )
531 MENU_ITEM( TxtOff, (MenuFunc)AUI_savehist_set, item_flag_none ),
532 MENU_ITEM( TxtOn, (MenuFunc)AUI_savehist_set, item_flag_none )
533 END_MENU( menuSaveHistory, menuListArea, COLOUR_LIST_SUBMENU )
534
535 /* SPR#2324 - SH - GPRS/Dialup submenu */
536
537 BEGIN_MENU( menuWAPGPRSDialup )
538 MENU_ITEM( TxtGPRS, (MenuFunc)AUI_access_set, item_flag_none ),
539 MENU_ITEM( TxtDialup, (MenuFunc)AUI_access_set, item_flag_none ),
540 END_MENU( menuWAPGPRSDialup, menuListArea, COLOUR_LIST_SUBMENU )
541
542 // Security sub-menu
543
544 BEGIN_MENU( menuSecurityOption )
545 MENU_ITEM( TxtOff, (MenuFunc)AUI_security_set, item_flag_none ),
546 MENU_ITEM( TxtOn, (MenuFunc)AUI_security_set, item_flag_none )
547 END_MENU( menuSecurityOption, menuListArea, COLOUR_LIST_SUBMENU )
548
549 // Connection Type sub-menu
550
551 BEGIN_MENU( menuWAPConnectionType )
552 MENU_ITEM( TxtTemporary, (MenuFunc)AUI_connectionType_set,item_flag_none ),
553 MENU_ITEM( TxtContinuous, (MenuFunc)AUI_connectionType_set,item_flag_none )
554 END_MENU( menuWAPConnectionType, menuListArea, COLOUR_LIST_SUBMENU )
555
556 /* SPR#1983 - SH - Connection Speed sub-menu */
557
558 BEGIN_MENU( menuWAPConnectionSpeed )
559 MENU_ITEM( TxtAnalogue, (MenuFunc)AUI_connectionSpeed_set,item_flag_none ),
560 MENU_ITEM( TxtISDN9600, (MenuFunc)AUI_connectionSpeed_set,item_flag_none ),
561 MENU_ITEM( TxtISDN14400, (MenuFunc)AUI_connectionSpeed_set,item_flag_none )
562 END_MENU( menuWAPConnectionSpeed, menuListArea, COLOUR_LIST_SUBMENU1 )
563
564 //xpradipg - Aug 4: Changes for WAP 2.0 menus
565 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
566 BEGIN_MENU( MenuPPGAuthenticationOptions)
567 MENU_ITEM( TxtOff, (MenuFunc)AUI_PPGAuthentication_set, item_flag_none ),
568 MENU_ITEM( TxtOn, (MenuFunc)AUI_PPGAuthentication_set, item_flag_none )
569 END_MENU( MenuPPGAuthenticationOptions, menuListArea, COLOUR_LIST_SUBMENU )
570
571 BEGIN_MENU( MenuWirelessProfiledHTTPOptions)
572 MENU_ITEM( TxtOff, (MenuFunc)AUI_WirelessProfiledHTTP_set, item_flag_none ),
573 MENU_ITEM( TxtOn, (MenuFunc)AUI_WirelessProfiledHTTP_set, item_flag_none )
574 END_MENU( MenuWirelessProfiledHTTPOptions, menuListArea, COLOUR_LIST_SUBMENU )
575 #endif
576
577
578 /* SPR#2324 - SH - Advanced Profile Options */
579
580 BEGIN_MENU( menuAdvancedProfileOptions )
581 MENU_ITEM( TxtConnectionType, (MenuFunc)AUI_connectionType, item_flag_none ),
582 MENU_ITEM( TxtSecurity, (MenuFunc)AUI_security, item_flag_none ),
583 MENU_ITEM( TxtResponseTimer, (MenuFunc)AUI_response_timer, item_flag_none ),
584 MENU_ITEM( TxtIPAddress2, (MenuFunc)AUI_IPAddress2, item_flag_none ),
585 MENU_ITEM( TxtPort1, (MenuFunc)AUI_Port1, item_flag_none ),
586 MENU_ITEM( TxtPort2, (MenuFunc)AUI_Port2, item_flag_none )
587 //xpradipg - Aug 4, 2004: changes for WAP 2.0 menus
588 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
589 ,
590 MENU_ITEM( TxtNameServer1, (MenuFunc)AUI_NameServer1, item_flag_WAP_2_0),
591 MENU_ITEM( TxtNameServer2, (MenuFunc)AUI_NameServer2, item_flag_WAP_2_0),
592 MENU_ITEM( TxtPPGAuthentication, (MenuFunc)AUI_PPGAuthentication, item_flag_none),
593 MENU_ITEM( TxtWirelessProfiledHTTP,(MenuFunc)AUI_WirelessProfiledHTTP,item_flag_WAP_2_0)
594
595 #endif
596 END_MENU( menuAdvancedProfileOptions, menuListArea, COLOUR_LIST_SUBMENU )
597
598 /* SPR#2324 - SH - GPRS Profile Options */
599
600 BEGIN_MENU( menuGPRSProfileOptions )
601 MENU_ITEM( TxtGPRSDialupGPRS, (MenuFunc)AUI_access, item_flag_none),
602 MENU_ITEM( TxtEditName, (MenuFunc)AUI_profile_name_edit, item_flag_none ),
603 MENU_ITEM( TxtHomepage, (MenuFunc)AUI_homepage_edit, item_flag_none ),
604 MENU_ITEM( TxtISPUsername, (MenuFunc)AUI_username, item_flag_none ),
605 MENU_ITEM( TxtISPPassword, (MenuFunc)AUI_password, item_flag_none),
606 MENU_ITEM( TxtIPAddress, (MenuFunc)AUI_IPAddress1, item_flag_none ),
607 MENU_ITEM( TxtAPN, (MenuFunc)AUI_APN, item_flag_none ),
608 SUB_MENU( TxtAdvanced, menuAdvancedProfileOptions, item_flag_none),
609 END_MENU( menuGPRSProfileOptions, menuListArea, COLOUR_LIST_SUBMENU )
610
611 /* SPR#2324 - SH - Dialup Profile Options */
612
613 BEGIN_MENU( menuDialupProfileOptions )
614 #ifdef GPRS /* Only provide option if GPRS is switched on */
615 MENU_ITEM( TxtGPRSDialupDialup, (MenuFunc)AUI_access, item_flag_none),
616 #endif
617 MENU_ITEM( TxtEditName, (MenuFunc)AUI_profile_name_edit, item_flag_none ),
618 MENU_ITEM( TxtHomepage, (MenuFunc)AUI_homepage_edit, item_flag_none ),
619 MENU_ITEM( TxtISPUsername, (MenuFunc)AUI_username, item_flag_none ),
620 MENU_ITEM( TxtISPPassword, (MenuFunc)AUI_password, item_flag_none),
621 MENU_ITEM( TxtIPAddress, (MenuFunc)AUI_IPAddress1, item_flag_none ),
622 MENU_ITEM( TxtDialupNumber, (MenuFunc)AUI_dialupNumber, item_flag_none ),
623 MENU_ITEM( TxtConnectionSpeed, (MenuFunc)AUI_connectionSpeed, item_flag_none ), /* SPR#1827 - SH - Connection Speed sub-menu */
624 SUB_MENU( TxtAdvanced, menuAdvancedProfileOptions, item_flag_none),
625 END_MENU( menuDialupProfileOptions, menuListArea, COLOUR_LIST_SUBMENU )
626
627 /* SPR#2324 - SH - Profile options menu */
628
629 BEGIN_MENU( menuProfileOptions )
630 MENU_ITEM( TxtSoftSelect, (MenuFunc)AUI_profile_select, item_flag_none ),
631 MENU_ITEM( TxtChange, (MenuFunc)AUI_profile_change, item_flag_none),
632 MENU_ITEM( TxtDelete, (MenuFunc)AUI_profile_delete, item_flag_none),
633 MENU_ITEM( TxtNewProfile, (MenuFunc)AUI_profile_new, item_flag_none),
634 MENU_ITEM( TxtResetProfiles, (MenuFunc)AUI_profile_reset, item_flag_none),
635 END_MENU( menuProfileOptions, menuListArea, COLOUR_LIST_SUBMENU )
636
637 // Setup sub-menu
638
639 BEGIN_MENU( menuWAPSettings )
640 MENU_ITEM( TxtSaveHistory, AUI_savehist, item_flag_none ),
641 MENU_ITEM( TxtScaleImages, AUI_scaleimages, item_flag_none ),
642 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
643 MENU_ITEM( TxtShowMessages, AUI_wap_push_showmessages, item_flag_none )/*added by ellen*/
644 #endif
645 END_MENU( menuWAPSettings, menuListArea, COLOUR_LIST_SUBMENU )
646
647 // History Options sub-menu
648
649 BEGIN_MENU( menuHistoryOptions )
650 MENU_ITEM( TxtGoTo, AUI_history_goto, item_flag_none ),
651 MENU_ITEM( TxtEditName, AUI_history_edit, item_flag_none ),
652 MENU_ITEM( TxtEditURL, AUI_history_edit_url, item_flag_none ),
653 MENU_ITEM( TxtDelete, AUI_history_delete, item_flag_none ),
654 MENU_ITEM( TxtSend, AUI_history_sendSMS, item_flag_none ),
655 MENU_ITEM( TxtBookmark, AUI_history_addbook, item_flag_none )
656 END_MENU( menuHistoryOptions, menuListArea, COLOUR_LIST_SUBMENU ) //SPR#1347 - GW - added parameter.
657
658 // History sub-menu
659
660 BEGIN_MENU( menuHistory )
661 MENU_ITEM( TxtList, AUI_history_list, item_flag_none ),
662 MENU_ITEM( TxtClear, AUI_history_clear, item_flag_none )
663 END_MENU( menuHistory, menuListArea, COLOUR_LIST_SUBMENU )
664
665 // GoTo sub-menu
666
667 BEGIN_MENU( menuGoTo )
668 MENU_ITEM( TxtWWWdot, AUI_goto_www, item_flag_none ),
669 MENU_ITEM( TxtWAPdot, AUI_goto_wap, item_flag_none ),
670 MENU_ITEM( TxtOther, AUI_goto_other, item_flag_none )
671 END_MENU( menuGoTo, menuListArea, COLOUR_LIST_SUBMENU )
672
673 // Bookmark Options sub-menu
674
675 BEGIN_MENU( menuBookmarkOptions )
676 MENU_ITEM( TxtGoTo, AUI_bookmarks_goto, item_flag_none ),
677 MENU_ITEM( TxtEditName, AUI_bookmarks_edit, item_flag_none ),
678 MENU_ITEM( TxtEditURL, AUI_bookmarks_edit_url, item_flag_none ),
679 MENU_ITEM( TxtDelete, AUI_bookmarks_delete, item_flag_none ),
680 MENU_ITEM( TxtSend, AUI_bookmarks_sendSMS, item_flag_none )
681 END_MENU( menuBookmarkOptions, menuListArea, COLOUR_LIST_SUBMENU )
682
683 // New Bookmark sub-menu
684
685 BEGIN_MENU( menuNewBookmark )
686 MENU_ITEM( TxtWWWdot, AUI_bookmarks_add_www, item_flag_none ),
687 MENU_ITEM( TxtWAPdot, AUI_bookmarks_add_wap, item_flag_none ),
688 MENU_ITEM( TxtOther, AUI_bookmarks_add_other, item_flag_none )
689 END_MENU( menuNewBookmark, menuListArea, COLOUR_LIST_SUBMENU )
690
691 // Bookmarks sub-menu
692
693 BEGIN_MENU( menuBookmarks )
694 MENU_ITEM( TxtList, AUI_bookmarks_list, item_flag_none ),
695 MENU_ITEM( TxtNewBookmark, AUI_bookmarks_add, item_flag_none ) /* SPR#1983 - SH */
696 END_MENU( menuBookmarks, menuListArea, COLOUR_LIST_SUBMENU )
697
698 /* WAP Menu
699 * SPR#2324 - SH - Added "Profiles" menu */
700
701 BEGIN_MENU( menuWAP )
702 MENU_ITEM( TxtHomepage, AUI_homepage, item_flag_none ),
703 SUB_MENU( TxtBookmarks, menuBookmarks, item_flag_none ),
704 SUB_MENU( TxtGoTo, menuGoTo, item_flag_none ),
705 SUB_MENU( TxtHistory, menuHistory, item_flag_none ),
706 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
707 MENU_ITEM( TxtDownload, AUI_download, item_flag_none ), /* SPR#2086 - TEST CODE */
708 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
709 //SUB_MENU( TxtPushMessages, menuPushListOptions, item_flag_none ), /*added by ellen*/
710 // xreddymn Jan-06-2004 MMI-SPR-27618: Display list of WAP push messages before displaying the Options list.
711 MENU_ITEM( TxtPushMessages, (MenuFunc)AUI_wap_push_list, item_flag_none ),
712 #endif
713 #endif
714 SUB_MENU( TxtSettings, menuWAPSettings, item_flag_none ),
715 MENU_ITEM( TxtProfiles, (MenuFunc)AUI_profiles_setup, item_flag_none )
716 END_MENU( menuWAP, menuListArea, COLOUR_LIST_SUBMENU )
717
718 #endif
719
720 /*---------------------------------------------------------------------------*/
721
722 #ifdef EASY_TEXT_ENABLED
723 //Sub Menu of Easy Text
724 BEGIN_MENU( menuEasyText )
725 MENU_ITEM( TxtActivate, Easy_Activate, item_flag_none ),
726 MENU_ITEM( TxtDeactivate, Easy_DeActivate, item_flag_none)
727 END_MENU_HEADER( menuEasyText, menuListArea, COLOUR_LIST_SUBMENU, TxtEasyText)
728 #endif
729
730 //Sub-Menu of Volume Settings
731 BEGIN_MENU( menuSetSmsValidityPeriod )
732 MENU_ITEM( Txt1Hour, SmsValidityPeriod, item_flag_none ),
733 MENU_ITEM( Txt12Hours, SmsValidityPeriod, item_flag_none ),
734 MENU_ITEM( Txt24Hours, SmsValidityPeriod, item_flag_none ),
735 MENU_ITEM( Txt1Week, SmsValidityPeriod, item_flag_none ),
736 MENU_ITEM( TxtMaxTime, SmsValidityPeriod, item_flag_none ), // May 10, 2004 REF: CRR 15753 Deepa M.D .Menuitem to set the validity period to Maximum.
737 END_MENU( menuSetSmsValidityPeriod, menuListArea, COLOUR_LIST_SUBMENU )
738
739 //Aug 22, 2005 REF: ENH 31154 xdeepadh
740 #ifdef FF_MMI_TEST_CAMERA
741 //Sub-Menu of Quality Settings
742 BEGIN_MENU( menuSetQuality )
743 MENU_ITEM( TxtEconomy, mmi_camera_test_set_quality, item_flag_none ),
744 MENU_ITEM( TxtStandard, mmi_camera_test_set_quality, item_flag_none ),
745 MENU_ITEM( TxtHigh, mmi_camera_test_set_quality, item_flag_none ),
746 END_MENU( menuSetQuality, menuListArea, COLOUR_LIST_SUBMENU )
747
748 BEGIN_MENU( menuSetColor )
749 MENU_ITEM( TxtColor, mmi_camera_test_set_color, item_flag_none ),
750 MENU_ITEM( TxtSepia, mmi_camera_test_set_color, item_flag_none ),
751 MENU_ITEM( TxtBlackandWhite, mmi_camera_test_set_color, item_flag_none ),
752 MENU_ITEM( TxtNegative, mmi_camera_test_set_color, item_flag_none )
753 END_MENU( menuSetColor, menuListArea, COLOUR_LIST_SUBMENU )
754 #endif //FF_MMI_TEST_CAMERA
755
756
757 //1227 - 01/10/02 - API - Sub Menu for the Concatenate Switch menu option
758 //Sub Menu of Concatenate Switch
759 BEGIN_MENU( menuConcatenate )
760 MENU_ITEM( TxtActivate, Concatenate_Activate, item_flag_none),
761 MENU_ITEM( TxtDeactivate, Concatenate_DeActivate, item_flag_none),
762 MENU_ITEM( TxtStatus, Concatenate_Status, item_flag_none)
763 END_MENU( menuConcatenate, menuListArea, COLOUR_LIST_SUBMENU )
764 /* Marcus: Issue 1170: 30/09/2002: Start */
765 BEGIN_MENU( menuSetSmsStatusReportRequest )
766 MENU_ITEM( TxtOff, SmsStatusReportRequest, item_flag_none ),
767 MENU_ITEM( TxtOn, SmsStatusReportRequest, item_flag_none )
768 END_MENU( menuSetSmsStatusReportRequest, menuListArea, COLOUR_LIST_SUBMENU )
769 /* Marcus: Issue 1170: 30/09/2002: End */
770
771 // March 2, 2005 REF: CRR 11536 x0018858
772 // Added this to create a menu option for setting
773 // and unsetting the reply path.
774 // begin -11536
775 BEGIN_MENU( menuSetSmsReplyPath)
776 MENU_ITEM( TxtOff, SmsReplyPathRequest, item_flag_none ),
777 MENU_ITEM( TxtOn, SmsReplyPathRequest, item_flag_none )
778 END_MENU( menuSetSmsReplyPath, menuListArea, COLOUR_LIST_SUBMENU )
779 // end -11536
780
781 // Sub-Menu of Message Settings
782 // 1227 - 05/10/02 - API - Add the Menu option Concatenate
783 BEGIN_MENU( menuSetMsg )
784 #ifndef EASY_TEXT_ENABLED
785 MENU_ITEM( TxtServiceCentre, SmsSend_R_OPTExeCentreEdit, item_flag_none ),
786 SUB_MENU( TxtValidity, menuSetSmsValidityPeriod, item_flag_none ),
787 SUB_MENU( TxtConcat, menuConcatenate, item_flag_none),
788 // May04, 2005 REF: CRR 30285 x0021334
789 // Changed SUB_MENU to MENU_ITEM to call function settingsStatusRequestCurSel()
790 MENU_ITEM( TxtSRR, (MenuFunc)settingsSmsStatusReportCurSel, item_flag_none ),
791 //SUB_MENU( TxtSRR, menuSetSmsStatusReportRequest, item_flag_none ), // Marcus: Issue 1170: 30/09/2002
792 //March 2, 2005 REF: CRR 11536 x0018858
793 SUB_MENU( TxtRP, menuSetSmsReplyPath, item_flag_none )// Added for setting reply Path
794 #else
795 MENU_ITEM( TxtServiceCentre, SmsSend_R_OPTExeCentreEdit, item_flag_none ),
796 SUB_MENU( TxtValidity, menuSetSmsValidityPeriod, item_flag_none ),
797 SUB_MENU( TxtEasyText, menuEasyText, item_flag_none),
798 SUB_MENU( TxtConcat, menuConcatenate, item_flag_none),
799 // May04, 2005 REF: CRR 30285 x0021334
800 // Changed SUB_MENU to MENU_ITEM to call function settingsStatusRequestCurSel()
801 MENU_ITEM( TxtSRR, (MenuFunc)settingsSmsStatusReportCurSel, item_flag_none ),
802 // SUB_MENU( TxtSRR, menuSetSmsStatusReportRequest, item_flag_none ), // Marcus: Issue 1170: 30/09/2002
803 //March 2, 2005 REF: CRR 11536 x0018858
804 SUB_MENU( TxtRP, menuSetSmsReplyPath, item_flag_none ) // Added for setting reply Path.
805 // MENU_ITEM( TxtMessageTyp, bookMenuNotImplemented, item_flag_none )
806 #endif
807 END_MENU( menuSetMsg, menuListArea, COLOUR_LIST_SUBMENU )
808
809
810 //// Aug 22, 2005 REF: ENH 31154 xdeepadh
811 #ifdef FF_MMI_FILE_VIEWER
812 BEGIN_MENU(menuRotateActivate)
813 MENU_ITEM( TxtRotate90Degree, mmi_fv_set_rotate_90degree, item_flag_none ),
814 MENU_ITEM( TxtRotate180Degree, mmi_fv_set_rotate_180degree, item_flag_none ),
815 MENU_ITEM( TxtRotate270Degree, mmi_fv_set_rotate_270degree, item_flag_none )
816 END_MENU( menuRotateActivate, menuListArea, COLOUR_LIST_SUBMENU1 )
817
818 BEGIN_MENU(menuZoomActivate)
819 MENU_ITEM( TxtZoomIn, mmi_fv_set_zoom_in, item_flag_none ),
820 MENU_ITEM( TxtZoomOut, mmi_fv_set_zoom_out, item_flag_none )
821 END_MENU( menuZoomActivate, menuListArea, COLOUR_LIST_SUBMENU1 )
822
823 BEGIN_MENU( menuFileViewer )
824 MENU_ITEM( TxtView , mmi_fv_view_image_start, item_flag_none ),
825 MENU_ITEM( TxtRename, mmi_fv_reame_edit, item_flag_none ),
826 MENU_ITEM( TxtDelete, mmi_fv_delete_start, item_flag_none),
827 END_MENU( menuFileViewer, menuListArea, COLOUR_LIST_SUBMENU )
828
829 BEGIN_MENU( menuViewOptions )
830 SUB_MENU( TxtRotate, menuRotateActivate, item_flag_none ),
831 SUB_MENU( TxtZoom, menuZoomActivate, item_flag_none )
832 END_MENU( menuViewOptions, menuListArea, COLOUR_LIST_SUBMENU )
833 #endif
834 /*MC SPR 1920 add brodcast activate menu*/
835 BEGIN_MENU(menuBroadMsgActivate)
836 MENU_ITEM ( TxtCheckStatus, settingsShowStateCBDisable, item_flag_none ),
837 MENU_ITEM( TxtOff, smscb_M_CB_ACT_ExeNo, item_flag_none ),
838 MENU_ITEM( TxtOn, smscb_M_CB_ACT_ExeYes, item_flag_none )
839 END_MENU( menuBroadMsgActivate, menuListArea, COLOUR_LIST_SUBMENU1 )
840 /*MC SPR 1920 re-instate broadcast SMS menu*/
841 // Sub-Menu of Broadcast Messages
842 BEGIN_MENU( menuBroadMsg )
843 SUB_MENU( TxtActivate, menuBroadMsgActivate, item_flag_none ),
844 MENU_ITEM( TxtRead, sms_cb_select_read, item_flag_none ),
845 MENU_ITEM( TxtNewBroadcast, smscb_M_CB_TOP_ExeAddNew, item_flag_none ),
846 MENU_ITEM( TxtList, smscb_M_CB_TOP_ExeConsult, item_flag_none )
847 END_MENU( menuBroadMsg, menuListArea, COLOUR_LIST_SUBMENU1 )
848
849 // Sub-Menu of VoiceMail
850 BEGIN_MENU( menuVoiceMsg )
851 MENU_ITEM( TxtVoicemail, menu_cphs_call_mailbox_number, item_flag_none ),
852 MENU_ITEM( TxtSetVoiceMail, menu_cphs_edit_mailbox_number, item_flag_none/*CphsMailboxPresent*/ )
853 END_MENU( menuVoiceMsg, menuListArea, COLOUR_LIST_SUBMENU )
854 //
855
856 /****************************************************/
857
858 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
859 //yanbin MMS menu
860 //TISHMMS Project
861 // May 11 2005 REF: MMI-SPR-29887 x0012849
862 // New Menu for MMS Retrieval condition
863 BEGIN_MENU( menuSetMmsRetrievalType )
864 MENU_ITEM( TxtImmediate, MmsRetrievalTypeRequest, item_flag_none ),
865 MENU_ITEM( TxtDeferred, MmsRetrievalTypeRequest, item_flag_none ),
866 MENU_ITEM( TxtStatus, MmsRetrievalTypeRequest, item_flag_none )
867 END_MENU(menuSetMmsRetrievalType, menuListArea, COLOUR_LIST_SUBMENU)
868 // Sub-Menu of MMS
869 BEGIN_MENU( menuMMS )
870 #ifdef FF_MMI_MMS
871 MENU_ITEM( TxtMMSCreate, M_exeMMSCreate, item_flag_none ),
872 #endif
873 #ifdef FF_MMI_EMS
874 MENU_ITEM( TxtEMSCreate, M_exeEMSCreate, item_flag_none ),
875 #endif
876 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
877 MENU_ITEM( TxtMMSInbox, M_exeMMSInbox, item_flag_none ),
878 MENU_ITEM( TxtMMSUnsent, M_exeMMSUnsent, item_flag_none ),
879 //CRR: 25291 - xrashmic 14 Oct 2004
880 MENU_ITEM( TxtMMSSent, M_exeMMSSent, item_flag_none ),
881 #endif
882 #ifdef FF_MMI_MMS
883 MENU_ITEM( TxtMMSSettings, M_exeMMSSettings, item_flag_none ),
884 // May 11 2005 REF: MMI-SPR-29887
885 SUB_MENU ( TxtRetrieveCondition, menuSetMmsRetrievalType , item_flag_none )
886 #endif
887 END_MENU( menuMMS, menuListArea, COLOUR_LIST_SUBMENU1 )
888 #endif
889
890 /****************************************************/
891 // Menu of Messages
892 // xreddymn Nov-09-2004, MMI-SPR-25333: Modified Messaging sub-menu to distinguish between SMS and MMS/EMS
893 #if(0)
894
895 BEGIN_MENU( menuMsg )
896 //yanbin add MMS menu
897 //TISHMMS Project
898
899 // xreddymn Aug-09-2004
900 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
901 SUB_MENU ( TxtMMS, menuMMS, item_flag_none ),
902 #endif
903
904 MENU_ITEM ( TxtRead, M_exeRead, item_flag_none ),
905 // MZ Start the Text editor.
906 /* API - 03/09/03 - SPR2383 - Remove the call to show the Editor and call the eZiText window if active*/
907 /*MC SPR 1498*/
908 #if defined (EASY_TEXT_ENABLED)
909 # if defined (WIN32) // EF windows simulation does not use ezitext(yet)
910 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
911 # else
912 MENU_ITEM( TxtWrite, showeZiTextIcon, item_flag_none ),
913 # endif
914 #else
915 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
916 #endif
917 /*MC end*/
918 /* API - 03/09/03 - SPR2383 - END*/
919 MENU_ITEM( TxtDeleteAll, M_exeDelAll, item_flag_none ),
920 SUB_MENU ( TxtSettings, menuSetMsg, item_flag_none ),
921 SUB_MENU ( TxtBroadcast, menuBroadMsg/*MC SPR 1920*/, item_flag_none ),
922
923 SUB_MENU ( TxtVoicemail, menuVoiceMsg, item_flag_none )
924 END_MENU( menuMsg, menuListArea, COLOUR_LIST_SUBMENU )
925
926 #else
927
928 /* xreddymn Nov-09-2004, MMI-SPR-25333: Seperate sub menu for SMS features */
929 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
930 BEGIN_MENU( menuSMS )
931 MENU_ITEM ( TxtRead, M_exeRead, item_flag_none ),
932 // MZ Start the Text editor.
933 /* API - 03/09/03 - SPR2383 - Remove the call to show the Editor and call the eZiText window if active*/
934 /*MC SPR 1498*/
935 #if defined (EASY_TEXT_ENABLED)
936 # if defined (WIN32) // EF windows simulation does not use ezitext(yet)
937 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
938 # else
939 MENU_ITEM( TxtWrite, showeZiTextIcon, item_flag_none ),
940 # endif
941 #else
942 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
943 #endif
944 /*MC end*/
945 /* API - 03/09/03 - SPR2383 - END*/
946 MENU_ITEM( TxtDeleteAll, M_exeDelAll, item_flag_none ),
947 SUB_MENU ( TxtSettings, menuSetMsg, item_flag_none ),
948 SUB_MENU ( TxtBroadcast, menuBroadMsg/*MC SPR 1920*/, item_flag_none ),
949
950 SUB_MENU ( TxtVoicemail, menuVoiceMsg, item_flag_none )
951 END_MENU( menuSMS, menuListArea, COLOUR_LIST_SUBMENU )
952 #endif
953
954 /* xreddymn Nov-09-2004, MMI-SPR-25333: New Messaging Sub-menu.
955 * If MMS/EMS feature is available, move SMS related features into a new sub-menu,
956 * Otherwise we retain SMS features in the Messaging sub-menu
957 */
958 BEGIN_MENU( menuMsg )
959 #if defined (FF_MMI_EMS) || defined (FF_MMI_MMS)
960 //yanbin add MMS menu
961 //TISHMMS Project
962 SUB_MENU ( TxtMMS, menuMMS, item_flag_none ),
963 SUB_MENU ( TxtSMS, menuSMS, item_flag_none ),
964 #else
965 MENU_ITEM ( TxtRead, M_exeRead, item_flag_none ),
966 // MZ Start the Text editor.
967 /* API - 03/09/03 - SPR2383 - Remove the call to show the Editor and call the eZiText window if active*/
968 /*MC SPR 1498*/
969 #if defined (EASY_TEXT_ENABLED)
970 # if defined (WIN32) // EF windows simulation does not use ezitext(yet)
971 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
972 # else
973 MENU_ITEM( TxtWrite, showeZiTextIcon, item_flag_none ),
974 # endif
975 #else
976 MENU_ITEM( TxtWrite, M_exeSendNew, item_flag_none ),
977 #endif
978 /*MC end*/
979 /* API - 03/09/03 - SPR2383 - END*/
980 MENU_ITEM( TxtDeleteAll, M_exeDelAll, item_flag_none ),
981 SUB_MENU ( TxtSettings, menuSetMsg, item_flag_none ),
982 SUB_MENU ( TxtBroadcast, menuBroadMsg/*MC SPR 1920*/, item_flag_none ),
983
984 SUB_MENU ( TxtVoicemail, menuVoiceMsg, item_flag_none )
985 #endif
986 END_MENU( menuMsg, menuListArea, COLOUR_LIST_SUBMENU )
987
988 #endif
989
990 /*---------------------------------------------------------------------------*/
991
992
993
994 /* Phone book menus
995 *
996 */
997 BEGIN_MENU( menuOwnNumber )
998 MENU_ITEM( TxtConsult, bookGetOwnNumber, item_flag_none ),
999 MENU_ITEM( TxtAddNew, bookSetOwnNumber, item_flag_none )
1000 END_MENU( menuOwnNumber, menuListArea, COLOUR_LIST_SUBMENU )
1001
1002 // Sub-Menu of
1003 BEGIN_MENU( menuRepRedOptions )
1004 MENU_ITEM( TxtStoreNumber, bookRepRedNameEnter, item_flag_none ),
1005 MENU_ITEM( TxtSendMessage, bookSendMessage, item_flag_none ),
1006 MENU_ITEM( TxtDetails, bookCallListDetails, item_flag_none ),
1007 MENU_ITEM( TxtDelete, bookRepRedDelete, item_flag_none ),
1008 MENU_ITEM( TxtDeleteAll, bookDeleteAll, item_flag_none )
1009 END_MENU( menuRepRedOptions, menuListArea, COLOUR_LIST_SUBMENU )
1010
1011
1012 BEGIN_MENU( menuNameOptions )
1013 MENU_ITEM( TxtSendMessage, bookSendMessage, item_flag_none ),
1014 MENU_ITEM( TxtChange, bookNameEdit, item_flag_none ),
1015 MENU_ITEM( TxtDetails, bookDetailsStart, item_flag_none ),
1016 //added "call" option - MC
1017 MENU_ITEM( TxtCallNumber, bookNameCall, item_flag_none ),
1018
1019 /* SPR#1112 - SH - Options for when internal phonebook present */
1020 #ifdef INT_PHONEBOOK
1021 SUB_MENU( TxtCopy, menuCopy, item_flag_none),
1022 SUB_MENU( TxtMove, menuMove, item_flag_none),
1023 #endif
1024
1025 MENU_ITEM( TxtDelete, bookNameDelete, item_flag_none ),
1026 END_MENU( menuNameOptions, menuListArea, COLOUR_LIST_SUBMENU )
1027
1028 /*SPR 1327, UPN number menu*/
1029 BEGIN_MENU( menuUPNOptions )
1030 MENU_ITEM( TxtChange, bookNameEdit, item_flag_none ),
1031 MENU_ITEM( TxtDetails, bookDetailsStart, item_flag_none ),
1032 MENU_ITEM( TxtDelete, bookNameDelete, item_flag_none ),
1033 END_MENU( menuUPNOptions, menuListArea, COLOUR_LIST_SUBMENU )
1034 #ifdef FF_MMI_CPHS
1035 BEGIN_MENU( menuEmergOptions )
1036 MENU_ITEM( TxtEdit, bookEmergEdit, item_flag_none ),
1037 MENU_ITEM( TxtDelete, bookEmergDelete, item_flag_none ),
1038 END_MENU( menuEmergOptions, menuListArea, COLOUR_LIST_SUBMENU )
1039 // Emergency Numbers menu
1040 BEGIN_MENU( menuEmergency )
1041 MENU_ITEM( TxtAddNew, bookEmergencyAdd, item_flag_none ),
1042 MENU_ITEM( TxtViewAll, bookEmergencyView, item_flag_none ),
1043 END_MENU( menuEmergency, menuListArea, COLOUR_LIST_SUBMENU )
1044 #endif
1045 // Menu of Phonebook
1046 BEGIN_MENU( menuPhbk )
1047 MENU_ITEM( TxtSearchName, bookNameSearch, item_flag_none ),
1048 MENU_ITEM(TxtInfoNumbers, InfoNumbers, item_flag_none),
1049 MENU_ITEM( TxtAddNew, bookNameEnter, item_flag_none ),
1050 MENU_ITEM( TxtServiceNumbers, bookServiceNumbers, item_flag_none ),
1051 SUB_MENU( TxtMyNumber, menuOwnNumber, item_flag_none ),
1052 MENU_ITEM( TxtMemory, bookMemoryStatus, item_flag_none ),
1053 /* SPR#1112 - SH - Internal Phonebook new menu option */
1054 #ifdef INT_PHONEBOOK
1055 MENU_ITEM( TxtSelectBook, bookSelectBook, item_flag_none ),
1056 #endif
1057 #ifdef FF_MMI_CPHS
1058 SUB_MENU( TxtEmergencyNumbers, menuEmergency, item_flag_none ),
1059 #endif
1060 END_MENU( menuPhbk, menuListArea, COLOUR_LIST_SUBMENU )
1061
1062
1063
1064 /*---------------------------------------------------------------------------*/
1065
1066
1067
1068 //Sub-Menu of Call Timers
1069 BEGIN_MENU(menuCallTimers)
1070 MENU_ITEM( TxtLastCall, timerLastCall, item_flag_none),
1071 MENU_ITEM( TxtIncomingCalls, timerIncomingCalls, item_flag_none),
1072 MENU_ITEM( TxtOutgoingCalls, timerOutgoingCalls, item_flag_none),
1073 END_MENU(menuCallTimers, menuListArea, COLOUR_LIST_SUBMENU)
1074
1075
1076
1077 //Sub-Menu of Charge Limit / AOC
1078 BEGIN_MENU( menuLimitAOC )
1079 MENU_ITEM( TxtView, aoc_view_limit, item_flag_none ),
1080 MENU_ITEM( TxtChange, aoc_change_limit, item_flag_none ),
1081 MENU_ITEM( TxtCancel, aoc_cancel_limit, item_flag_none )
1082 END_MENU( menuLimitAOC, menuListArea, COLOUR_LIST_SUBMENU )
1083
1084
1085 //Sub-Menu of AOC
1086 BEGIN_MENU( menuAOCRecent )
1087 MENU_ITEM( TxtCredit, aoc_credit_remaining, item_flag_none ),
1088 MENU_ITEM( TxtRate, aoc_charge_rate, item_flag_none ),
1089 SUB_MENU ( TxtLimit, menuLimitAOC, item_flag_none ),
1090 MENU_ITEM( TxtLastCharge, aoc_last_charge, item_flag_none ),
1091 MENU_ITEM( TxtTotalCharge, aoc_total_charge, item_flag_none ),
1092 MENU_ITEM( TxtResetCharge, aoc_reset_charge, item_flag_none )
1093 END_MENU( menuAOCRecent, menuListArea, COLOUR_LIST_SUBMENU )
1094
1095
1096 // Menu of Recent Calls
1097 BEGIN_MENU( menuRecent )
1098 MENU_ITEM( TxtMissedCalls, bookEnterLMN, item_flag_none ),
1099 MENU_ITEM( TxtAnsweredCalls, bookEnterLRN, item_flag_none ), //API - 28-01-03 - 1628 - Change TxtIncomingCall to TxtAnsweredCalls
1100 MENU_ITEM( TxtOutgoingCalls,bookEnterLDN, item_flag_none ),
1101 SUB_MENU ( TxtCallTimers, menuCallTimers, item_flag_none ),
1102 SUB_MENU ( TxtChargeTimers, menuAOCRecent, service_check_aoc )
1103 END_MENU( menuRecent, menuListArea, COLOUR_LIST_SUBMENU )
1104 /*---------------------------------------------------------------------------*/
1105
1106
1107
1108
1109 //Sub-Menu
1110 BEGIN_MENU( menuCallDivert )
1111 MENU_ITEM ( TxtCheckStatus, servicesDivertCheck, item_flag_none ),
1112 MENU_ITEM ( TxtSetDivert, servicesNumbers, item_flag_none ),
1113 MENU_ITEM ( TxtCancelDivert, servicesDivertDeactivate, item_flag_none )
1114 END_MENU( menuCallDivert, menuListArea, COLOUR_LIST_SUBMENU )
1115
1116 //Sub-Menu
1117 BEGIN_MENU( menuCallDivertNR )
1118 MENU_ITEM ( TxtSetDivert, servicesNumbers, item_flag_none ),
1119 MENU_ITEM ( TxtCancelDivert, servicesDivertDeactivate, item_flag_none )
1120 END_MENU( menuCallDivertNR, menuListArea, COLOUR_LIST_SUBMENU )
1121
1122 //Sub-Menu
1123 BEGIN_MENU( menutypDivert )
1124 MENU_ITEM_SUB_MENU ( TxtVoice,menuCallDivert,servicesDivertVoice,item_flag_none ),
1125 MENU_ITEM_SUB_MENU ( TxtFax, menuCallDivert,servicesDivertFax, item_flag_none ),
1126 MENU_ITEM_SUB_MENU ( TxtData, menuCallDivert,servicesDivertData, item_flag_none )
1127 END_MENU( menutypDivert, menuListArea, COLOUR_LIST_SUBMENU )
1128
1129 //Sub-Menu
1130 BEGIN_MENU( menutypDivertNR )
1131 MENU_ITEM_SUB_MENU ( TxtVoice,menuCallDivertNR,servicesDivertVoice,item_flag_none ),
1132 MENU_ITEM_SUB_MENU ( TxtFax, menuCallDivertNR,servicesDivertFax, item_flag_none ),
1133 MENU_ITEM_SUB_MENU ( TxtData, menuCallDivertNR,servicesDivertData, item_flag_none )
1134 END_MENU( menutypDivertNR, menuListArea, COLOUR_LIST_SUBMENU )
1135
1136 // Menu of Divert
1137 //SPR#1113 - DS - Added sub-menus for "If Not Reach." divert. The NR menus do not allow status checking.
1138 BEGIN_MENU( menuDivert )
1139 MENU_ITEM_SUB_MENU ( TxtIfNoService, menutypDivert, servicesDivertNoService, item_flag_none),
1140 MENU_ITEM_SUB_MENU ( TxtIfBusy, menutypDivert, servicesDivertBusy, item_flag_none),
1141 MENU_ITEM_SUB_MENU ( TxtIfNoAnswer, menutypDivert, servicesDivertNoAnswer, item_flag_none),
1142 MENU_ITEM_SUB_MENU ( TxtIfNotReachable, menutypDivertNR, servicesDivertNotReachable, item_flag_none),
1143 MENU_ITEM_SUB_MENU ( TxtAllCalls, menutypDivert, servicesDivertAllCalls, item_flag_none),
1144 MENU_ITEM( TxtCancelAll, servicesDivertCancelAll, item_flag_none )
1145 END_MENU( menuDivert, menuListArea, COLOUR_LIST_SUBMENU )
1146
1147 /*---------------------------------------------------------------------------*/
1148 /*
1149 * Security menus
1150 */
1151
1152 //Sub-Menu of Pin Code
1153 BEGIN_MENU( menuPinCodeSet )
1154 MENU_ITEM( TxtStatus, pin_status, item_flag_none ),
1155 MENU_ITEM( TxtActivate, pin_enable, item_flag_none ),
1156 MENU_ITEM( TxtDeactivate, pin_disable, item_flag_none ),
1157 MENU_ITEM( TxtChange, pin_change, item_flag_none )
1158 END_MENU( menuPinCodeSet, menuListArea, COLOUR_LIST_SUBMENU )
1159 // May 3, 2004 REF: CRR MMI-SPR-18555 Rashmi C N(Sasken)
1160 //sub menu of FDN numbers
1161 BEGIN_MENU( bookFDNNumbers )
1162 MENU_ITEM( TxtSearchName, bookNameSearch, item_flag_none ),
1163 MENU_ITEM( TxtAddNew, bookNameEnter , item_flag_none ),
1164 END_MENU( bookFDNNumbers, menuListArea, COLOUR_LIST_SUBMENU )
1165
1166 //Sub-Menu of Fixed Dial
1167 BEGIN_MENU( menuFixedDialSet )
1168 MENU_ITEM( TxtYes, bookFDNActivate, item_flag_none ),
1169 MENU_ITEM( TxtNo, bookFDNDeactivate, item_flag_none ),
1170 // May 3, 2004 REF: CRR MMI-SPR-18555 Rashmi C N(Sasken)
1171 // Added FDN Numbers menu
1172 MENU_ITEM( TxtFDNName, bookFDNMenu, item_flag_none ),
1173 END_MENU( menuFixedDialSet, menuListArea, COLOUR_LIST_SUBMENU )
1174
1175 #ifdef SIM_PERS
1176 //Sub-menu of ME Personalization categories
1177 BEGIN_MENU( menuCategory )
1178 MENU_ITEM ( TxtNetwork, setLockTypeNw, item_flag_none),
1179 MENU_ITEM ( TxtNetworkSubset, setLockTypeNs, item_flag_none),
1180 MENU_ITEM ( TxtServiceProvider, setLockTypeSp, item_flag_none),
1181 MENU_ITEM ( TxtCorporate, setLockTypeCp, item_flag_none),
1182 MENU_ITEM ( TxtSIM, setLockTypePs, item_flag_none)
1183 END_MENU( menuCategory, menuListArea, COLOUR_LIST_SUBMENU )
1184
1185
1186 //Sub-menu of ME Personalization Supplementary Info
1187 BEGIN_MENU( menuSupplementaryInfo )
1188 MENU_ITEM ( TxtGetFC , get_fc_attempts_left , item_flag_none),
1189 MENU_ITEM( TxtMaxFC, get_fc_max_value, item_flag_none),
1190 MENU_ITEM( TxtGetFailFC, get_fail_reset_fc_attempts_left, item_flag_none),
1191 MENU_ITEM( TxtMaxFailFC, get_fail_reset_fc_max_value, item_flag_none),
1192 MENU_ITEM( TxtGetSuccFC, get_succ_reset_fc_attempts_left, item_flag_none),
1193 MENU_ITEM( TxtMaxSucFC, get_succ_reset_fc_max_value, item_flag_none),
1194 MENU_ITEM( TxtTimerFlag, get_timer_flag_value, item_flag_none),
1195 MENU_ITEM( TxtETSIFlag, get_etsi_flag_value, item_flag_none),
1196 MENU_ITEM( TxtAirtelFlag, get_airtel_ind_flag_value, item_flag_none)
1197 END_MENU( menuSupplementaryInfo, menuListArea, COLOUR_LIST_SUBMENU )
1198
1199
1200 //Sub-menu of ME Personalization
1201 BEGIN_MENU( menuMEPersonalization )
1202 MENU_ITEM_SUB_MENU ( TxtLockCategory, menuCategory, setLockActionLock, item_flag_none),
1203 MENU_ITEM_SUB_MENU ( TxtUnlockCategory, menuCategory, setLockActionUnlock, item_flag_none),
1204 MENU_ITEM_SUB_MENU ( TxtChangePassword, menuCategory, setLockActionChPwd, item_flag_none),
1205 MENU_ITEM_SUB_MENU ( TxtCheckStatus, menuCategory, setLockActionChkStat, item_flag_none),
1206 MENU_ITEM ( TxtResetFC, SIMLock_resetFC, item_flag_none),
1207 SUB_MENU ( TxtSupplementaryInfo, menuSupplementaryInfo, item_flag_none)
1208 END_MENU( menuMEPersonalization, menuListArea, COLOUR_LIST_SUBMENU )
1209 #endif
1210 // Menu of Security
1211 BEGIN_MENU( menuSecurity )
1212
1213 // Jul 28, 2004 REF: CRR:20887 xrashmic - SASKEN
1214 // Instead of providing the submenu directly we call a function
1215 // where we set the menu and also higlight the previously selected menu item
1216 // MENU_ITEM( TxtFixedNames, settingsFocusFDNCurSel, item_flag_none ),
1217
1218 // June 07, 2005 REF: CRR MMI-FIX-31545 x0021334
1219 // Issue description: SIM: wrong behavior when FDN is not allocated in SST
1220 // Added this function to check if FDN is allocated
1221 MENU_ITEM( TxtFixedNames, checkFDNSupport, item_flag_none ),
1222
1223 SUB_MENU ( TxtPIN, menuPinCodeSet, item_flag_none ),
1224 MENU_ITEM( TxtPIN2, pin2_change, item_flag_none ),
1225 #ifdef SIM_PERS
1226 SUB_MENU( TxtPersonalization, menuMEPersonalization, item_flag_none )
1227 #endif
1228 END_MENU( menuSecurity, menuListArea, COLOUR_LIST_SUBMENU )
1229
1230 /*---------------------------------------------------------------------------*/
1231 /*
1232 * Applications menus
1233 */
1234
1235 //Options-Menu of Calculator
1236 BEGIN_MENU( menuCalcOptions )
1237 MENU_ITEM( TxtEquals, calcEquals, item_flag_none ),
1238 MENU_ITEM( TxtPlus, calcPlus, item_flag_none ),
1239 MENU_ITEM( TxtMinus, calcMinus, item_flag_none ),
1240 MENU_ITEM( TxtDivideBy, calcDivide, item_flag_none ),
1241 MENU_ITEM( TxtMultiplyBy, calcMultiply, item_flag_none )
1242 END_MENU( menuCalcOptions, menuListArea, COLOUR_LIST_SUBMENU )
1243
1244 //Options-Menu of Melodie Generator
1245 #ifdef MMI_MELODYGENERATOR
1246 BEGIN_MENU( menuMelgenOptions )
1247 MENU_ITEM( TxtOctaveHigher, octave_higher, item_flag_none ),
1248 MENU_ITEM( TxtOctaveLower, octave_lower, item_flag_none ),
1249 MENU_ITEM( TxtPlay, melody_generator, item_flag_none ),
1250 MENU_ITEM( TxtInsertnote, insert_new_note, item_flag_none ),
1251 MENU_ITEM( TxtSave, melody_generator, item_flag_none ),
1252 MENU_ITEM( TxtLoadMelody, melody_generator, item_flag_none ),
1253 MENU_ITEM( TxtDelete, delete_current_note, item_flag_none )
1254 END_MENU( menuMelgenOptions, menuListArea, COLOUR_LIST_SUBMENU )
1255 #endif //MMI_MELODYGENERATOR
1256
1257 //Sub-Menu of Voice Memo
1258 BEGIN_MENU( menuVoiceMemo )
1259 MENU_ITEM( TxtPlay, voice_memo_play, item_flag_none ),
1260 MENU_ITEM( TxtRecord, voice_memo_record, item_flag_none )
1261 END_MENU( menuVoiceMemo, menuListArea, COLOUR_LIST_SUBMENU )
1262
1263 //e-armanetsaid 18/05/04 Add menu for Midi driver test
1264 //Sub-Menu of Loop On/Off
1265 // Apr 06, 2005 REF: ENH 30011 xdeepadh
1266 // Nov 14, 2005 REF: OMAPS00044445 xdeepadh
1267 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC)
1268 BEGIN_MENU(menuPlayerChannels)
1269 MENU_ITEM( TxtPlayerMonoChannel, mmi_audio_player_set_channel_mono, item_flag_none ),
1270 MENU_ITEM( TxtPlayerStereoChannel, mmi_audio_player_set_channel_stereo, item_flag_none )
1271 END_MENU( menuPlayerChannels, menuListArea, COLOUR_LIST_SUBMENU )
1272
1273 BEGIN_MENU( menuPlayerTest )
1274 MENU_ITEM(TxtPlayerSelectFile, mmi_audio_player_files_browse, item_flag_none),
1275 // Sep 27,2005 REF: SPR 34402 xdeepadh
1276 // Instead of providing the submenu directly, we call a function
1277 // where we set the menu and also higlight the previously selected menu item
1278 MENU_ITEM( TxtPlayerSetChannels, mmi_audio_player_set_cur_selected_channels, item_flag_none ),
1279 //Jul 18, 2005 REF: SPR 31695 xdeepadh
1280 MENU_ITEM( TxtPlayerPlay, mmi_audio_player_play, item_flag_none )
1281 END_MENU( menuPlayerTest, menuListArea, COLOUR_LIST_SUBMENU )
1282 #endif //FF_MMI_TEST_MP3
1283 //Apr 05, 2005 REF: ENH 29994 xdeepadh
1284 #ifdef FF_MMI_TEST_MIDI
1285 BEGIN_MENU(menuMidiLoop)
1286 MENU_ITEM( TxtMidiLoopOn, midi_test_set_loop_on, item_flag_none ),
1287 MENU_ITEM( TxtMidiLoopOff, midi_test_set_loop_off, item_flag_none )
1288 END_MENU( menuMidiLoop, menuListArea, COLOUR_LIST_SUBMENU )
1289
1290 //Sub-Menu of Channels
1291 BEGIN_MENU(menuMidiChannels)
1292 MENU_ITEM( TxtMidiMonoChannel, midi_test_set_channel_mono, item_flag_none ),
1293 MENU_ITEM( TxtMidiStereoChannel, midi_test_set_channel_stereo, item_flag_none )
1294 END_MENU( menuMidiChannels, menuListArea, COLOUR_LIST_SUBMENU )
1295
1296 //Sub-Menu of Audio Output
1297 BEGIN_MENU(menuMidiAudioOutput)
1298 MENU_ITEM( TxtMidiSpeaker, midi_test_set_speaker, item_flag_none ),
1299 MENU_ITEM( TxtMidiHeadset, midi_test_set_headset, item_flag_none ),
1300 END_MENU( menuMidiAudioOutput, menuListArea, COLOUR_LIST_SUBMENU )
1301
1302 //Sub-Menu of Midi Change Config
1303 BEGIN_MENU(menuMidiChangeConfig)
1304 MENU_ITEM( TxtChConfigVoiceLimit, midi_test_cc_voice_limit, item_flag_none ),
1305 SUB_MENU( TxtChConfigLoop, menuMidiLoop, item_flag_none ),
1306 SUB_MENU( TxtChConfigChannels, menuMidiChannels, item_flag_none ),
1307 SUB_MENU( TxtChConfigAudioOutput, menuMidiAudioOutput, item_flag_none )
1308 END_MENU( menuMidiChangeConfig, menuListArea, COLOUR_LIST_SUBMENU )
1309
1310 //Sub-Menu of Midi Test
1311 // Dec 08, 2004 REF: CRR MMI-SPR-27284
1312 // Description: MIDI Player: Back Key malfunctions in MIDI application.
1313 // Solution: Calling function midi_test_files_browse() when user select "Browse Midi Files"
1314 BEGIN_MENU( menuMidiTest )
1315 MENU_ITEM( TxtChConfigFile, midi_test_files_browse, item_flag_none ),
1316 SUB_MENU( TxtMidiChangeConfig, menuMidiChangeConfig, item_flag_none ),
1317 MENU_ITEM( TxtMidiPlay, midi_test_play, item_flag_none ),
1318 MENU_ITEM( TxtMidiPlayAllFiles, midi_test_play_all, item_flag_none ),
1319 MENU_ITEM( TxtMidiExit, midi_stop_player, item_flag_none )
1320 END_MENU( menuMidiTest, menuListArea, COLOUR_LIST_SUBMENU )
1321 #endif//#ifdef FF_MMI_TEST_MIDI
1322 #ifdef BTE_MOBILE
1323 //Sub-Menu of Bluetooth Discoverable
1324 BEGIN_MENU( menuBluetoothDiscoverable )
1325 MENU_ITEM( TxtBtDiscoverable, mmi_bluetooth_set_discoverable_on, item_flag_none ),
1326 MENU_ITEM( TxtBtHidden, mmi_bluetooth_set_discoverable_off, item_flag_none ),
1327 MENU_ITEM( TxtBtTimed, mmi_bluetooth_set_discoverable_timed, item_flag_none )
1328 END_MENU( menuBluetoothDiscoverable, menuListArea, COLOUR_LIST_SUBMENU )
1329
1330 //Sub-Menu of Bluetooth Devices
1331 /*
1332 ** Note:
1333 ** The menu display functions isBluetoothActive and isBluetoothInactive seem to be used in the wrong context
1334 ** ie. isBluetoothInactive for options which should only be displayed if Bluetooth is active. The reason for this is
1335 ** that these functions return TRUE if their state is met, where the menu is displayed if the value returned is FALSE.
1336 **
1337 ** If still not clear, see the function item_flag_none, which ALWAYS causes the menu item to be diaplayed.
1338 */
1339 BEGIN_MENU( menuBluetoothDevices )
1340 MENU_ITEM( TxtSearchName, mmi_bluetooth_device_search, isBluetoothInactive ),
1341 MENU_ITEM( TxtBtKnownDevices, mmi_bluetooth_list_known_devices, item_flag_none ),
1342 MENU_ITEM( TxtBtClearStoredDevices, mmi_bluetooth_clear_all_stored_devices, item_flag_none ),
1343 END_MENU( menuBluetoothDevices, menuListArea, COLOUR_LIST_SUBMENU )
1344
1345 //Sub-Menu of Bluetooth
1346 BEGIN_MENU( menuBluetooth )
1347 MENU_ITEM( TxtBluetoothEnable, mmi_bluetooth_on, isBluetoothActive ),
1348 MENU_ITEM( TxtAutomatic, mmi_bluetooth_automatic, isBluetoothActive ),
1349 MENU_ITEM( TxtBluetoothDisable, mmi_bluetooth_off, isBluetoothInactive ),
1350 MENU_ITEM( TxtBtSetLocalName, mmi_bluetooth_change_name, item_flag_none ),
1351 SUB_MENU( TxtBtDiscoverable, menuBluetoothDiscoverable, item_flag_none),
1352 SUB_MENU(TxtBtDevices, menuBluetoothDevices, item_flag_none)
1353 END_MENU( menuBluetooth, menuListArea, COLOUR_LIST_SUBMENU )
1354 #endif
1355
1356 #ifdef FF_MMI_MULTIMEDIA
1357 /* Configuration Parameter Menu Items */
1358 BEGIN_MENU( menuSelectOutputScreemode )
1359 MENU_ITEM( TxtHalfScreenMode, mmi_Set_ScreenMode, item_flag_none),
1360 MENU_ITEM( TxtFullScreenMode, mmi_Set_ScreenMode , item_flag_none )
1361 END_MENU( menuSelectOutputScreemode, menuListArea, COLOUR_LIST_SUBMENU )
1362
1363 BEGIN_MENU( menuSelectAudioEncodingFormat )
1364 MENU_ITEM( TxtAAC, mmi_Set_AudioFormat, item_flag_none ),
1365 MENU_ITEM( TxtAMR, mmi_Set_AudioFormat, item_flag_none ),
1366 MENU_ITEM( TxtPCM, mmi_Set_AudioFormat, item_flag_none ),
1367 MENU_ITEM( TxtMP3, mmi_Set_AudioFormat, item_flag_none )
1368 END_MENU( menuSelectAudioEncodingFormat, menuListArea, COLOUR_LIST_SUBMENU )
1369
1370
1371 BEGIN_MENU( menuSelectVideoEncodingFormat )
1372 MENU_ITEM( TxtMpeg4, mmi_Set_VideoFormat , item_flag_none ),
1373 MENU_ITEM( TxtH263, mmi_Set_VideoFormat , item_flag_none ),
1374 MENU_ITEM( TxtNone, mmi_Set_VideoFormat , item_flag_none )
1375 END_MENU( menuSelectVideoEncodingFormat, menuListArea, COLOUR_LIST_SUBMENU )
1376
1377
1378 BEGIN_MENU( menuSelectVideoCaptureSize )
1379 MENU_ITEM( TxtQcif, mmi_Set_VideoSize , item_flag_none ),
1380 MENU_ITEM( TxtCif, mmi_Set_VideoSize , item_flag_none ),
1381 MENU_ITEM( TxtQQVga, mmi_Set_VideoSize , item_flag_none )
1382 END_MENU( menuSelectVideoCaptureSize, menuListArea, COLOUR_LIST_SUBMENU )
1383
1384 BEGIN_MENU( menuSelectFrameRate )
1385 MENU_ITEM( Txt5fps, mmi_Set_FrameRate , item_flag_none ),
1386 MENU_ITEM( Txt10fps, mmi_Set_FrameRate , item_flag_none ),
1387 MENU_ITEM( Txt15fps, mmi_Set_FrameRate , item_flag_none ),
1388 MENU_ITEM( Txt30fps, mmi_Set_FrameRate , item_flag_none )
1389 END_MENU( menuSelectFrameRate, menuListArea, COLOUR_LIST_SUBMENU )
1390
1391 BEGIN_MENU( menuSelectAACBitRate )
1392 MENU_ITEM( Txt48Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1393 MENU_ITEM( Txt66p15Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1394 MENU_ITEM( Txt72Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1395 MENU_ITEM( Txt96pKbps, mmi_Set_AAC_BitRate , item_flag_none ),
1396 MENU_ITEM( Txt132p3Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1397 MENU_ITEM( Txt144Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1398 MENU_ITEM( Txt192Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1399 MENU_ITEM( Txt264p6Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1400 MENU_ITEM( Txt288Kbps, mmi_Set_AAC_BitRate , item_flag_none ),
1401 END_MENU( menuSelectAACBitRate, menuListArea, COLOUR_LIST_SUBMENU )
1402
1403
1404 BEGIN_MENU( menuSelectAMRBitRate )
1405 MENU_ITEM( Txt4p75Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1406 MENU_ITEM( Txt5p15Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1407 MENU_ITEM( Txt5p9Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1408 MENU_ITEM( Txt6p7Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1409 MENU_ITEM( Txt7p4Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1410 MENU_ITEM( Txt7p95Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1411 MENU_ITEM( Txt10p2Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1412 MENU_ITEM( Txt12p2Kbps, mmi_Set_AMR_BitRate , item_flag_none ),
1413 END_MENU( menuSelectAMRBitRate, menuListArea, COLOUR_LIST_SUBMENU )
1414
1415
1416 BEGIN_MENU( menuSelectAudioRate )
1417 MENU_ITEM( TxtAACBitRate,(MenuFunc)FocusCurSel_AACBitRate, item_flag_none ),
1418 MENU_ITEM( AMRNBBitRate,(MenuFunc)FocusCurSel_AMRBitRate, item_flag_none )
1419 END_MENU( menuSelectAudioRate, menuListArea, COLOUR_LIST_SUBMENU )
1420
1421
1422 BEGIN_MENU( menuSelectVideoRate )
1423 MENU_ITEM( Txt64Kbps, mmi_Set_VideoBitRate , item_flag_none ),
1424 MENU_ITEM( Txt128Kbps, mmi_Set_VideoBitRate , item_flag_none ),
1425 END_MENU( menuSelectVideoRate, menuListArea, COLOUR_LIST_SUBMENU )
1426
1427 BEGIN_MENU( menuAudioPath )
1428 MENU_ITEM( TxtHeadset, mmi_Set_AudioPath , item_flag_none ),
1429 MENU_ITEM( TxtHeadphone, mmi_Set_AudioPath , item_flag_none ),
1430 MENU_ITEM( TxtSpeaker, mmi_Set_AudioPath, item_flag_none ),
1431 MENU_ITEM( TxtNone, mmi_Set_AudioPath , item_flag_none ),
1432 END_MENU( menuAudioPath, menuListArea, COLOUR_LIST_SUBMENU )
1433
1434 BEGIN_MENU( menuPreferredStorage )
1435 MENU_ITEM( TxtFFS, mmi_Set_PreferredStorage , item_flag_none ),
1436 MENU_ITEM( TxtMMC, mmi_Set_PreferredStorage , item_flag_none ),
1437 MENU_ITEM( TxtSDC, mmi_Set_PreferredStorage , item_flag_none ),
1438 END_MENU( menuPreferredStorage, menuListArea, COLOUR_LIST_SUBMENU )
1439
1440 BEGIN_MENU( menuVolumeConfig )
1441 MENU_ITEM( TxtLevel1, mmi_Set_VolumeConfig , item_flag_none ),
1442 MENU_ITEM( TxtLevel2, mmi_Set_VolumeConfig , item_flag_none ),
1443 MENU_ITEM( TxtLevel3, mmi_Set_VolumeConfig , item_flag_none ),
1444 MENU_ITEM( TxtLevel4, mmi_Set_VolumeConfig , item_flag_none ),
1445 MENU_ITEM( TxtLevel5, mmi_Set_VolumeConfig , item_flag_none ),
1446 END_MENU( menuVolumeConfig, menuListArea, COLOUR_LIST_SUBMENU )
1447 /* Sub-Menu For File Manager */
1448 BEGIN_MENU( menuFileOprns )
1449 MENU_ITEM( TxtFFS, mmi_Display_Files_Folders, item_flag_none),
1450 MENU_ITEM( TxtMMC, mmi_Display_Files_Folders, item_flag_none),
1451 MENU_ITEM(TxtSDC, mmi_Display_Files_Folders, item_flag_none)
1452 END_MENU( menuFileOprns, menuListArea, COLOUR_LIST_SUBMENU )
1453 BEGIN_MENU( menuCamera )
1454 MENU_ITEM( TxtCameraCapture, mmi_Select_CameraCapture, item_flag_none ),
1455 MENU_ITEM( TxtVideoRecording, mmi_Select_AudioVideo_Recording, item_flag_none ),
1456 MENU_ITEM( TxtAudioRecording, mmi_Select_Audio_Recording, item_flag_none ),
1457 #if 0
1458 MENU_ITEM( TxtPlayRecording, mmi_Select_Audio_Recorded_files, item_flag_none ),
1459 #endif
1460 END_MENU( menuCamera, menuListArea, COLOUR_LIST_SUBMENU )
1461
1462 #ifdef FF_MMI_IMAGE_VIEWER
1463 BEGIN_MENU( menuImageEdit )
1464 MENU_ITEM( TxtCrop, mmi_ImageEdit_Crop, item_flag_none ),
1465 MENU_ITEM( TxtRescale, mmi_ImageEdit_Rescale, item_flag_none ),
1466 MENU_ITEM( TxtRotate, mmi_ImageEdit_Rotate, item_flag_none ),
1467 END_MENU( menuImageEdit, menuListArea, COLOUR_LIST_SUBMENU )
1468 #endif
1469
1470 /* To Specify whether file access is from FFS / MMC */
1471 BEGIN_MENU( menuMMStorageDevice )
1472 MENU_ITEM( TxtFFS, mmi_Select_AudioVideo_Files , item_flag_none ),
1473 MENU_ITEM( TxtMMC, mmi_Select_AudioVideo_Files , item_flag_none )
1474 END_MENU( menuMMStorageDevice, menuListArea, COLOUR_LIST_SUBMENU )
1475
1476 /* To Specify whether file access is from FFS / MMC for Image Viewer */
1477 BEGIN_MENU( menuMMImageStorageDevice )
1478 MENU_ITEM( TxtFFS, mmi_Select_Image_Files , item_flag_none ),
1479 MENU_ITEM( TxtMMC, mmi_Select_Image_Files , item_flag_none )
1480 END_MENU( menuMMImageStorageDevice, menuListArea, COLOUR_LIST_SUBMENU )
1481 BEGIN_MENU( menuConfigParam )
1482 MENU_ITEM( TxtOutputScreenSize,(MenuFunc)FocusCurSel_ScreenMode, item_flag_none ),
1483 MENU_ITEM( TxtAudioEncodingFormat,(MenuFunc)FocusCurSel_AudioFormat, item_flag_none ),
1484 MENU_ITEM( TxtVideoEncodingFormat,(MenuFunc)FocusCurSel_VideoFormat, item_flag_none ),
1485 MENU_ITEM( TxtVideoCaptureSize,(MenuFunc)FocusCurSel_VideoSize, item_flag_none ),
1486 MENU_ITEM( TxtVideoFrameRateSelection,(MenuFunc)FocusCurSel_FrameRate, item_flag_none ),
1487 SUB_MENU( TxtAudioBitRate, menuSelectAudioRate, item_flag_none ),
1488 MENU_ITEM( TxtVideoBitRate,(MenuFunc)FocusCurSel_VideoBitRate, item_flag_none ),
1489 MENU_ITEM( TxtAudioPath,(MenuFunc)FocusCurSel_AudioPath, item_flag_none ),
1490 #if 0 /* Removed Volume configuration before playing audio file as it is crashing */
1491 MENU_ITEM( TxtVolumeConfig,(MenuFunc)FocusCurSel_VolumeConfig, item_flag_none ),
1492 #endif
1493 MENU_ITEM( TxtPreferredStorage,(MenuFunc)FocusCurSel_PreferredStorage, item_flag_none ),
1494 END_MENU( menuConfigParam, menuListArea, COLOUR_LIST_SUBMENU )
1495
1496 /* Multimedia Application Menu. */
1497 BEGIN_MENU( menuMultimediaApp )
1498 SUB_MENU( TxtConfigurationParameters, menuConfigParam, item_flag_none ),
1499 /* If MMC is available then show the menu, otherwise access directly from FFS */
1500 //#ifdef FF_MMI_MMC_ACCESS
1501 SUB_MENU( TxtAudioVideoPlayback, menuMMStorageDevice, item_flag_none ),
1502 //#else
1503 // MENU_ITEM( TxtAudioVideoPlayback, mmi_Select_AudioVideo_Files, item_flag_none ),
1504 //#endif
1505 SUB_MENU( TxtImageViewer, menuMMImageStorageDevice, item_flag_none ),
1506 SUB_MENU( TxtCamera, menuCamera, item_flag_none)
1507 END_MENU( menuMultimediaApp, menuListArea, COLOUR_LIST_SUBMENU )
1508
1509 /* Multimedia Play Ever / Play Once Implementation */
1510 BEGIN_MENU( menuAudVidOptions )
1511 MENU_ITEM( TxtRepeateForEver, mmi_PlayBack_Start, item_flag_none ),
1512 MENU_ITEM( TxtPlayonce, mmi_PlayBack_Start, item_flag_none )
1513 END_MENU( menuAudVidOptions, menuListArea, COLOUR_LIST_SUBMENU )
1514
1515 /* Voice Meo Implemention */
1516 #ifdef FF_MMI_VOICEMEMO
1517 BEGIN_MENU( menuStartRecord )
1518 MENU_ITEM( TxtStartRecord, mmi_VM_Record_Start, item_flag_none )
1519 END_MENU( menuStartRecord, menuListArea, COLOUR_LIST_SUBMENU )
1520
1521 BEGIN_MENU( menuVoiceMemoUC )
1522 MENU_ITEM( TxtVMPlayback, mmi_VM_Select_AMR_Files, item_flag_none ),
1523 SUB_MENU( TxtVMRecord, menuStartRecord, item_flag_none ),
1524 #ifdef FUNCTIONALITY_NOT_IMPLEMENTED
1525 MENU_ITEM( TxtVMConfigParam, mmi_VM_Select_AMR_Files, item_flag_none )
1526 #endif
1527 END_MENU( menuVoiceMemoUC, menuListArea, COLOUR_LIST_SUBMENU )
1528 #endif
1529 #endif
1530
1531 BEGIN_MENU( menuApplications )
1532 MENU_ITEM( TxtCalculator, (MenuFunc)calculator, item_flag_none ),
1533 #ifdef MMI_MELODYGENERATOR
1534 MENU_ITEM( TxtMelodygenerator, (MenuFunc)melody_generator_aktivate, item_flag_none ),
1535 #endif /* MMI_MELODYGENERATOR */
1536 #ifdef MMIGAME
1537 MENU_ITEM( TxtGame, (MenuFunc)four_in_a_row_aktivate, item_flag_none),
1538 #ifdef NEPTUNE_BOARD
1539 #ifdef MMI_POWER_MANAGEMENT_TEST
1540 MENU_ITEM( TxtPowerMgnt, (MenuFunc)mmi_PowerManagement, item_flag_none ),
1541 #endif
1542 #endif
1543
1544 #else
1545 /* GW 15/09/01 removed debug code*/
1546 #endif /* MMIGAME */
1547 /* Apr 05, 2005 REF: ENH 29994 xdeepadh */
1548 #ifdef FF_MMI_TEST_MIDI
1549 SUB_MENU( TxtMidiTest, menuMidiTest, item_flag_none ),
1550 #endif/*#ifdef FF_MMI_TEST_MIDI */
1551 /* Apr 06, 2005 REF: ENH 30011 xdeepadh */
1552 #ifdef FF_MMI_TEST_CAMERA
1553 MENU_ITEM(TxtCameraTest, mmi_camera_test_launch_view_finder, item_flag_none ),
1554 #endif /*FF_MMI_TEST_CAMERA */
1555 // Aug 22, 2005 REF: ENH 31154 xdeepadh
1556 #ifdef FF_MMI_FILE_VIEWER
1557 MENU_ITEM(TxtFileViewer, LaunchFileViewer, item_flag_none ),
1558 #endif //FF_MMI_FILE_VIEWER
1559 // Nov 14, 2005 REF: OMAPS00044445 xdeepadh
1560 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC)
1561 SUB_MENU( TxtPlayerTest, menuPlayerTest, item_flag_none ),
1562 #endif/* FF_MMI_TEST_MP3 */
1563 #ifdef BTE_MOBILE
1564 SUB_MENU( TxtBluetooth, menuBluetooth, item_flag_none ),
1565 #endif
1566
1567 /* Voice memo Menu Display */
1568 #ifdef FF_MMI_VOICEMEMO
1569 SUB_MENU( TxtVoiceMemo, menuVoiceMemoUC, item_flag_none ),
1570 #else
1571 SUB_MENU( TxtVoiceMemo, menuVoiceMemo, item_flag_none ),
1572 #endif
1573
1574 #ifdef FF_MMI_MULTIMEDIA
1575 /* Multimedia Application initial menu specification. */
1576 SUB_MENU( TxtMultimediaApp, menuMultimediaApp, item_flag_none ),
1577 SUB_MENU( TxtFileMgmt, menuFileOprns, item_flag_none ),
1578 #endif
1579 END_MENU( menuApplications, menuListArea, COLOUR_LIST_SUBMENU )
1580
1581 /*---------------------------------------------------------------------------*/
1582
1583 /*
1584 * Settings menus
1585 */
1586 /* Sub-Menu of Language */
1587 BEGIN_MENU( menuLanguage )
1588 MENU_ITEM( TxtEnglish, Mmi_Set2English, item_flag_none ),
1589 #ifndef CHINESE_MMI
1590 MENU_ITEM( TxtGerman, Mmi_Set2German, item_flag_none )
1591 #else
1592 MENU_ITEM( TxtChinese, Mmi_Set2Chinese, item_flag_none )
1593 #endif
1594 END_MENU( menuLanguage, menuListArea, COLOUR_LIST_SUBMENU )
1595
1596
1597 /* Sub-Menu of AnyKey */
1598 BEGIN_MENU( menuAnyKeySet )
1599 MENU_ITEM( TxtOn, settingsAnyKeyAnswerOn, item_flag_none ),
1600 MENU_ITEM( TxtOff, settingsAnyKeyAnswerOff, item_flag_none )
1601 END_MENU( menuAnyKeySet, menuListArea, COLOUR_LIST_SUBMENU )
1602
1603
1604 /* Sub-Menu of AutoAnswer */
1605 BEGIN_MENU( menuAutoAnswerSet )
1606 MENU_ITEM( TxtOn, settingsAutoAnswerOn, item_flag_none ),
1607 MENU_ITEM( TxtOff, settingsAutoAnswerOff, item_flag_none )
1608 END_MENU( menuAutoAnswerSet, menuListArea, COLOUR_LIST_SUBMENU )
1609
1610
1611 /* Sub-Menu of AutoRedial */
1612 BEGIN_MENU( menuAutoRedialSet )
1613 MENU_ITEM( TxtOn, settingsAutoRedialOn, item_flag_none ),
1614 MENU_ITEM( TxtOff, settingsAutoRedialOff, item_flag_none )
1615 END_MENU( menuAutoRedialSet, menuListArea, COLOUR_LIST_SUBMENU )
1616
1617 /* Sub-menu of time Format */
1618 BEGIN_MENU( menuTimeFormat )
1619 MENU_ITEM( TxtTwelveHour, twelve_hour_clock, item_flag_none ),
1620 MENU_ITEM( TxtTwentyfourHour, twentyfour_hour_clock, item_flag_none ),
1621
1622 END_MENU( menuTimeFormat, menuListArea, COLOUR_LIST_SUBMENU )
1623 /* Sub-menu of in-call timer */
1624 BEGIN_MENU( menuInCallTimer )
1625 MENU_ITEM( TxtOn, menuInCallTimerOn, item_flag_none ),
1626 MENU_ITEM( TxtOff, menuInCallTimerOff, item_flag_none ),
1627
1628 END_MENU( menuInCallTimer, menuListArea, COLOUR_LIST_SUBMENU )
1629 /*Sub-Menu of Clock */
1630 /* GW 15/09/01 Removed debug menu items */
1631 BEGIN_MENU( menuTypclock )
1632 MENU_ITEM( TxtTimeDate, settingsTimeDate, item_flag_none ),
1633 MENU_ITEM( TxtAlarm, alarmTimeDate, item_flag_none ),
1634 MENU_ITEM( TxtClearAlarm, clear_alarm, item_flag_none ),
1635 /* Jul 22,2004 CRR:20896 xrashmic - SASKEN */
1636 /* Instead of providing the submenu directly we call a function */
1637 /* where we set the menu and also higlight the previously selected menu item */
1638 MENU_ITEM( TxtTimeFormat, settingsFocusTimeFormatCurSel, item_flag_none ),
1639 SUB_MENU( TxtInCallTimer, menuInCallTimer, item_flag_none )
1640 END_MENU( menuTypclock, menuListArea, COLOUR_LIST_SUBMENU )
1641
1642
1643 /* Sub-Menu of KeypadTones */
1644 BEGIN_MENU( menuSetTones2 )
1645 MENU_ITEM( TxtSilent, soundsKeypadSilent, item_flag_none ),
1646 MENU_ITEM( TxtClick, soundsKeypadClick, item_flag_none ),
1647 MENU_ITEM( TxtDTMF, soundsKeypadDTMF, item_flag_none )
1648 END_MENU( menuSetTones2, menuListArea, COLOUR_LIST_SUBMENU )
1649
1650 /* Sub-Menu of Volume Settings */
1651 BEGIN_MENU( menuSetVolume )
1652 MENU_ITEM( TxtSilent, soundsVolSilent, item_flag_none ),
1653 MENU_ITEM( TxtLow, soundsVolLow, item_flag_none ),
1654 MENU_ITEM( TxtMedium, soundsVolMedium, item_flag_none ),
1655 MENU_ITEM( TxtHigh, soundsVolHigh, item_flag_none ),
1656 /* Apr 05, 2005 REF: ENH 29994 xdeepadh */
1657 #ifndef FF_MIDI_RINGER
1658 /* Increasing option is not present for Generic Midi Ringer */
1659 MENU_ITEM( TxtIncreasing, soundsVolInc, item_flag_none )
1660 #endif
1661 END_MENU( menuSetVolume, menuListArea, COLOUR_LIST_SUBMENU )
1662
1663 /* Nov 29, 2004 REF: CRR 25051 xkundadu */
1664 /* Description: INCALL SCREEN – ADJUSTING THE VOLUME */
1665 /* Fix: Added these menu items. If the user presses MENU_UP/DOWN */
1666 /* this menu will come up to allow the user to select the speaker volume */
1667 BEGIN_MENU( menuSelectVolume )
1668 MENU_ITEM( TxtLevel1,SetVolumeLevel1, item_flag_none ),
1669 MENU_ITEM( TxtLevel2, SetVolumeLevel2, item_flag_none ),
1670 MENU_ITEM( TxtLevel3,SetVolumeLevel3, item_flag_none ),
1671 MENU_ITEM( TxtLevel4, SetVolumeLevel4, item_flag_none ),
1672 MENU_ITEM( TxtLevel5, SetVolumeLevel5, item_flag_none )
1673 END_MENU( menuSelectVolume, menuListArea, COLOUR_LIST_SUBMENU )
1674
1675 /* Sub-Menu For PCM / MP3 / AMR file selection for ring tones */
1676 #ifdef FF_MMI_RINGTONE
1677 BEGIN_MENU( menuSelectTones )
1678 MENU_ITEM( TxtPCM, mmi_PCMRinger_Files, item_flag_none ),
1679 MENU_ITEM( TxtMP3, mmi_MP3Ringer_Files, item_flag_none ),
1680 MENU_ITEM( TxtAMR, mmi_AMRNBRinger_Files, item_flag_none )
1681 END_MENU( menuSelectTones, menuListArea, COLOUR_LIST_SUBMENU )
1682 #endif
1683
1684 /* Sub-Menu of Ringer,SMS Tone,Alarm */
1685 BEGIN_MENU( menuSetTones )
1686 #ifdef FF_MMI_RINGTONE
1687 SUB_MENU( TxtMelody, menuSelectTones, item_flag_none ),
1688 #else
1689 MENU_ITEM( TxtMelody, soundsRinger, item_flag_none ),
1690 #endif
1691 MENU_ITEM_SUB_MENU( TxtVolume, menuSetVolume,soundsSetVolume, item_flag_none )
1692 END_MENU( menuSetTones, menuListArea, COLOUR_LIST_SUBMENU )
1693
1694 /* Sub-Menu of Tones */
1695 BEGIN_MENU( menuTonesSet )
1696 MENU_ITEM_SUB_MENU( TxtRinger, menuSetTones,soundReasonRinger, item_flag_none ),
1697 MENU_ITEM_SUB_MENU( TxtSmsTone, menuSetTones,soundReasonSmsTone, item_flag_none ),
1698 MENU_ITEM_SUB_MENU( TxtAlarm, menuSetTones,soundReasonAlarm, item_flag_none ),
1699 SUB_MENU( TxtKeypadTones, menuSetTones2, item_flag_none )
1700 END_MENU( menuTonesSet, menuListArea, COLOUR_LIST_SUBMENU )
1701
1702
1703 /* Sub-Menu of Network Selection */
1704 BEGIN_MENU( menuNetworkSet )
1705 MENU_ITEM( TxtAutomatic,(MenuFunc)network_set_mode_auto, item_flag_none ),
1706 MENU_ITEM( TxtManual, (MenuFunc)network_set_mode_man, item_flag_none ),
1707 MENU_ITEM( TxtList, (MenuFunc)network_pref_list, item_flag_none )
1708 END_MENU( menuNetworkSet, menuListArea, COLOUR_LIST_SUBMENU )
1709
1710
1711 //Sub-Menu of Hide ID
1712 BEGIN_MENU( menuHideIDSet )
1713 MENU_ITEM( TxtCheckStatus, servicesCheckCLIR , item_flag_none ),
1714 MENU_ITEM( TxtActivate , servicesActivateCLIR , item_flag_none ),
1715 MENU_ITEM( TxtDeactivate , servicesDeactivateCLIR , item_flag_none )
1716 END_MENU( menuHideIDSet, menuListArea, COLOUR_LIST_SUBMENU )
1717
1718 /* Marcus: CCBS: 13/11/2002: Start */
1719 //Sub-Menu of CCBS
1720 BEGIN_MENU( menuCCBS )
1721 MENU_ITEM( TxtCheckStatus, call_ccbs, item_flag_none ),
1722 MENU_ITEM( TxtActivate , call_ccbs, item_flag_none ),
1723 MENU_ITEM( TxtDeactivate , call_ccbs, item_flag_none )
1724 END_MENU( menuCCBS, menuListArea, COLOUR_LIST_SUBMENU1 )
1725 /* Marcus: CCBS: 13/11/2002: End */
1726
1727 //Sub-Menu of Call Waiting
1728 BEGIN_MENU( menuCallWaitingSet )
1729 MENU_ITEM( TxtCheckStatus, servicesCheckCWaiting, item_flag_none ),
1730 MENU_ITEM( TxtActivate, servicesActivateCWaiting, item_flag_none ),
1731 MENU_ITEM( TxtDeactivate, servicesDeactivateCWaiting, item_flag_none )
1732 END_MENU( menuCallWaitingSet, menuListArea, COLOUR_LIST_SUBMENU )
1733
1734
1735 //Sub-Menu
1736 BEGIN_MENU( menuCallBarring)
1737 MENU_ITEM ( TxtCheckStatus, servicesCallBarringCheck, item_flag_none ),
1738 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: start
1739 //Selecting this menuItem calls serivcesCallBarringActivatePassword() - sets a flag indicating activation
1740 MENU_ITEM ( TxtSetBar, servicesCallBarringActivatePassword, item_flag_none ),
1741 //Selecting this menuItem calls serivcesCallBarringDeactivatePassword() - sets a flag indicating deactivation
1742 MENU_ITEM ( TxtCancel, servicesCallBarringDeactivatePassword,item_flag_none )
1743 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: end
1744 END_MENU( menuCallBarring, menuListArea, COLOUR_LIST_SUBMENU )
1745
1746
1747 //Sub-Menu of Call Barring
1748 BEGIN_MENU( menuBarringSet )
1749 MENU_ITEM_SUB_MENU ( TxtOutgoing, menuCallBarring, servicesBarringAllOutgoing,item_flag_none ),
1750 MENU_ITEM_SUB_MENU ( TxtInterCalls, menuCallBarring, servicesBarringInternational,item_flag_none ),
1751 MENU_ITEM_SUB_MENU ( TxtInterHome, menuCallBarring, servicesBarringInternationalHome,item_flag_none ),
1752 MENU_ITEM_SUB_MENU ( TxtIncomingCall, menuCallBarring, servicesBarringAllIncoming ,item_flag_none ),
1753 MENU_ITEM_SUB_MENU ( TxtWhenRoaming, menuCallBarring, servicesBarringIncomingRoaming,item_flag_none ),
1754
1755 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: start
1756 //Selecting this menuItem calls servicesCallBarringCancelAllPassword - sets a flag to cancel all barring
1757 //and also prompts for the password
1758 MENU_ITEM( TxtCancelAllBars, servicesCallBarringCancelAllPassword, item_flag_none ),
1759
1760 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: start
1761 //Selecting this menuItem calls enterOldPassword - sets a flag for change of password and also
1762 //prompts for the password
1763 MENU_ITEM( TxtChangePassword, enterOldCBPassword, item_flag_none )
1764 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: end
1765 END_MENU( menuBarringSet, menuListArea, COLOUR_LIST_SUBMENU )
1766
1767
1768 BEGIN_MENU(menuBandSelect)
1769 MENU_ITEM(TxtStatus, mmi_band_radio_mode_info, item_flag_none),
1770 MENU_ITEM(TxtAutomatic, mmi_band_radio_mode_change_auto, item_flag_none),
1771 MENU_ITEM(TxtManual, mmi_band_radio_mode_change_manual, item_flag_none ),
1772
1773 END_MENU(menuBandSelect, menuListArea, COLOUR_LIST_SUBMENU)
1774
1775 /*SPR 1392, call deflection menu*/
1776 BEGIN_MENU(menuCallDeflection)
1777 MENU_ITEM(TxtOn, call_deflection_on, item_flag_none),
1778 MENU_ITEM(TxtOff, call_deflection_off, item_flag_none)
1779 END_MENU(menuCallDeflection, menuListArea, COLOUR_LIST_SUBMENU1)
1780
1781 #ifdef MMI_GPRS_ENABLED
1782
1783 BEGIN_MENU( menuSMSService )
1784 MENU_ITEM( TxtGPRS, GPRS_MenuSelectSms_set, item_flag_none ),
1785 MENU_ITEM( TxtCSD, GPRS_MenuSelectSms_set, item_flag_none ),
1786 MENU_ITEM( TxtGPRSPreferred, GPRS_MenuSelectSms_set, item_flag_none ),
1787 MENU_ITEM( TxtCSDPreferred, GPRS_MenuSelectSms_set, item_flag_none )
1788 END_MENU( menuSMSService , menuListArea, COLOUR_LIST_SUBMENU )
1789
1790 BEGIN_MENU( menuDataCount )
1791 MENU_ITEM ( TxtIncomingData, GPRS_MenuIncomingDataCount, item_flag_none ),
1792 MENU_ITEM ( TxtOutgoingData, GPRS_MenuOutgoingDataCount, item_flag_none )
1793 END_MENU( menuDataCount, menuListArea, COLOUR_LIST_SUBMENU )
1794
1795 BEGIN_MENU(menuLineSelect)
1796 MENU_ITEM(TxtStatus, cphs_als_status, item_flag_none),
1797 MENU_ITEM(TxtLine1, cphs_line1_select, CphsALSUnlocked),
1798 MENU_ITEM(TxtLine2, cphs_line2_select, CphsALSUnlocked ),
1799 MENU_ITEM(TxtLockAls, CphsAlsLock, CphsALSUnlocked ),
1800 MENU_ITEM(TxtUnlockAls, CphsAlsUnlock, CphsALSLocked )
1801 END_MENU(menuLineSelect, menuListArea,COLOUR_LIST_SUBMENU )
1802
1803 /* GPRS Submenu */
1804
1805 BEGIN_MENU( menuDataSettings )
1806 MENU_ITEM( TxtAttach, GPRS_MenuAttach, item_flag_none ),
1807 MENU_ITEM( TxtDetach, GPRS_MenuDetach, item_flag_none ),
1808 SUB_MENU ( TxtDataCount, menuDataCount, item_flag_none ),
1809 MENU_ITEM ( TxtSMS, GPRS_MenuSelectSms, item_flag_none ),
1810 /* SPR#2346 - SH - Removed GPRS test options */
1811 END_MENU( menuDataSettings, menuListArea, COLOUR_LIST_SUBMENU )
1812 #endif //MMI_GPRS_ENABLED
1813
1814 //SPR#1113 - DS - New menu "Netw. Related" added
1815 //SPR#1347 - GW - Moved network menu outside of '#ifdef MMI_GPRS_ENABLED'
1816 // Disabled 'Band selection' when GPRS is disabled.
1817 //Menu of Network Related services
1818 BEGIN_MENU( menuNetwork )
1819 #ifdef MMI_GPRS_ENABLED
1820 SUB_MENU( TxtSelectLine, menuLineSelect, ALSPresent),
1821 #endif
1822 SUB_MENU ( TxtCallDivert, menuDivert, item_flag_none),
1823 SUB_MENU( TxtNetworkSel, menuNetworkSet, item_flag_none ),
1824 SUB_MENU(TxtBand, menuBandSelect, item_flag_none),
1825
1826 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: start
1827 //points to the menu structure of differnt callBarring services instead of calling the password entry screen
1828 SUB_MENU(TxtCallBarringAll, menuBarringSet, item_flag_none),
1829 //Jun 02,2004 CRR:13649 xpradipg-SASKEN: end
1830
1831 SUB_MENU( TxtCallWaiting, menuCallWaitingSet, item_flag_none ),
1832 SUB_MENU( TxtHideID, menuHideIDSet, item_flag_none ),
1833 SUB_MENU(TxtCallBack, menuCCBS, item_flag_none ), // Marcus: CCBS: 13/11/2002
1834 SUB_MENU(TxtCallDeflection, menuCallDeflection, item_flag_none ) //SPR 1392
1835 #ifdef MMI_TTY_ENABLED
1836 , /* Comma here so previous item won't report error when flag switched off */
1837 MENU_ITEM( TxtTTY, call_tty_menu, item_flag_none) /* SPR#1352 - SH - TTY menu */
1838 #endif
1839
1840 END_MENU( menuNetwork, menuListArea, COLOUR_LIST_SUBMENU )
1841
1842
1843 // Menu of Settings
1844 #ifdef _TESTING__
1845 BEGIN_MENU(menuCphsTesting)
1846 MENU_ITEM (TxtRead, Cphs_reading_test, item_flag_none),
1847 MENU_ITEM(TxtWrite, Cphs_writing_test, item_flag_none)
1848 END_MENU(menuCphsTesting, menuListArea,COLOUR_LIST_SUBMENU)
1849 #endif
1850
1851 #ifdef COLOURDISPLAY
1852 int storeMenuOption(MfwMnu* mnu, MfwMnuItem* mnuItem);
1853 int colMenuSelected(MfwMnu* mnu, MfwMnuItem* mnuItem);
1854 int icon_bgdMenuSelected(MfwMnu* mnu, MfwMnuItem* mnuItem);
1855
1856 BEGIN_MENU(menuColours)
1857 MENU_ITEM (TxtColourBlack, colMenuSelected, item_flag_none),
1858 MENU_ITEM (TxtColourBlue, colMenuSelected, item_flag_none),
1859 MENU_ITEM (TxtColourCyan, colMenuSelected, item_flag_none),
1860 MENU_ITEM (TxtColourGreen, colMenuSelected, item_flag_none),
1861 MENU_ITEM (TxtColourMagenta, colMenuSelected, item_flag_none),
1862 MENU_ITEM (TxtColourYellow, colMenuSelected, item_flag_none),
1863 MENU_ITEM (TxtColourRed, colMenuSelected, item_flag_none),
1864 MENU_ITEM (TxtColourWhite, colMenuSelected, item_flag_none),
1865 MENU_ITEM (TxtColourPink, colMenuSelected, item_flag_none),
1866 MENU_ITEM (TxtColourOrange, colMenuSelected, item_flag_none),
1867 MENU_ITEM (TxtColourLightBlue, colMenuSelected, item_flag_none),
1868 MENU_ITEM (TxtColourLightGreen, colMenuSelected, item_flag_none),
1869 MENU_ITEM (TxtColourPaleYellow, colMenuSelected, item_flag_none),
1870 MENU_ITEM (TxtColourTransparent, colMenuSelected, item_flag_none),
1871 END_MENU_MULTICOLOUR(menuColours, menuListArea,COLOUR_LIST_COLOUR,TxtNull)
1872
1873 BEGIN_MENU(menuColourObjects)
1874 MENU_ITEM_SUB_MENU (TxtIdleScreenBackground, menuColours, storeMenuOption, item_flag_none),
1875 MENU_ITEM_SUB_MENU (TxtIdleScreenSoftKey, menuColours, storeMenuOption, item_flag_none),
1876 MENU_ITEM_SUB_MENU (TxtIdleScreenText, menuColours, storeMenuOption, item_flag_none),
1877 MENU_ITEM_SUB_MENU (TxtIdleScreenNetworkName, menuColours, storeMenuOption, item_flag_none),
1878 MENU_ITEM_SUB_MENU (TxtGeneralBackground , menuColours, storeMenuOption, item_flag_none),
1879 MENU_ITEM_SUB_MENU (TxtMenuSoftKeyForeground , menuColours, storeMenuOption, item_flag_none),
1880 MENU_ITEM_SUB_MENU (TxtMenuSoftKeyBackground , menuColours, storeMenuOption, item_flag_none),
1881 MENU_ITEM_SUB_MENU (TxtSubMenuHeadingText , menuColours, storeMenuOption, item_flag_none),
1882 MENU_ITEM_SUB_MENU (TxtSubMenuHeadingBackground, menuColours, storeMenuOption, item_flag_none),
1883 MENU_ITEM_SUB_MENU (TxtSubMenuTextForeground , menuColours, storeMenuOption, item_flag_none),
1884 MENU_ITEM_SUB_MENU (TxtSubMenuTextBackground, menuColours, storeMenuOption, item_flag_none),
1885 MENU_ITEM_SUB_MENU (TxtSubMenuSelectionBar, menuColours, storeMenuOption, item_flag_none),
1886 MENU_ITEM_SUB_MENU (TxtPopUpTextForeground, menuColours, storeMenuOption, item_flag_none),
1887 MENU_ITEM_SUB_MENU (TxtPopUpTextBackground , menuColours, storeMenuOption, item_flag_none),
1888 END_MENU_MULTICOLOUR(menuColourObjects, menuListArea,COLOUR_LIST_COLOUR,TxtColourMenu)
1889
1890 BEGIN_MENU(menuBackdrops)
1891 MENU_ITEM (TxtNone, icon_bgdMenuSelected, item_flag_none),
1892 // MENU_ITEM (TxtBgdSunset, icon_bgdMenuSelected, item_flag_none),
1893 // MENU_ITEM (TxtBgdSquares, icon_bgdMenuSelected, item_flag_none),
1894 // MENU_ITEM (TxtBgdTree, icon_bgdMenuSelected, item_flag_none),
1895 MENU_ITEM (TxtBgdEdinburgh1, icon_bgdMenuSelected, item_flag_none),
1896 MENU_ITEM (TxtBgdEdinburgh2, icon_bgdMenuSelected, item_flag_none),
1897 MENU_ITEM (TxtBgdEdinburgh3, icon_bgdMenuSelected, item_flag_none),
1898 MENU_ITEM (TxtBgdEdinburgh4, icon_bgdMenuSelected, item_flag_none),
1899 MENU_ITEM (TxtBgdTILogo, icon_bgdMenuSelected, item_flag_none)
1900 END_MENU(menuBackdrops, menuListArea,COLOUR_LIST_SUBMENU)
1901
1902 BEGIN_MENU(menuBackgroundScrSelect)
1903 MENU_ITEM_SUB_MENU (TxtIdleScreen, menuBackdrops, storeMenuOption, item_flag_none),
1904 MENU_ITEM_SUB_MENU (TxtMenuScreen, menuBackdrops, storeMenuOption, item_flag_none),
1905 END_MENU(menuBackgroundScrSelect, menuListArea,COLOUR_LIST_SUBMENU)
1906
1907 BEGIN_MENU(menuProviderIconSet)
1908 MENU_ITEM (TxtYes, icon_networkShow, item_flag_none),
1909 MENU_ITEM (TxtNo, icon_networkDontShow, item_flag_none),
1910 END_MENU(menuProviderIconSet, menuListArea,COLOUR_LIST_SUBMENU)
1911
1912 #endif
1913
1914 /*
1915 * SPR#1113 - DS - Removed network related services from "Phone Settings" menu
1916 */
1917
1918 BEGIN_MENU( menuSet )
1919 #ifdef _TESTING__
1920 SUB_MENU(TxtExtra, menuCphsTesting, item_flag_none),
1921 #endif
1922 SUB_MENU( TxtLanguages, menuLanguage, item_flag_none ),
1923 #ifdef MMI_GPRS_ENABLED
1924 SUB_MENU( TxtGPRS, menuDataSettings, item_flag_none ),
1925 #endif
1926 SUB_MENU( TxtTones, menuTonesSet, item_flag_none ),
1927 SUB_MENU( TxtClock, menuTypclock, item_flag_none ),
1928 SUB_MENU( TxtAutoredial, menuAutoRedialSet, item_flag_none ),
1929
1930 //Jul 28, 2004 REF:CRR 20899 xkundadu
1931 //Changed submenu to menuItem to call a function.
1932 //whenever the user presses the 'AutoAnswer' menu, the function
1933 //settingsFocusCurSelAnyKeyAns() will be called, which sets the focus to the
1934 // 'On/Off' menu item depending on whether 'AutoAnswer' is enabld or not.
1935 MENU_ITEM( TxtAutoAnswer,(MenuFunc)settingsFocusCurSelAutoAns, item_flag_none ),
1936
1937 //Jul 28, 2004 REF: CRR 20899 xkundadu
1938 //Changed submenu to menuItem to call a function.
1939 //whenever the user presses the 'Any key Answer' menu, the function
1940 //settingsFocusCurSelAnyKeyAns() will be called, which sets the focus to the
1941 // 'On/Off' menu item depending on whether 'Any Key answer is enabled or not.
1942 MENU_ITEM( TxtAnyKeyAnswer,(MenuFunc)settingsFocusCurSelAnyKeyAns, item_flag_none ),
1943 MENU_ITEM( TxtFactoryReset, factoryReset, item_flag_none ),
1944 #ifdef COLOURDISPLAY
1945 SUB_MENU( TxtColourMenu, menuColourObjects, item_flag_none ),
1946 SUB_MENU( TxtBackground, menuBackgroundScrSelect, item_flag_none ),
1947 // change by Sasken (VVADIRAJ) on March 31th 2004
1948 // Issue Number : MMI-SPR-12822
1949 // changed submenu to menuitem to call a function
1950 // SUB_MENU( TxtProviderIcon, menuProviderIconSet, item_flag_none ),
1951 MENU_ITEM( TxtProviderIcon, (MenuFunc)settingsFocusNwIconCurSel, item_flag_none ),
1952 #endif
1953 END_MENU_HEADER( menuSet, menuListArea,COLOUR_LIST_SUBMENU, TxtSettings )
1954 /*---------------------------------------------------------------------------*/
1955
1956
1957 /* SPR890 - SH - Test mode menu */
1958 #ifdef MMI_TEST_MODE
1959 BEGIN_MENU( menuTestMode )
1960 MENU_ITEM_SELECT( TxtTest, test_function, item_flag_none, testSelected),
1961 MENU_ITEM( TxtTest, test_function, item_flag_none ),
1962 MENU_ITEM( TxtTest, test_function, item_flag_none ),
1963 MENU_ITEM( TxtTest, test_function, item_flag_none )
1964 END_MENU( menuTestMode, menuListArea )
1965 #endif
1966 /*---------------------------------------------------------------------------*/
1967
1968 /* SPR890 - SH - Test mode menu */
1969 #ifdef MMI_TEST_MODE
1970 BEGIN_MENU( menuTestMode )
1971 MENU_ITEM_SELECT( TxtTest, test_function, item_flag_none, testSelected),
1972 MENU_ITEM( TxtTest, test_function, item_flag_none ),
1973 MENU_ITEM( TxtTest, test_function, item_flag_none ),
1974 MENU_ITEM( TxtTest, test_function, item_flag_none )
1975 END_MENU( menuTestMode, menuListArea )
1976 #endif
1977 /*---------------------------------------------------------------------------*/
1978
1979
1980 /* Main system menu, keep this here until we get the real one implemented
1981 */
1982 BEGIN_ICON_MENU( menuMainMenu )
1983 #ifdef SIM_TOOLKIT/*MC SPR 975, added compiler switch*/
1984 MENU_ICON_ITEM( &mainIconSimToolkit,TxtSimToolkit, menuSimItemCallback, sim_toolkit_check ),
1985 #endif
1986 SUB_ICON_MENU ( &mainIconMessages,TxtMessages, menuMsg, item_flag_none ),
1987 SUB_ICON_MENU ( &mainIconPhonebook,TxtPhonebook, menuPhbk, item_flag_none ),
1988 SUB_ICON_MENU ( &mainIconRecentCalls,TxtRecentCalls, menuRecent, item_flag_none ),
1989 SUB_ICON_MENU ( &mainIconCallDivert,TxtNetworkServices, menuNetwork, item_flag_none ),
1990 SUB_ICON_MENU ( &mainIconSecurity,TxtSecurity, menuSecurity, item_flag_none ),
1991 SUB_ICON_MENU ( &mainIconCalculator,TxtApplications, menuApplications, item_flag_none ),
1992 SUB_ICON_MENU ( &mainIconSettings,TxtPhoneSettings, menuSet, item_flag_none ),
1993 #ifdef FF_WAP
1994 MENU_ICON_ITEM ( &mainIconWAP,TxtWAP, AUI_menu, item_flag_none )
1995 #endif
1996 END_ICON_MENU( menuMainMenu, menuListArea, COLOUR_LIST_MAIN, &mainIconBackground )
1997
1998 /*******************************************************************************
1999
2000 Public Menu Access Routines
2001
2002 *******************************************************************************/
2003 #ifdef MMI_EM_ENABLED
2004 /*MC, SPR1209 return engineering mode menu*/
2005 MfwMnuAttr *EngModeAttributes( void )
2006 {
2007 return (MfwMnuAttr *) &menuEngMode;
2008 }
2009 #endif
2010
2011 MfwMnuAttr *bookOwnNumberMenuAttributes( void )
2012 {
2013 return (MfwMnuAttr *) &menuOwnNumber;
2014 }
2015 MfwMnuItem *bookOwnNumberMenuItems( void )
2016 {
2017 return (MfwMnuItem *) menuOwnNumberItems;
2018 }
2019
2020 MfwMnuAttr *bookPhonebookMenuAttributes( void )
2021 {
2022 return (MfwMnuAttr *) &menuPhbk;
2023 }
2024 MfwMnuItem *bookPhonebookMenuItems( void )
2025 {
2026 return (MfwMnuItem *) menuPhbkItems;
2027 }
2028
2029 MfwMnuAttr *bookRepRedOptionsMenuAttributes( void )
2030 {
2031 return (MfwMnuAttr *) &menuRepRedOptions;
2032 }
2033 MfwMnuItem *bookRepRedOptionsMenuItems( void )
2034 {
2035 return (MfwMnuItem *) menuRepRedOptionsItems;
2036 }
2037 #ifdef FF_MMI_CPHS
2038 MfwMnuAttr *bookEmergMenuAttributes( void )
2039 {
2040 return (MfwMnuAttr *) &menuEmergOptions;
2041 }
2042 #endif
2043 MfwMnuAttr *bookNameMenuAttributes( void )
2044 {
2045 return (MfwMnuAttr *) &menuNameOptions;
2046 }
2047 // May 3, 2004 REF: CRR MMI-SPR-18555 Rashmi C N(Sasken)
2048 // FDN Numbers menu
2049 MfwMnuAttr *bookNameMenuFDNAttributes( void )
2050 {
2051 return (MfwMnuAttr *) &bookFDNNumbers;
2052 }
2053
2054 MfwMnuItem *bookNameMenuItems( void )
2055 {
2056 return (MfwMnuItem *) menuNameOptionsItems;
2057 }
2058
2059 //Nov 29, 2004 REF: CRR 25051 xkundadu
2060 //Description: INCALL SCREEN – ADJUSTING THE VOLUME
2061 //Fix: Display the menu items.
2062
2063 MfwMnuAttr *ringerVolumeLevels( void )
2064 {
2065 return (MfwMnuAttr *) &menuSelectVolume;
2066 }
2067
2068 /*MC, SPR 1327, access UPN options menu*/
2069 MfwMnuAttr *bookUPNMenuAttributes( void )
2070 {
2071 return (MfwMnuAttr *) &menuUPNOptions;
2072 }
2073 MfwMnuAttr *bookMainMenuAttributes( void )
2074 {
2075 return (MfwMnuAttr *) &menuMainMenu;
2076 }
2077 MfwMnuItem *bookMainMenuItems( void )
2078 {
2079 return (MfwMnuItem *) menuMainMenuItems;
2080 }
2081
2082 MfwMnuAttr *bookCallBarringMenuAttributes( void )
2083 {
2084 return (MfwMnuAttr *) &menuBarringSet;
2085 }
2086
2087 MfwMnuAttr *calcOptionMenuAttributes( void )
2088 {
2089 return (MfwMnuAttr *) &menuCalcOptions;
2090 }
2091 MfwMnuItem *calcOptionMenuItems( void )
2092 {
2093 return (MfwMnuItem *) menuCalcOptionsItems;
2094 }
2095 //May 27, 2004 REF: CRR 19186 Deepa M.D
2096 //returns the pointer to the SMS Settings Menu.
2097 MfwMnuAttr *settingMenuAttributes(void)
2098 {
2099 return (MfwMnuAttr *) &menuSetMsg;
2100 }
2101 // Aug 22, 2005 REF: ENH 31154 xdeepadh
2102 #ifdef FF_MMI_TEST_CAMERA
2103 //Camera Qulaity menu
2104 MfwMnuAttr *qualityMenuAttributes(void)
2105 {
2106 return (MfwMnuAttr *) &menuSetQuality;
2107 }
2108 MfwMnuAttr *colorMenuAttributes(void)
2109 {
2110 return (MfwMnuAttr *) &menuSetColor;
2111 }
2112 #endif //FF_MMI_TEST_CAMERA
2113
2114 // Aug 22, 2005 REF: ENH 31154 xdeepadh
2115 #ifdef FF_MMI_FILE_VIEWER
2116 MfwMnuAttr *rotateMenuAttributes(void)
2117 {
2118 return (MfwMnuAttr *) &menuRotateActivate;
2119 }
2120
2121 MfwMnuAttr *zoomMenuAttributes(void)
2122 {
2123 return (MfwMnuAttr *) &menuZoomActivate;
2124 }
2125
2126 MfwMnuAttr *fileviewerMenuAttributes( void )//file viewer
2127 {
2128 return (MfwMnuAttr *) &menuFileViewer;
2129 }
2130
2131 MfwMnuAttr *ViewOptionsMenuAttributes( void )//file viewer
2132 {
2133 return (MfwMnuAttr *) &menuViewOptions;
2134 }
2135 #endif
2136 //August 24, 2004 e-armanetsaid
2137 //returns the pointer to the Applications Settings Menu.
2138 MfwMnuAttr *applicationsMenuAttributes(void)
2139 {
2140 return (MfwMnuAttr *) &menuApplications;
2141 }
2142
2143 #ifdef MMI_MELODYGENERATOR
2144 MfwMnuAttr *MelgenOptionMenuAttributes( void )
2145 {
2146 return (MfwMnuAttr *) &menuMelgenOptions;
2147 }
2148 MfwMnuItem *MelgenOptionMenuItems( void )
2149 {
2150 return (MfwMnuItem *) menuMelgenOptionsItems;
2151 }
2152 #endif // MMI_MELODYGENERATOR
2153
2154 MfwMnuAttr *ringerVolumeSetting( void )
2155 {
2156 return (MfwMnuAttr *) &menuSetVolume;
2157 }
2158
2159
2160 #ifdef FF_WAP
2161
2162 MfwMnuAttr *WAPMenuAttributes(void)
2163 {
2164 return (MfwMnuAttr *) &menuWAP;
2165 }
2166
2167 MfwMnuItem *WAPMenuItems(void)
2168 {
2169 return (MfwMnuItem *) menuWAPItems;
2170 }
2171
2172 MfwMnuAttr *WAPBookOptMenuAttributes(void)
2173 {
2174 return (MfwMnuAttr *) &menuBookmarkOptions;
2175 }
2176
2177 MfwMnuItem *WAPBookOptMenuItems(void)
2178 {
2179 return (MfwMnuItem *) menuBookmarkOptionsItems;
2180 }
2181
2182 MfwMnuAttr *WAPHistOptMenuAttributes(void)
2183 {
2184 return (MfwMnuAttr *) &menuHistoryOptions;
2185 }
2186
2187 MfwMnuItem *WAPHistOptMenuItems(void)
2188 {
2189 return (MfwMnuItem *) menuHistoryOptionsItems;
2190 }
2191
2192 MfwMnuAttr *WAPProfOptionsAttributes(void)
2193 {
2194 return (MfwMnuAttr *) &menuProfileOptions; /* SPR#2324 - SH */
2195 }
2196
2197 MfwMnuItem *WAPProfOptionsItems(void)
2198 {
2199 return (MfwMnuItem *) menuProfileOptionsItems; /* SPR#2324 - SH */
2200 }
2201
2202 MfwMnuAttr *WAPGoToAttributes(void)
2203 {
2204 return (MfwMnuAttr *) &menuGoTo;
2205 }
2206
2207 MfwMnuItem *WAPGoToItems(void)
2208 {
2209 return (MfwMnuItem *) menuGoToItems;
2210 }
2211
2212 MfwMnuAttr *WAPConnectionTypeAttributes(void)
2213 {
2214 return (MfwMnuAttr *) &menuWAPConnectionType;
2215 }
2216
2217 MfwMnuItem *WAPConnectionTypeItems(void)
2218 {
2219 return (MfwMnuItem *) menuWAPConnectionTypeItems;
2220 }
2221
2222 /* SPR#1983 - SH */
2223
2224 MfwMnuAttr *WAPConnectionSpeedAttributes(void)
2225 {
2226 return (MfwMnuAttr *) &menuWAPConnectionSpeed;
2227 }
2228
2229 MfwMnuItem *WAPConnectionSpeedItems(void)
2230 {
2231 return (MfwMnuItem *) menuWAPConnectionSpeedItems;
2232 }
2233
2234 /* SPR#2324 - SH - "access type" menu is now GPRS/Dialup menu */
2235
2236 MfwMnuAttr *WAPGPRSDialupAttributes(void)
2237 {
2238 return (MfwMnuAttr *) &menuWAPGPRSDialup;
2239 }
2240
2241 MfwMnuItem *WAPGPRSDialupItems(void)
2242 {
2243 return (MfwMnuItem *) menuWAPGPRSDialupItems;
2244 }
2245
2246 MfwMnuAttr *WAPGPRSProfileAttributes(void)
2247 {
2248 return (MfwMnuAttr *) &menuGPRSProfileOptions;
2249 }
2250
2251 MfwMnuItem *WAPGPRSProfileItems(void)
2252 {
2253 return (MfwMnuItem *) menuGPRSProfileOptionsItems;
2254 }
2255
2256 MfwMnuAttr *WAPDialupProfileAttributes(void)
2257 {
2258 return (MfwMnuAttr *) &menuDialupProfileOptions;
2259 }
2260
2261 MfwMnuItem *WAPDialupProfileItems(void)
2262 {
2263 return (MfwMnuItem *) menuDialupProfileOptionsItems;
2264 }
2265
2266 MfwMnuAttr *WAPAdvancedProfileAttributes(void)
2267 {
2268 return (MfwMnuAttr *) &menuAdvancedProfileOptions;
2269 }
2270
2271 MfwMnuItem *WAPAdvancedProfileItems(void)
2272 {
2273 return (MfwMnuItem *) menuAdvancedProfileOptionsItems;
2274 }
2275
2276 /* end SPR#2324 */
2277
2278 MfwMnuAttr *WAPSecurityOptionAttributes(void)
2279 {
2280 return (MfwMnuAttr *) &menuSecurityOption;
2281 }
2282
2283 MfwMnuItem *WAPSecurityOptionItems(void)
2284 {
2285 return (MfwMnuItem *) menuSecurityOptionItems;
2286 }
2287
2288 MfwMnuAttr *WAPSaveHistoryAttributes(void)
2289 {
2290 return (MfwMnuAttr *) &menuSaveHistory;
2291 }
2292
2293 MfwMnuItem *WAPSaveHistoryItems(void)
2294 {
2295 return (MfwMnuItem *) menuSaveHistoryItems;
2296 }
2297
2298 MfwMnuAttr *WAPScaleImagesAttributes(void)
2299 {
2300 return (MfwMnuAttr *) &menuScaleImages;
2301 }
2302
2303 MfwMnuItem *WAPScaleImagesItems(void)
2304 {
2305 return (MfwMnuItem *) menuScaleImagesItems;
2306 }
2307
2308 /* SPR#1983 - SH */
2309
2310 MfwMnuAttr *WAPNewBookmarkAttributes(void)
2311 {
2312 return (MfwMnuAttr *) &menuNewBookmark;
2313 }
2314
2315 MfwMnuItem *WAPNewBookmarkItems(void)
2316 {
2317 return (MfwMnuItem *) menuNewBookmarkItems;
2318 }
2319 /* SPR#2086 - SH */
2320
2321 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
2322
2323 MfwMnuAttr *WAPPushListOptionsAttributes(void)
2324 {
2325 return (MfwMnuAttr *) &menuPushListOptions;
2326 }
2327
2328 MfwMnuItem *WAPPushListOptionsItems(void)
2329 {
2330 return (MfwMnuItem *) menuPushListOptionsItems;
2331 }
2332
2333 MfwMnuAttr *WAPPushMessagesAttributes(void)
2334 {
2335 return (MfwMnuAttr *) &menuPushMessages;
2336 }
2337
2338 MfwMnuItem *WAPPushMessagesItems(void)
2339 {
2340 return (MfwMnuItem *) menuPushMessagesItems;
2341 }
2342 #endif /* PUSH */
2343
2344 #endif // WAP
2345
2346 #ifdef MMI_GPRS_ENABLED
2347
2348 MfwMnuAttr *SMSServiceAttributes(void)
2349 {
2350 return (MfwMnuAttr *) &menuSMSService;
2351 }
2352
2353 MfwMnuItem *SMSServiceItems(void)
2354 {
2355 return (MfwMnuItem *) menuSMSServiceItems;
2356 }
2357
2358 #endif //GPRS
2359
2360 //xpradipg - Aug 4:changes for WAP2.0 Menu
2361 #if defined (FF_WAP) && defined (FF_GPF_TCPIP)
2362 MfwMnuAttr *WAPPPGAuthenticationAttributes(void)
2363 {
2364 return (MfwMnuAttr*)&MenuPPGAuthenticationOptions;
2365 }
2366
2367 MfwMnuAttr *WAPWirelessProfiledHTTPAttributes(void)
2368 {
2369 return (MfwMnuAttr*)&MenuWirelessProfiledHTTPOptions;
2370 }
2371 #endif
2372 /* SPR#1112 - SH - Menus for internal phonebook */
2373 #ifdef INT_PHONEBOOK
2374 MfwMnuAttr *SelectBookAttributes(void)
2375 {
2376 return (MfwMnuAttr *) &menuSelectBook;
2377 }
2378
2379 MfwMnuItem *SelectBookItems(void)
2380 {
2381 return (MfwMnuItem *) menuSelectBookItems;
2382 }
2383 #endif
2384
2385 /* SPR#1352 - SH - TTY menu */
2386 #ifdef MMI_TTY_ENABLED
2387 MfwMnuAttr *TTYAttributes(void)
2388 {
2389 return (MfwMnuAttr *) &menuTTY;
2390 }
2391
2392 MfwMnuItem *TTYItems(void)
2393 {
2394 return (MfwMnuItem *) menuTTYItems;
2395 }
2396 #endif
2397 /* end SH */
2398
2399 /*******************************************************************************
2400
2401 Public Routines
2402
2403 *******************************************************************************/
2404
2405 /*******************************************************************************
2406
2407 $Function: MmiBookMenuArea
2408
2409 $Description: access routine for the local static menu area
2410
2411 $Returns: pointer to the menu area
2412
2413 $Arguments: none.
2414
2415 *******************************************************************************/
2416
2417 MfwRect MmiBookMenuArea( void )
2418 {
2419 return menuArea;
2420 }
2421
2422 /*******************************************************************************
2423
2424 $Function: MmiBookNamesArea
2425
2426 $Description: access routine for the local static names menu area
2427
2428 $Returns: pointer to the names menu area
2429
2430 $Arguments: none.
2431
2432 *******************************************************************************/
2433
2434 MfwRect MmiBookNamesArea( void )
2435 {
2436 return menuNamesArea;
2437 }
2438 /*******************************************************************************
2439
2440 $Function: create_mmi_phonebook_names_list. Added for SPR2123
2441
2442 $Description: access routine for the phonebook names list. Allocates memory for the
2443 list if memory has not already been allocated.
2444
2445 $Returns: pointer to the phonebook name list
2446
2447 $Arguments: none.
2448
2449 *******************************************************************************/
2450 MfwMnuAttr* create_mmi_phonebook_names_list()
2451 { int i;
2452
2453 TRACE_EVENT("create_mmi_phonebook_names_list()");
2454 if (phonebook_list != NULL)
2455 return phonebook_list;
2456
2457 /*allocate memory for list of phonenumbers*/
2458 phonebook_list = (MfwMnuAttr*)ALLOC_MEMORY(sizeof(MfwMnuAttr));
2459 if (phonebook_list == NULL)
2460 { TRACE_EVENT("Phonebook list alloc failed");
2461 return NULL;
2462 }
2463
2464 /*allocate memory for the array of items in the phonebook list*/
2465 items_in_phonebook_list = (MfwMnuItem*)ALLOC_MEMORY(sizeof(MfwMnuItem)*NAME_LIST_SIZE);
2466 if (items_in_phonebook_list == NULL)
2467 { TRACE_EVENT("Phonebook list items alloc failed");
2468 return NULL;
2469 }
2470
2471 /*allocate memory for the array of pointers to strings holding phonebook list text*/
2472 menu_item_strings = (char**)ALLOC_MEMORY(sizeof(char*)*NAME_LIST_SIZE);
2473 if (menu_item_strings == NULL)
2474 { TRACE_EVENT("menu item string list alloc failed");
2475 return NULL;
2476 }
2477
2478 /*allocate memory for each text string in turn*/
2479 for (i=0;i<NAME_LIST_SIZE;i++)
2480 { menu_item_strings[i] = (char*)ALLOC_MEMORY(sizeof(char)*PHONEBOOK_ITEM_LENGTH);
2481 if (menu_item_strings[i] == NULL)
2482 { TRACE_EVENT(" menu item string alloc failed");
2483 return NULL;
2484 }
2485
2486 }
2487
2488 /*specify phonebook list menu configuration*/
2489 phonebook_list->area = &menuNamesArea;
2490 phonebook_list->mode = MNU_LEFT | MNU_LIST | MNU_CUR_LINE;
2491 phonebook_list->font = -1;
2492 phonebook_list->items = items_in_phonebook_list;
2493 phonebook_list->nItems = NAME_LIST_SIZE;
2494 phonebook_list->mnuColour = COLOUR_LIST_SUBMENU;
2495 phonebook_list->hdrId = TxtNull;
2496 phonebook_list->bgdBitmap= NULL;
2497 phonebook_list->unused = MNUATTRSPARE;
2498
2499 /*specify configuration of each meni item*/
2500 for(i=0; i<NAME_LIST_SIZE; i++)
2501 {
2502 items_in_phonebook_list[i].icon =0;
2503 items_in_phonebook_list[i].exta =0;
2504 items_in_phonebook_list[i].x =0;
2505 items_in_phonebook_list[i].str =menu_item_strings[i];
2506 items_in_phonebook_list[i].menu =0;
2507 items_in_phonebook_list[i].func =0;
2508 items_in_phonebook_list[i].flagFunc =item_flag_none;
2509 }
2510
2511 return phonebook_list;
2512 }
2513
2514 /*******************************************************************************
2515
2516 $Function: destroy_mmi_phonebook_names_list. Added for SPR2123
2517
2518 $Description: frees memory for phonebook names list
2519
2520 $Returns: TRUE if sucessful, FALSE if failed
2521
2522 $Arguments: pointer to phonebook names list
2523
2524 *******************************************************************************/
2525 BOOL destroy_mmi_phonebook_names_list(MfwMnuAttr* pointer)
2526 { int i;
2527
2528
2529 TRACE_EVENT("destroy_mmi_phonebook_names_list()");
2530 /*if memory not allocated for phonebook list OR the pointer passed to the function is
2531 NOT that of the phonebook list, stop here*/
2532 if ((phonebook_list == NULL) || (pointer != phonebook_list))
2533 return FALSE;
2534
2535 /*dealloacte memory for each item's text string*/
2536 for(i=0; i<NAME_LIST_SIZE; i++)
2537 { FREE_MEMORY((U8*)menu_item_strings[i], sizeof(char)*PHONEBOOK_ITEM_LENGTH);
2538 menu_item_strings[i] = NULL;
2539
2540 }
2541 /*deallocate memory for the array of pointer to text strings*/
2542 FREE_MEMORY((U8*)menu_item_strings, sizeof(char*)*NAME_LIST_SIZE);
2543
2544 /*deallocate memory for the array of items in the phonebook list*/
2545 FREE_MEMORY((U8*)items_in_phonebook_list, sizeof(MfwMnuItem)*NAME_LIST_SIZE);
2546 items_in_phonebook_list = NULL;
2547
2548 /*deallocate the phonebook list menu attributes*/
2549 FREE_MEMORY((U8*)phonebook_list, sizeof(MfwMnuAttr));
2550 phonebook_list = NULL;
2551
2552 return TRUE;
2553 }
2554 /*******************************************************************************
2555
2556 $Function: MmiBookCallList
2557
2558 $Description: access routine for the local static call list buffer
2559
2560 $Returns: pointer to the call list buffer
2561
2562 $Arguments: index, of the element required
2563
2564 *******************************************************************************/
2565
2566 void *MmiBookCallList( int index )
2567 {
2568 /* Make sure that the index is reasonable before using it
2569 */
2570 if ( index < 0 )
2571 index = 0;
2572
2573 if ( index >= NAME_LIST_SIZE )
2574 index = NAME_LIST_SIZE - 1;
2575
2576 /* return address of requested element in array
2577 */
2578 /*SPR 2123, if memory hasn't been allocated for menu items strings return NULL*/
2579 if (menu_item_strings != NULL)
2580 return menu_item_strings[index];
2581 else
2582 return NULL;
2583 }
2584
2585 /*******************************************************************************
2586
2587 $Function: MmiBookCallListSize
2588
2589 $Description: access routine for the size of the local static call list buffer
2590
2591 $Returns: PHONEBOOK_ITEM_LENGTH
2592
2593 $Arguments: index, provided for compatibility with call list access routine
2594
2595 *******************************************************************************/
2596
2597 int MmiBookCallListSize( int index )
2598 {/*SPR2123, MC changed MAX_SCREEN_LENGTH to PHONEBOOK_ITEM_LENGTH*/
2599 return PHONEBOOK_ITEM_LENGTH;
2600 }
2601
2602
2603 /*******************************************************************************
2604
2605 $Function: MmiBookMenuDetailsList
2606
2607 $Description: access routine for the menu details list attribute structure
2608
2609 $Returns: address of attribute structure
2610
2611 $Arguments: none.
2612
2613 *******************************************************************************/
2614
2615 MfwMnuAttr *MmiBookMenuDetailsList( void )
2616 {
2617 /*SPR2123, return the pointer to the phonebook list attributes, it'll be NULL
2618 if memory has not been alloacted to it*/
2619 return phonebook_list;
2620
2621
2622
2623 }
2624
2625
2626 /*******************************************************************************
2627
2628 $Function: MmiBookShowDefault
2629
2630 $Description: Default screen update routine, this will be called prior to
2631 any other screen painting in the phone book. For now we just
2632 clear the display as a default action.
2633
2634 $Returns: None.
2635
2636 $Arguments: None.
2637
2638 *******************************************************************************/
2639
2640 void MmiBookShowDefault( void )
2641 {
2642 dspl_ClearAll();
2643 }
2644
2645
2646
2647
2648
2649 /*******************************************************************************
2650
2651 $Function: MmiBookCurrentText
2652
2653 $Description: Returns a handle to the current global text message.
2654
2655 $Returns: Returns a handle to the current global text message.
2656
2657 $Arguments: None.
2658
2659 *******************************************************************************/
2660
2661 int MmiBookCurrentText( void )
2662 {
2663 return textMessage;
2664 }
2665
2666 void MmiBookSetCurrentText( int pstr )
2667 {
2668 textMessage = pstr;
2669 }
2670
2671 /*******************************************************************************
2672
2673 $Function: storeMenuOption
2674
2675 $Description: Stores the ID of the text string for the currently selected menu item
2676
2677 $Returns: 0
2678
2679 $Arguments: mnu - unused
2680 numItem - selected menu item
2681
2682 GW 28/11/02 Added a general purpose storage/retrieval procedure
2683 *******************************************************************************/
2684
2685 static int storedMenuId = TxtNull;
2686 int storeMenuOption(MfwMnu* mnu, MfwMnuItem* mnuItem)
2687 {
2688 T_MFW_HND win = mfw_parent(mfw_header());
2689
2690 storedMenuId = (int)mnuItem->str;
2691 return(0);
2692 }
2693
2694 /*******************************************************************************
2695
2696 $Function: MmiBook_getStoredOption
2697
2698 $Description: Returns the ID of the text string stored on a menu selection
2699
2700 $Returns: storedMenuId - string Id of the selected menu item
2701
2702 $Arguments: none.
2703
2704 GW 28/11/02 Added a general purpose storage/retrieval procedure
2705 *******************************************************************************/
2706 int MmiBook_getStoredOption( void)
2707 {
2708 return (storedMenuId);
2709
2710 }
2711 //SPR12822 - vvadiraj@sasken.com
2712 MfwMnuAttr *NWIconAttributes(void)
2713 {
2714 //added a compiler switch. - xvilliva
2715 #ifdef COLOURDISPLAY
2716 return (MfwMnuAttr *) &menuProviderIconSet;
2717 #endif
2718
2719 }
2720 // Jul 28, 2004 REF: CRR 20899 xkundadu
2721 // Returns the 'Any Key Answer' menu to display.
2722 /*******************************************************************************
2723 $Function: GetAnyKeyAnswerMenu
2724
2725 $Description: Returns the 'Any Key Answer' menu
2726
2727 $Returns: menuAnyKeySet - Menu of the 'AnyKeyAnser'.
2728
2729 $Arguments: none.
2730
2731 *******************************************************************************/
2732 MfwMnuAttr *GetAnyKeyAnswerMenu()
2733 {
2734 return (MfwMnuAttr *) &menuAnyKeySet;
2735 }
2736 // Jul 29, 2004 REF: CRR 20898 xkundadu
2737 // Returns the 'AutAnswer' menu to display.
2738 /*******************************************************************************
2739 $Function: GetAutoAnswerMenu
2740
2741 $Description: Returns the 'AutoAnswer' menu
2742
2743 $Returns: menuAutoAnswerSet - Menu of the 'AutoKeyAnswer'.
2744
2745 $Arguments: none.
2746
2747 *******************************************************************************/
2748 MfwMnuAttr *GetAutoAnswerMenu()
2749 {
2750 return (MfwMnuAttr *) &menuAutoAnswerSet;
2751 }
2752
2753
2754 // Jul 28, 2004 REF: CRR:20887 xrashmic - SASKEN
2755 // Returning the submenu for FDN submenu
2756 MfwMnuAttr *FDNMenu(void)
2757 {
2758 return (MfwMnuAttr *) &menuFixedDialSet;
2759 }
2760
2761 // Jul 22,2004 CRR:20896 xrashmic - SASKEN
2762 // Returning the submenu for time format.
2763 MfwMnuAttr *TimeFormatAttributes(void)
2764 {
2765 return (MfwMnuAttr *) &menuTimeFormat;
2766 }
2767 // Sep 27,2005 REF: SPR 34402 xdeepadh
2768 // Returning the submenu for channels
2769 // Nov 14, 2005 REF: OMAPS00044445 xdeepadh
2770 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC)
2771 MfwMnuAttr *PlayerChannelAttributes(void)
2772 {
2773 return (MfwMnuAttr *) &menuPlayerChannels;
2774 }
2775 #endif //endif FF_MMI_TEST_MP3
2776
2777 // May 04, 2005 REF: CRR:30285 x0021334
2778 // Returning the submenu for SMS Status Report submenu
2779 MfwMnuAttr *SmsStatusReportAttributes(void)
2780 {
2781 return (MfwMnuAttr *) &menuSetSmsStatusReportRequest;
2782 }
2783
2784 #ifdef FF_MMI_MULTIMEDIA
2785 /* Configuration Parameter Menu item obtained from these functions. */
2786 MfwMnuAttr *GetScreenModeMenu(void)
2787 {
2788 return (MfwMnuAttr *) &menuSelectOutputScreemode;
2789 }
2790
2791 MfwMnuAttr *GetAudioFormatMenu(void)
2792 {
2793 return (MfwMnuAttr *) &menuSelectAudioEncodingFormat;
2794 }
2795
2796 MfwMnuAttr *GetVideoFormatMenu(void)
2797 {
2798 return (MfwMnuAttr *) &menuSelectVideoEncodingFormat;
2799 }
2800
2801 MfwMnuAttr *GetVideoSizeMenu(void)
2802 {
2803 return (MfwMnuAttr *) &menuSelectVideoCaptureSize;
2804 }
2805
2806 MfwMnuAttr *GetFrameRateMenu(void)
2807 {
2808 return (MfwMnuAttr *) &menuSelectFrameRate;
2809 }
2810
2811 MfwMnuAttr *GetVideoBitRateMenu(void)
2812 {
2813 return (MfwMnuAttr *) &menuSelectVideoRate;
2814 }
2815
2816 MfwMnuAttr *GetAACBitRateMenu(void)
2817 {
2818 return (MfwMnuAttr *) &menuSelectAACBitRate;
2819 }
2820
2821 MfwMnuAttr *GetAMRBitRateMenu(void)
2822 {
2823 return (MfwMnuAttr *) &menuSelectAMRBitRate;
2824 }
2825
2826 MfwMnuAttr *GetAudioPathMenu(void)
2827 {
2828 return (MfwMnuAttr *) &menuAudioPath;
2829 }
2830
2831 MfwMnuAttr *GetVolumeConfigMenu(void)
2832 {
2833 return (MfwMnuAttr *) &menuVolumeConfig;
2834 }
2835
2836 MfwMnuAttr *GetPreferredStorageMenu(void)
2837 {
2838 return (MfwMnuAttr *) &menuPreferredStorage;
2839 }
2840 MfwMnuAttr *GetVoiceMemoMenu(void)
2841 {
2842 #ifdef FF_MMI_VOICEMEMO
2843 return (MfwMnuAttr *) &menuVoiceMemoUC;
2844 #else
2845 return (MfwMnuAttr *) &menuVoiceMemo;
2846 #endif
2847 }
2848
2849
2850 MfwMnuAttr *GetmenuAudVidOptions(void)
2851 {
2852 return (MfwMnuAttr *) &menuAudVidOptions;
2853 }
2854
2855 #ifdef FF_MMI_IMAGE_VIEWER
2856
2857 MfwMnuAttr *GetmenuImageViewerOptions(void)
2858 {
2859 return (MfwMnuAttr *) &menuMMImageStorageDevice;
2860 }
2861
2862
2863 MfwMnuAttr *GetmenuImgEditOptions(void)
2864 {
2865 return (MfwMnuAttr *) &menuImageEdit;
2866 }
2867 #endif
2868 #endif
2869 /*******************************************************************************
2870
2871 End of File
2872
2873 *******************************************************************************/
2874