FreeCalypso > hg > fc-magnetite
comparison src/ui3/bmi/mmiBookShared.h @ 421:6a4d9f47793e
src/ui3/bmi: file renames to make the case consistent
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 21 Jan 2018 03:28:53 +0000 |
parents | src/ui3/bmi/MmiBookShared.h@e8ddbb0837ed |
children |
comparison
equal
deleted
inserted
replaced
420:e8ddbb0837ed | 421:6a4d9f47793e |
---|---|
1 #ifndef _MMIBOOKSHARED_ | |
2 #define _MMIBOOKSHARED_ 1 | |
3 | |
4 /******************************************************************************* | |
5 | |
6 CONDAT (UK) | |
7 | |
8 ******************************************************************************** | |
9 | |
10 This software product is the property of Condat (UK) Ltd and may not be | |
11 disclosed to any third party without the express permission of the owner. | |
12 | |
13 ******************************************************************************** | |
14 | |
15 $Project name: Basic MMI | |
16 $Project code: BMI (6349) | |
17 $Module: PhoneBook | |
18 $File: MmiBookShared.h | |
19 $Revision: 1.0 | |
20 | |
21 $Author: Condat(UK) | |
22 $Date: 25/10/00 | |
23 | |
24 ******************************************************************************** | |
25 | |
26 Description: | |
27 | |
28 This module provides definitions of the types and | |
29 constants which are shared across the phone book | |
30 application modules. | |
31 | |
32 ******************************************************************************** | |
33 $History: MmiBookShared.h | |
34 Oct 8 2006 OMAPS00097714 x0039928(sumanth) | |
35 TTY HCO/VCO options in MMI | |
36 | |
37 Sep 11, 2006 DR: OMAPS00094182 xrashmic | |
38 Description: midi and mp3 files is not being populated on accessing corresponding menu, but only during bootup | |
39 Solution: Populate files on accessing the "browse files" list | |
40 xrashmic 9 Sep 2006, OMAPS00092732 | |
41 USBMS ER: Added menu in phone setting to set or unset PS shutdown while enumeration of USB MS | |
42 On USB connect event, a list of possible ports that can be enumerated would be displayed. | |
43 | |
44 July 21, 2006 ER: OMAPS00087586, OMAPS00087587 x0pleela | |
45 Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW | |
46 OMAPS00087587: Time Penaly feature extend handset security | |
47 Solution:Made the following changes | |
48 Added prototype for function SIMPCategoryListAttributes | |
49 | |
50 Apr 24, 2006 ERT: OMAPS00067603 x0043642 | |
51 Description: Engineering mode | |
52 Solution: Added new engineering mode function prototypes. | |
53 | |
54 Jan 22, 2006 REF: OMAPS00061930 x0039928 | |
55 Bug:PhoneBook -Change entry and view entry through Change option-failed | |
56 Fix: Phonebook is populated with phone numbers after some time and not immediately while saving the changed entries. | |
57 | |
58 Nov 14, 2005 REF: OMAPS00044445 xdeepadh | |
59 Description: Implementation of Test Menu for AAC | |
60 Solution: The existing MP3 test Application has been enhanced to support the AAC file testing. | |
61 Sep 27,2005 REF: SPR 34402 xdeepadh | |
62 Bug:Mono option is always highlighted even when Stereo is selected | |
63 Fix:The channel setting will be saved in the FFS, which will be retrieved | |
64 later and the selected channel will be higlighted. | |
65 | |
66 Aug 22, 2005 REF: ENH 31154 xdeepadh | |
67 Description: Application to Test Camera | |
68 Solution: Implemeted the Fileviewer to view the jpeg images.Camera Application to | |
69 preview,capture and save image has been implemented. | |
70 | |
71 May 04, 2005 REF: CRR 30285 x0021334 | |
72 Description: SMS Status Request in idle and dedicated mode (using Menu) setting does not work | |
73 Solution: status of sms status request is read and focus is set accrodingly. | |
74 | |
75 Nov 29, 2004 REF: CRR 25051 xkundadu | |
76 Description: INCALL SCREEN ?ADJUSTING THE VOLUME | |
77 Fix: Added volume level list linked to up/down keys. | |
78 User can select the speaker volume among those levels. | |
79 | |
80 CRR: 25302 - xpradipg 10 Nov 2004 | |
81 Description: Should be able to select the number fro the phonebook while | |
82 sending MMS/EMS. | |
83 Solution: The new feature to select the number from phonebook while sending | |
84 MMS/EMS is added | |
85 | |
86 | |
87 Jul 29, 2004 REF: CRR 20898 xkundadu | |
88 Description: No identification for user whether 'Auto-Answer' is On/Off | |
89 Solution: Added the function GetAutoAnswerMenu() prototype. | |
90 | |
91 | |
92 | |
93 Jul 22,2004 CRR:20896 xrashmic - SASKEN | |
94 Description: The current time format is not highlighted | |
95 Fix: Instead of providing the submenu directly we call a function | |
96 where we set the menu and also higlight the previously selected menu item | |
97 | |
98 May 27, 2004 REF: CRR 19186 Deepa M.D | |
99 Bug : "Setting" menu not available during a call | |
100 Fix : "Setting" menu has been provided to set the SMS settings, during the active call | |
101 | |
102 25/10/00 Original Condat(UK) BMI version. | |
103 | |
104 $End | |
105 | |
106 *******************************************************************************/ | |
107 | |
108 | |
109 | |
110 /******************************************************************************* | |
111 | |
112 Include Files | |
113 | |
114 *******************************************************************************/ | |
115 | |
116 /* The following include files provide the basic type definitions | |
117 required by the phone book application. In order to minimise | |
118 the maintenance of these includes, we will define them all | |
119 here and include this file in each of the public headers. In | |
120 this way any changes are localised to a single module. | |
121 */ | |
122 #include "prim.h" | |
123 #include "mfw_mfw.h" | |
124 #include "mfw_win.h" | |
125 #include "mfw_sim.h" | |
126 #include "mfw_sat.h" | |
127 #include "mfw_tim.h" | |
128 #include "mfw_icn.h" | |
129 #include "mfw_mnu.h" | |
130 #include "mfw_kbd.h" | |
131 /* SPR#1428 - SH -New Editor changes */ | |
132 #ifndef NEW_EDITOR | |
133 #include "mfw_edt.h" | |
134 #endif | |
135 #include "mfw_phb.h" | |
136 #include "phb.h" | |
137 #include "mfw_sys.h" | |
138 #include "ksd.h" | |
139 #include "psa.h" | |
140 #include "mfw_nm.h" | |
141 #include "mfw_str.h" | |
142 #include "mfw_sms.h" | |
143 #include "mfw_ss.h" | |
144 | |
145 #include "dspl.h" | |
146 | |
147 /* SPR#1428 - SH -New Editor changes */ | |
148 #ifdef NEW_EDITOR | |
149 #include "ATBCommon.h" | |
150 #include "ATBDisplay.h" | |
151 #include "ATBEditor.h" | |
152 #include "AUITextEntry.h" | |
153 #include "AUIEditor.h" | |
154 #endif | |
155 | |
156 #include "MmiDummy.h" | |
157 #include "MmiMmi.h" | |
158 #include "MmiDialogs.h" | |
159 #include "MmiSoftKeys.h" | |
160 #include "MmiMain.h" | |
161 #include "MmiMenu.h" | |
162 #include "MmiPins.h" | |
163 #include "mmiCall.h" | |
164 #include "MmiIdle.h" | |
165 | |
166 | |
167 | |
168 #include "MmiBlkLangDB.h" | |
169 #include "MmiResources.h" | |
170 | |
171 | |
172 #ifndef MFW_EVENT_PASSED | |
173 #define MFW_EVENT_PASSED 0 | |
174 #endif | |
175 | |
176 | |
177 | |
178 /******************************************************************************* | |
179 | |
180 Shared Definitions | |
181 | |
182 *******************************************************************************/ | |
183 | |
184 /* Define standard error reports from the phone book | |
185 */ | |
186 #define BOOK_FAILURE (-1) | |
187 #define BOOK_SUCCESS (0) | |
188 #define BOOK_WINDOW_KEY (0x00BABE04L) | |
189 | |
190 | |
191 | |
192 /* Standard definitions which are shared across the phonebook | |
193 modules | |
194 */ | |
195 #define MAX_CALL_LISTS 15 | |
196 /*SPR 1455, */ | |
197 #ifndef LSCREEN | |
198 #define NAME_SCREEN_MAX 13 | |
199 #else | |
200 #define NAME_SCREEN_MAX 41 | |
201 #endif | |
202 | |
203 /*SPR 1456*/ | |
204 #ifdef LSCREEN | |
205 #define NAME_LIST_SIZE 10 | |
206 #define MAX_SEARCHED 10 | |
207 // | |
208 #define MAX_SEARCH_NAME 10 | |
209 #define MAX_SEARCH_CALL_LIST 10 | |
210 #else | |
211 #define NAME_LIST_SIZE 3 | |
212 #define MAX_SEARCHED 3 | |
213 | |
214 #define MAX_SEARCH_NAME 3 | |
215 #define MAX_SEARCH_CALL_LIST 3 | |
216 #endif | |
217 //#define EDITOR_SIZE 32 | |
218 //#define EDITOR_SIZE 96 defined in mmimain.h | |
219 /*SPR 2102, should be long enough to cope with displaying a name and number with time and date in unicode*/ | |
220 #define STANDARD_EDITOR_SIZE (PHB_MAX_LEN*2+50) | |
221 | |
222 //GW-SPR#762- 40 digit phonebook size. | |
223 #ifdef TI_PS_FFS_PHB | |
224 #define NUMBER_LENGTH 41 | |
225 #else | |
226 #ifdef PHONEBOOK_EXTENSION | |
227 #define NUMBER_LENGTH 41 | |
228 #else | |
229 #define NUMBER_LENGTH 20 | |
230 #endif /* else, #ifdef PHONEBOOK_EXTENSION */ | |
231 #endif /* else, #ifdef TI_PS_FFS_PHB */ | |
232 #define MAX_SEARCH_CHAR 8 | |
233 | |
234 #define PHONEBOOK_ITEM_LENGTH 41 /*SPR2123, length of phonebook entry*/ | |
235 //#define PHB_UPN MAX_PHB_TYPE+1 | |
236 //This definition conflicts with the MFW definition | |
237 | |
238 | |
239 | |
240 /* Define a default menu structure | |
241 */ | |
242 | |
243 | |
244 | |
245 | |
246 /******************************************************************************* | |
247 | |
248 Shared Structure Definitions | |
249 | |
250 *******************************************************************************/ | |
251 | |
252 | |
253 /* Define the type of searching we can perform, these can be | |
254 on name, number or SIM location | |
255 */ | |
256 typedef enum { | |
257 SEARCH_BY_NAME, | |
258 SEARCH_BY_NUMBER, | |
259 SEARCH_BY_LOCATION | |
260 } tSearchTypes; | |
261 | |
262 typedef enum { | |
263 CREATE_ENTRY, | |
264 MODIFY_EXISTING, | |
265 ADD_FROM_IDLE | |
266 } tUpdateTypes; | |
267 | |
268 | |
269 | |
270 typedef struct | |
271 { | |
272 T_MFW_PHB_ENTRY entry[MAX_SEARCHED]; | |
273 T_MFW_PHB_LIST list; | |
274 T_MFW_PHB_STATUS status; | |
275 UBYTE result; | |
276 UBYTE selectedName; | |
277 SHORT index; | |
278 UBYTE missedCallsOffset; | |
279 int mode; | |
280 tSearchTypes KindOfSearch; | |
281 } tMmiPhbData, *pMmiPhbData; | |
282 | |
283 | |
284 | |
285 /* Define the basic control record for the phonebook itself, | |
286 this structure will be used by all phonebook application | |
287 modules. | |
288 */ | |
289 typedef struct T_phbk_data | |
290 { | |
291 T_MMI_CONTROL mmi_control; | |
292 T_MFW_HND win; | |
293 | |
294 /* internal data | |
295 */ | |
296 T_MFW_HND search_win; | |
297 T_MFW_HND root_win; | |
298 T_MFW_HND menu_main_win; | |
299 T_MFW_HND calls_list_win; | |
300 T_MFW_HND menu_options_win; | |
301 T_MFW_HND menu_options_win_2; | |
302 T_MFW_HND menu_call_options_win; | |
303 T_MFW_HND menu_call_options_win_2; | |
304 T_MFW_HND name_details_win; | |
305 T_MFW_HND input_number_win; | |
306 T_MFW_HND input_name_win; | |
307 T_MFW_HND parent_win; | |
308 | |
309 char fromSMS; | |
310 char fromSMSSC; | |
311 char fromDivert; | |
312 //CRR: 25302 - xpradipg 10 Nov 2004 | |
313 //Is set to True if invoked from MMS/EMS | |
314 char fromMmsEms; | |
315 char fromDeflect;/*SPR 1392, call deflection*/ | |
316 tMmiPhbData current; | |
317 T_MFW_PHB_ENTRY newEntry; | |
318 T_MFW_UPN_LIST *upnList; | |
319 struct T_phbk_data *phbk; | |
320 UBYTE edt_buf_name[MAX_ALPHA_LEN]; | |
321 /*MC SPR 1257, replacing PHB_MAX_LEN with MAX_ALPHA_LEN for name strings*/ | |
322 char edt_buf_number[PHB_MAX_LEN]; | |
323 /* SPR#1428 - SH - Not required for new editor */ | |
324 #ifndef NEW_EDITOR | |
325 MfwEdtAttr edt_attr_name; | |
326 MfwEdtAttr edt_attr_number; | |
327 #endif /* NEW_EDITOR */ | |
328 T_VOID_FUNC pin2_next; | |
329 struct MfwMnuTag *menu; //Added for FDN -- MC | |
330 struct MfwMnuItemTag *item; //Added for FDN -- MC | |
331 tUpdateTypes UpdateAction; | |
332 | |
333 } T_phbk; | |
334 | |
335 | |
336 /* SPR#1428 - SH - Not required for new editor */ | |
337 #ifndef NEW_EDITOR | |
338 /* Each window uses a standard message block containing references | |
339 to the keyboards, editors, menues etc. | |
340 */ | |
341 typedef struct _tInputSpecifics_ | |
342 { | |
343 int text; | |
344 MfwEdtAttr *edt_attr_input; | |
345 int left_soft_key; | |
346 int right_soft_key; | |
347 short abc; | |
348 void (* callback)( T_MFW_HND win,UBYTE reason ); | |
349 } tInputSpecifics, *pInputSpecifics; | |
350 #endif /* NEW_EDITOR */ | |
351 | |
352 typedef struct _tBookStandard_ | |
353 { | |
354 /* Standard elements which are consistent across all phonebook | |
355 window control blocks | |
356 */ | |
357 T_MMI_CONTROL mmi_control; | |
358 T_MFW_HND win; | |
359 T_MFW_HND kbd; | |
360 T_MFW_HND kbd_long; | |
361 T_MFW_HND menu_tim; | |
362 T_MFW_HND menu; | |
363 T_MFW_HND tim; //Jan 22, 2006 REF: OMAPS00061930 x0039928, Add a timer handle | |
364 #ifdef NEW_EDITOR | |
365 T_ED_DATA *editor; | |
366 T_AUI_ENTRY_DATA *entry_data; | |
367 #else /* NEW_EDITOR */ | |
368 T_MFW_HND edt; | |
369 #endif /* NEW_EDITOR */ | |
370 T_MFW_HND parent_win; | |
371 T_phbk *phbk; | |
372 T_VOID_FUNC Callback; | |
373 | |
374 /* internal data | |
375 */ | |
376 UBYTE status_of_timer; /* use for the keypadlock */ | |
377 #ifdef NEW_EDITOR /* SPR#1428 - SH - New Editor changes */ | |
378 T_ED_ATTR editor_attr; | |
379 #else /* NEW_EDITOR */ | |
380 MfwEdtAttr attr; | |
381 #endif /* NEW_EDITOR */ | |
382 char edtBuf[STANDARD_EDITOR_SIZE*sizeof(USHORT)]; | |
383 #ifndef NEW_EDITOR /* SPR#1428 - SH - New Editor changes */ | |
384 tInputSpecifics properties; /* No longer required with NEW_EDITOR */ | |
385 #endif /* NEW_EDITOR */ | |
386 } tBookStandard, *pBookStandard; | |
387 | |
388 | |
389 | |
390 /* In order to encapsulate the behaviour of the phonebook in | |
391 it's own terms of reference, we will provide the following | |
392 type definition overrides. | |
393 */ | |
394 #define tBookStatus int | |
395 #define tBookPtr void * | |
396 #define tBookDialogData T_DISPLAY_DATA | |
397 #define tBookMfwMenu struct MfwMnuTag | |
398 #define tBookMfwMenuItem struct MfwMnuItemTag | |
399 #define tBookMfwHnd MfwHnd | |
400 #define tBookMfwHdr MfwHdr | |
401 #define tBookMfwWin MfwWin | |
402 #define tBookMfwEvent MfwEvt | |
403 #define tBookMfwBook int | |
404 #define tBookPhonebook T_phbk | |
405 | |
406 #define pBookPhonebook tBookPhonebook * | |
407 #define pBookStandard tBookStandard * | |
408 #define pBookMfwWin tBookMfwWin * | |
409 #define THREE_SECS 0x0BB8 /* 3000 milliseconds. */ | |
410 | |
411 | |
412 /* The following definitions are inherited from the Phbk.h header | |
413 and will be adjusted as required to provide the phone book | |
414 functionality. | |
415 */ | |
416 typedef enum | |
417 { | |
418 PhbkNone=PhbkDummy, | |
419 PhbkNormal, | |
420 PhbkMainMenu, | |
421 PhbkDone, | |
422 PhbkSearchNormal, | |
423 PhbkDetailsListDone, | |
424 PhbkNameEnterNormal, | |
425 PhbkNameEnterIdle, | |
426 PhbkNumberEnterNormal, | |
427 PhbkMissedCallsListNormal, | |
428 PhbkReplyListNormal, | |
429 PhbkRepRedOptionsNormal, | |
430 PhbkRedialListNormal, | |
431 PhbkDetailListToIdle, | |
432 PhbkFromSms, | |
433 PhbkFromSmsSC, /*SH*/ | |
434 PhbkFromDivert, | |
435 PhbkSendAsDTMF, | |
436 //CRR: 25302 - xpradipg 10 Nov 2004 | |
437 PhbkFromMms, | |
438 PhbkFromDeflect/*SPR 1392, call deflection*/ | |
439 } tBookActionIdentifiers; | |
440 | |
441 | |
442 typedef enum | |
443 { | |
444 INPUT_INIT, | |
445 INPUT_LEFT, | |
446 INPUT_RIGHT, | |
447 INPUT_CLEAR, | |
448 INPUT_DESTROY, | |
449 MENU_INIT, | |
450 ADD_CALLBACK, | |
451 DEFAULT_OPTION, | |
452 SEARCH_INIT, | |
453 SEARCH_SCROLL_UP, | |
454 SEARCH_SCROLL_DOWN, | |
455 SEARCH_STRING, | |
456 SEARCH_UPDATE, | |
457 //CRR: 25302 - xpradipg 10 Nov 2004 | |
458 MMS_EMS_PHBK_NUMBER, | |
459 #ifdef NEW_EDITOR /* SPR#1428 - SH - New Editor: So we can redraw screen when required */ | |
460 SEARCH_REDRAW, | |
461 #endif /* NEW_EDITOR */ | |
462 CALL_DETAILS_INIT, | |
463 CALLS_LIST_INIT, | |
464 PHBK_INIT, | |
465 PHBK_SEND_NUMBER, | |
466 SMS_PHBK_NUMBER, | |
467 SMSSC_PHBK_NUMBER, /* SH - Service centre number */ | |
468 DIVERT_PHBK_NUMBER, //MZ 26/02/01 definition for set divert. | |
469 DEFLECT_PHBK_NUMBER /*SPR 1392, call deflection*/ | |
470 } tBookMessageEvents; | |
471 | |
472 | |
473 | |
474 | |
475 /******************************************************************************* | |
476 | |
477 Define common interface definitions | |
478 | |
479 *******************************************************************************/ | |
480 | |
481 /* Define shared macros for the event and dialog handlers. This macro | |
482 definition ensures that all handlers are given the same interface. | |
483 */ | |
484 #define EVENT_HANDLER( Name ) \ | |
485 static int Name( tBookMfwEvent Event, tBookMfwWin *Window ) | |
486 | |
487 #define DIALOG_FUNCTION( Name ) \ | |
488 static void Name( tBookMfwHnd win, USHORT event, SHORT value, void *parameter ) | |
489 | |
490 | |
491 | |
492 | |
493 /******************************************************************************* | |
494 | |
495 Function Prototypes | |
496 | |
497 *******************************************************************************/ | |
498 | |
499 | |
500 //Nov 29, 2004 REF: CRR 25051 xkundadu | |
501 //Description: INCALL SCREEN ?ADJUSTING THE VOLUME | |
502 //Fix: Added these prototype for the menu display function. | |
503 MfwMnuAttr *ringerVolumeLevels( void ); | |
504 | |
505 // Jul 29, 2004 REF: CRR 20898 xkundadu | |
506 // Added this function to return the 'AnyKeyAnswer' menu to display. | |
507 MfwMnuAttr *GetAutoAnswerMenu(void); // RAVI | |
508 | |
509 #ifdef FF_MMI_MULTIMEDIA | |
510 /* Function Prototype for getting the Configuration Parameter Menu. */ | |
511 MfwMnuAttr *GetScreenModeMenu(void); | |
512 MfwMnuAttr *GetAudioFormatMenu(void); | |
513 MfwMnuAttr *GetVideoFormatMenu(void); | |
514 MfwMnuAttr *GetVideoSizeMenu(void); | |
515 MfwMnuAttr *GetFrameRateMenu(void); | |
516 MfwMnuAttr *GetVideoBitRateMenu(void); | |
517 MfwMnuAttr *GetVideoRecordDurationMenu(void); | |
518 MfwMnuAttr *GetAACBitRateMenu(void); | |
519 MfwMnuAttr *GetAMRBitRateMenu(void); | |
520 MfwMnuAttr *GetAudioPathMenu(void); | |
521 MfwMnuAttr *GetVolumeConfigMenu(void); | |
522 MfwMnuAttr *GetPreferredStorageMenu(void); | |
523 MfwMnuAttr *GetImageCaptureQualityMenu(void); | |
524 MfwMnuAttr *GetPcmChannelModeMenu(void); | |
525 MfwMnuAttr *GetPcmRateSelectionMenu(void); | |
526 MfwMnuAttr *GetPcmSampleRateMenu(void); /* PCM Decode Sample Rate */ | |
527 MfwMnuAttr *GetVmPcmSampleRateMenu(void); /* Voice Memo PCM Decode Sample Rate */ | |
528 MfwMnuAttr *GetPcmDecodeChannelModeMenu(void); | |
529 MfwMnuAttr *GetVmPcmDecodeChannelModeMenu(void); | |
530 MfwMnuAttr *GetVoiceMemoMenu(void); | |
531 MfwMnuAttr *GetAudioVideoSyncOptionMenu(void); | |
532 MfwMnuAttr *GetAudioVideoRecordOptionMenu(void); /* Video Only Option - x0043641 */ | |
533 #ifdef FF_MMI_NEPTUNE_IMAGE_VIEWER | |
534 MfwMnuAttr *GetmenuImageViewerOptions(void); | |
535 MfwMnuAttr *GetmenuImgEditOptions(void); | |
536 #endif | |
537 #endif | |
538 | |
539 #ifdef NEPTUNE_BOARD | |
540 #ifdef MMI_POWER_MANAGEMENT_TEST | |
541 /* Gets the power management options*/ | |
542 MfwMnuAttr *GetPowerManagementMenu(void); | |
543 #endif | |
544 #endif | |
545 /* We have a pair of menu area definitions which must be used in | |
546 the phone book, these are defined once in this module and then | |
547 shared between all of the phone book modules. | |
548 */ | |
549 MfwRect MmiBookMenuArea( void ); | |
550 MfwRect MmiBookNamesArea( void ); | |
551 | |
552 /* Similarly for the shared call list buffer | |
553 */ | |
554 void *MmiBookCallList( int index ); | |
555 int MmiBookCallListSize( int index ); | |
556 | |
557 /* and menu attributes | |
558 */ | |
559 MfwMnuAttr *MmiBookMenuDetailsList( void ); | |
560 | |
561 | |
562 /* Helper functions | |
563 */ | |
564 void MmiBookShowDefault( void ); | |
565 | |
566 /* Text message handling functions | |
567 */ | |
568 int MmiBookCurrentText( void ); | |
569 void MmiBookSetCurrentText( int pstr ); | |
570 | |
571 | |
572 /* Menu structure access routines | |
573 */ | |
574 #ifdef SIM_PERS | |
575 //x0pleela 20 July, 2006 ER: OMAPS00087586, OMAPS00087587 | |
576 MfwMnuAttr *SIMPCategoryListAttributes( void ); | |
577 #endif | |
578 #if defined (TI_PS_FF_EM) || defined (MMI_EM_ENABLED) | |
579 MfwMnuAttr *EngModeAttributes( void );/*MC, SPR1209 engineering mode menu*/ | |
580 #endif | |
581 MfwMnuAttr *bookOwnNumberMenuAttributes( void ); | |
582 MfwMnuItem *bookOwnNumberMenuItems( void ); | |
583 MfwMnuAttr *bookPhonebookMenuAttributes( void ); | |
584 MfwMnuItem *bookPhonebookMenuItems( void ); | |
585 MfwMnuAttr *bookRepRedOptionsMenuAttributes( void ); | |
586 MfwMnuItem *bookRepRedOptionsMenuItems( void ); | |
587 MfwMnuAttr *bookNameMenuAttributes( void ); | |
588 MfwMnuAttr *bookNameMenuFDNAttributes( void );// MMI SPR 18555 | |
589 MfwMnuItem *bookNameMenuItems( void ); | |
590 MfwMnuAttr *bookUPNMenuAttributes( void );/*MC SPR 1327*/ | |
591 MfwMnuAttr *bookMainMenuAttributes( void ); | |
592 MfwMnuAttr *bookCallBarringMenuAttributes( void ); | |
593 MfwMnuItem *bookMainMenuItems( void ); | |
594 MfwMnuAttr *calcOptionMenuAttributes( void ); | |
595 MfwMnuAttr *settingMenuAttributes(void);//May 27, 2004 REF: CRR 19186 Deepa M.D | |
596 //Aug 22, 2005 REF: ENH 31154 xdeepadh | |
597 #ifdef FF_MMI_TEST_CAMERA | |
598 MfwMnuAttr * qualityMenuAttributes(void); | |
599 MfwMnuAttr * colorMenuAttributes(void); | |
600 #endif | |
601 #ifdef FF_MMI_CAMERA_APP | |
602 MfwMnuAttr *CameraMenuAttributes(void); | |
603 #endif | |
604 //xrashmic 9 Sep 2006, OMAPS00092732 | |
605 #ifdef FF_MMI_USBMS | |
606 MfwMnuAttr *USBMenuAttributes(void); | |
607 #endif | |
608 //Aug 22, 2005 REF: ENH 31154 xdeepadh | |
609 #ifdef FF_MMI_FILE_VIEWER | |
610 MfwMnuAttr *rotateMenuAttributes(void); | |
611 MfwMnuAttr *zoomMenuAttributes(void); | |
612 #endif | |
613 MfwMnuAttr *applicationsMenuAttributes(void);//August 24, 2004 e-armanetsaid | |
614 MfwMnuItem *calcOptionMenuItems( void ); | |
615 MfwMnuAttr *MelgenOptionMenuAttributes( void ); | |
616 MfwMnuItem *MelgenOptionMenuItems( void ); | |
617 MfwMnuAttr *ringerVolumeSetting( void ); | |
618 MfwMnuAttr * create_mmi_phonebook_names_list(void);/*SPR2123*/ // RAVI | |
619 BOOL destroy_mmi_phonebook_names_list();/*SPR2123*/ | |
620 #ifdef FF_WAP | |
621 MfwMnuAttr *WAPMenuAttributes(void); | |
622 MfwMnuItem *WAPMenuItems(void); | |
623 MfwMnuAttr *WAPBookOptMenuAttributes(void); | |
624 MfwMnuItem *WAPBookOptMenuItems(void); | |
625 MfwMnuAttr *WAPHistOptMenuAttributes(void); | |
626 MfwMnuItem *WAPHistOptMenuItems(void); | |
627 MfwMnuAttr *WAPProfOptionsAttributes(void); | |
628 MfwMnuItem *WAPProfOptionsItems(void); | |
629 MfwMnuAttr *WAPGoToAttributes(void); | |
630 MfwMnuItem *WAPGoToItems(void); | |
631 //xpradipg - Aug 4:changes for WAP2.0 Menu | |
632 #if defined (FF_WAP) && defined (FF_GPF_TCPIP) | |
633 MfwMnuAttr *WAPPPGAuthenticationAttributes(void); | |
634 MfwMnuAttr *WAPWirelessProfiledHTTPAttributes(void); | |
635 #endif | |
636 MfwMnuAttr *WAPConnectionTypeAttributes(void); | |
637 MfwMnuItem *WAPConnectionTypeItems(void); | |
638 MfwMnuAttr *WAPConnectionSpeedAttributes(void); /* SPR#1983 - SH */ | |
639 MfwMnuItem *WAPConnectionSpeedItems(void); /* SPR#1983 - SH */ | |
640 /* SPR#2324 - SH - "access type" menu is now GPRS/Dialup menu */ | |
641 MfwMnuAttr *WAPGPRSDialupAttributes(void); /* SPR#2324 */ | |
642 MfwMnuItem *WAPGPRSDialupItems(void); /* SPR#2324 */ | |
643 MfwMnuAttr *WAPGPRSProfileAttributes(void); /* SPR#2324 */ | |
644 MfwMnuItem *WAPGPRSProfileItems(void); /* SPR#2324 */ | |
645 MfwMnuAttr *WAPDialupProfileAttributes(void); /* SPR#2324 */ | |
646 MfwMnuItem *WAPDialupProfileItems(void); /* SPR#2324 */ | |
647 MfwMnuAttr *WAPAdvancedProfileAttributes(void); /* SPR#2324 */ | |
648 MfwMnuItem *WAPAdvancedProfileItems(void); /* SPR#2324 */ | |
649 MfwMnuAttr *WAPSecurityOptionAttributes(void); | |
650 MfwMnuItem *WAPSecurityOptionItems(void); | |
651 MfwMnuAttr *WAPSaveHistoryAttributes(void); | |
652 MfwMnuItem *WAPSaveHistoryItems(void); | |
653 MfwMnuAttr *WAPScaleImagesAttributes(void); | |
654 MfwMnuItem *WAPScaleImagesItems(void); | |
655 MfwMnuAttr *WAPNewBookmarkAttributes(void); /* SPR#1983 - SH */ | |
656 MfwMnuItem *WAPNewBookmarkItems(void); /* SPR#1983 - SH */ | |
657 #endif // WAP | |
658 | |
659 #if defined (FF_WAP) && defined (FF_GPF_TCPIP) | |
660 MfwMnuAttr *WAPPushListOptionsAttributes(void); /* SPR#2086 - SH */ | |
661 MfwMnuItem *WAPPushListOptionsItems(void); /* SPR#2086 - SH */ | |
662 MfwMnuAttr *WAPPushMessagesAttributes(void); | |
663 MfwMnuItem *WAPPushMessagesItems(void); | |
664 #endif /* PUSH */ | |
665 | |
666 | |
667 #ifdef MMI_GPRS_ENABLED | |
668 MfwMnuAttr *SMSServiceAttributes(void); | |
669 MfwMnuItem *SMSServiceItems(void); | |
670 #endif // GPRS | |
671 | |
672 /* SPR#1112 - Internal phonebook menus */ | |
673 #ifdef INT_PHONEBOOK | |
674 MfwMnuAttr *SelectBookAttributes(void); | |
675 MfwMnuItem *SelectBookItems(void); | |
676 #endif //INT_PHONEBOOK | |
677 | |
678 /* SPR#1352 - SH - TTY */ | |
679 #ifdef MMI_TTY_ENABLED | |
680 MfwMnuAttr *TTYAttributes(void); | |
681 MfwMnuItem *TTYItems(void); | |
682 /*x0039928 OMAPS00097714 HCO/VCO option - menu items added*/ | |
683 #ifdef FF_TTY_HCO_VCO | |
684 MfwMnuAttr *TTYCOAlwaysAttributes(void); | |
685 MfwMnuAttr *TTYCONextCallAttributes(void); | |
686 #endif | |
687 #endif | |
688 /* end SH */ | |
689 | |
690 int MmiBook_getStoredOption( void); | |
691 //SPR12822 | |
692 MfwMnuAttr *NWIconAttributes(void); | |
693 | |
694 // Jul 22,2004 CRR:20896 xrashmic - SASKEN | |
695 MfwMnuAttr *TimeFormatAttributes(void); | |
696 | |
697 #ifdef FF_MMI_FILEMANAGER | |
698 MfwMnuAttr *FMMenuOptionAttributes(void); | |
699 MfwMnuAttr *FMRootFolderAttributes(void); | |
700 MfwMnuAttr *FMDrivesOptionsListAttributes(void); | |
701 MfwMnuAttr *FMDestDrivesListAttributes(void); | |
702 MfwMnuAttr *FMDestRootFolderAttributes(void); | |
703 #endif | |
704 // Sep 27,2005 REF: SPR 34402 xdeepadh | |
705 // Nov 14, 2005 REF: OMAPS00044445 xdeepadh | |
706 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC) | |
707 MfwMnuAttr *PlayerChannelAttributes(void); | |
708 #endif | |
709 | |
710 //May 04, 2005 CRR:30285 x0021334 | |
711 MfwMnuAttr *SmsStatusReportAttributes(void); | |
712 | |
713 MfwMnuAttr *GetAnyKeyAnswerMenu (void); | |
714 //Aug 22, 2005 REF: ENH 31154 xdeepadh | |
715 #ifdef FF_MMI_FILE_VIEWER | |
716 MfwMnuAttr *fileviewerMenuAttributes( void );//file viewer | |
717 MfwMnuAttr *ViewOptionsMenuAttributes( void );//file viewer | |
718 #endif | |
719 | |
720 //Sep 11, 2006 DR: OMAPS00094182 xrashmic | |
721 #ifdef FF_MMI_TEST_MIDI | |
722 MfwMnuAttr *MidiTestAppMenuAttributes(void); | |
723 #endif | |
724 #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC) | |
725 MfwMnuAttr *AudioPlayerAppMenuAttributes(void); | |
726 #endif | |
727 | |
728 /******************************************************************************* | |
729 | |
730 Include Files For Phone Book Functionality | |
731 | |
732 *******************************************************************************/ | |
733 | |
734 /* These includes need to be here as they depend on definitions | |
735 defined above. | |
736 */ | |
737 #include "MmiBookUtils.h" | |
738 #include "MmiBookServices.h" | |
739 #include "MmiBookSearchWindow.h" | |
740 #include "MmiBookMenuWindow.h" | |
741 #include "MmiBookDetailsWindow.h" | |
742 /* SPR#1428 - SH - New Editor changes: BookInputWindow is no longer required */ | |
743 #ifndef NEW_EDITOR | |
744 #include "MmiBookInputWindow.h" | |
745 #endif /* NEW_EDITOR */ | |
746 #include "MmiBookCallListWindow.h" | |
747 #include "MmiBookCallDetailsWindow.h" | |
748 #include "MmiBookSDNWindow.h" | |
749 #include "MmiBookPhonebook.h" | |
750 #include "MmiMenu.h" | |
751 | |
752 | |
753 | |
754 /******************************************************************************* | |
755 | |
756 End of File | |
757 | |
758 *******************************************************************************/ | |
759 | |
760 | |
761 #endif |