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