FreeCalypso > hg > fc-tourmaline
diff src/ui/bmi/mmiBookShared.h @ 100:609eb8031c17
mmiBook*.h: bogotab fixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 08 Nov 2020 22:53:20 +0000 |
parents | c0052fe355d3 |
children | 62480f597962 |
line wrap: on
line diff
--- a/src/ui/bmi/mmiBookShared.h Sun Nov 08 08:33:36 2020 +0000 +++ b/src/ui/bmi/mmiBookShared.h Sun Nov 08 22:53:20 2020 +0000 @@ -3,7 +3,7 @@ /******************************************************************************* - CONDAT (UK) + CONDAT (UK) ******************************************************************************** @@ -12,14 +12,14 @@ ******************************************************************************** - $Project name: Basic MMI - $Project code: BMI (6349) - $Module: PhoneBook - $File: MmiBookShared.h - $Revision: 1.0 + $Project name: Basic MMI + $Project code: BMI (6349) + $Module: PhoneBook + $File: MmiBookShared.h + $Revision: 1.0 - $Author: Condat(UK) - $Date: 25/10/00 + $Author: Condat(UK) + $Date: 25/10/00 ******************************************************************************** @@ -34,39 +34,39 @@ Oct 8 2006 OMAPS00097714 x0039928(sumanth) TTY HCO/VCO options in MMI - Sep 11, 2006 DR: OMAPS00094182 xrashmic - Description: midi and mp3 files is not being populated on accessing corresponding menu, but only during bootup - Solution: Populate files on accessing the "browse files" list - xrashmic 9 Sep 2006, OMAPS00092732 - USBMS ER: Added menu in phone setting to set or unset PS shutdown while enumeration of USB MS - On USB connect event, a list of possible ports that can be enumerated would be displayed. + Sep 11, 2006 DR: OMAPS00094182 xrashmic + Description: midi and mp3 files is not being populated on accessing corresponding menu, but only during bootup + Solution: Populate files on accessing the "browse files" list + xrashmic 9 Sep 2006, OMAPS00092732 + USBMS ER: Added menu in phone setting to set or unset PS shutdown while enumeration of USB MS + On USB connect event, a list of possible ports that can be enumerated would be displayed. - July 21, 2006 ER: OMAPS00087586, OMAPS00087587 x0pleela - Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW - OMAPS00087587: Time Penaly feature extend handset security - Solution:Made the following changes - Added prototype for function SIMPCategoryListAttributes + July 21, 2006 ER: OMAPS00087586, OMAPS00087587 x0pleela + Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW + OMAPS00087587: Time Penaly feature extend handset security + Solution:Made the following changes + Added prototype for function SIMPCategoryListAttributes - Apr 24, 2006 ERT: OMAPS00067603 x0043642 - Description: Engineering mode - Solution: Added new engineering mode function prototypes. + Apr 24, 2006 ERT: OMAPS00067603 x0043642 + Description: Engineering mode + Solution: Added new engineering mode function prototypes. - Jan 22, 2006 REF: OMAPS00061930 x0039928 - Bug:PhoneBook -Change entry and view entry through Change option-failed - Fix: Phonebook is populated with phone numbers after some time and not immediately while saving the changed entries. + Jan 22, 2006 REF: OMAPS00061930 x0039928 + Bug:PhoneBook -Change entry and view entry through Change option-failed + Fix: Phonebook is populated with phone numbers after some time and not immediately while saving the changed entries. - Nov 14, 2005 REF: OMAPS00044445 xdeepadh - Description: Implementation of Test Menu for AAC - Solution: The existing MP3 test Application has been enhanced to support the AAC file testing. - Sep 27,2005 REF: SPR 34402 xdeepadh - Bug:Mono option is always highlighted even when Stereo is selected - Fix:The channel setting will be saved in the FFS, which will be retrieved - later and the selected channel will be higlighted. + Nov 14, 2005 REF: OMAPS00044445 xdeepadh + Description: Implementation of Test Menu for AAC + Solution: The existing MP3 test Application has been enhanced to support the AAC file testing. + Sep 27,2005 REF: SPR 34402 xdeepadh + Bug:Mono option is always highlighted even when Stereo is selected + Fix:The channel setting will be saved in the FFS, which will be retrieved + later and the selected channel will be higlighted. - Aug 22, 2005 REF: ENH 31154 xdeepadh - Description: Application to Test Camera - Solution: Implemeted the Fileviewer to view the jpeg images.Camera Application to - preview,capture and save image has been implemented. + Aug 22, 2005 REF: ENH 31154 xdeepadh + Description: Application to Test Camera + Solution: Implemeted the Fileviewer to view the jpeg images.Camera Application to + preview,capture and save image has been implemented. May 04, 2005 REF: CRR 30285 x0021334 Description: SMS Status Request in idle and dedicated mode (using Menu) setting does not work @@ -84,22 +84,22 @@ MMS/EMS is added - Jul 29, 2004 REF: CRR 20898 xkundadu - Description: No identification for user whether 'Auto-Answer' is On/Off - Solution: Added the function GetAutoAnswerMenu() prototype. + Jul 29, 2004 REF: CRR 20898 xkundadu + Description: No identification for user whether 'Auto-Answer' is On/Off + Solution: Added the function GetAutoAnswerMenu() prototype. - Jul 22,2004 CRR:20896 xrashmic - SASKEN - Description: The current time format is not highlighted - Fix: Instead of providing the submenu directly we call a function - where we set the menu and also higlight the previously selected menu item + Jul 22,2004 CRR:20896 xrashmic - SASKEN + Description: The current time format is not highlighted + Fix: Instead of providing the submenu directly we call a function + where we set the menu and also higlight the previously selected menu item - May 27, 2004 REF: CRR 19186 Deepa M.D - Bug : "Setting" menu not available during a call - Fix : "Setting" menu has been provided to set the SMS settings, during the active call + May 27, 2004 REF: CRR 19186 Deepa M.D + Bug : "Setting" menu not available during a call + Fix : "Setting" menu has been provided to set the SMS settings, during the active call - 25/10/00 Original Condat(UK) BMI version. + 25/10/00 Original Condat(UK) BMI version. $End @@ -192,47 +192,47 @@ /* Standard definitions which are shared across the phonebook modules */ -#define MAX_CALL_LISTS 15 +#define MAX_CALL_LISTS 15 /*SPR 1455, */ #ifndef LSCREEN -#define NAME_SCREEN_MAX 13 +#define NAME_SCREEN_MAX 13 #else -#define NAME_SCREEN_MAX 41 +#define NAME_SCREEN_MAX 41 #endif /*SPR 1456*/ #ifdef LSCREEN -#define NAME_LIST_SIZE 10 -#define MAX_SEARCHED 10 +#define NAME_LIST_SIZE 10 +#define MAX_SEARCHED 10 // -#define MAX_SEARCH_NAME 10 -#define MAX_SEARCH_CALL_LIST 10 +#define MAX_SEARCH_NAME 10 +#define MAX_SEARCH_CALL_LIST 10 #else -#define NAME_LIST_SIZE 3 -#define MAX_SEARCHED 3 +#define NAME_LIST_SIZE 3 +#define MAX_SEARCHED 3 -#define MAX_SEARCH_NAME 3 -#define MAX_SEARCH_CALL_LIST 3 +#define MAX_SEARCH_NAME 3 +#define MAX_SEARCH_CALL_LIST 3 #endif -//#define EDITOR_SIZE 32 -//#define EDITOR_SIZE 96 defined in mmimain.h +//#define EDITOR_SIZE 32 +//#define EDITOR_SIZE 96 defined in mmimain.h /*SPR 2102, should be long enough to cope with displaying a name and number with time and date in unicode*/ -#define STANDARD_EDITOR_SIZE (PHB_MAX_LEN*2+50) +#define STANDARD_EDITOR_SIZE (PHB_MAX_LEN*2+50) //GW-SPR#762- 40 digit phonebook size. #ifdef TI_PS_FFS_PHB -#define NUMBER_LENGTH 41 +#define NUMBER_LENGTH 41 #else #ifdef PHONEBOOK_EXTENSION -#define NUMBER_LENGTH 41 +#define NUMBER_LENGTH 41 #else -#define NUMBER_LENGTH 20 +#define NUMBER_LENGTH 20 #endif /* else, #ifdef PHONEBOOK_EXTENSION */ #endif /* else, #ifdef TI_PS_FFS_PHB */ -#define MAX_SEARCH_CHAR 8 +#define MAX_SEARCH_CHAR 8 #define PHONEBOOK_ITEM_LENGTH 41 /*SPR2123, length of phonebook entry*/ -//#define PHB_UPN MAX_PHB_TYPE+1 +//#define PHB_UPN MAX_PHB_TYPE+1 //This definition conflicts with the MFW definition @@ -273,10 +273,10 @@ T_MFW_PHB_LIST list; T_MFW_PHB_STATUS status; UBYTE result; - UBYTE selectedName; + UBYTE selectedName; SHORT index; - UBYTE missedCallsOffset; - int mode; + UBYTE missedCallsOffset; + int mode; tSearchTypes KindOfSearch; } tMmiPhbData, *pMmiPhbData; @@ -288,46 +288,46 @@ */ typedef struct T_phbk_data { - T_MMI_CONTROL mmi_control; - T_MFW_HND win; + T_MMI_CONTROL mmi_control; + T_MFW_HND win; /* internal data */ - T_MFW_HND search_win; - T_MFW_HND root_win; - T_MFW_HND menu_main_win; - T_MFW_HND calls_list_win; - T_MFW_HND menu_options_win; - T_MFW_HND menu_options_win_2; - T_MFW_HND menu_call_options_win; - T_MFW_HND menu_call_options_win_2; - T_MFW_HND name_details_win; - T_MFW_HND input_number_win; - T_MFW_HND input_name_win; - T_MFW_HND parent_win; + T_MFW_HND search_win; + T_MFW_HND root_win; + T_MFW_HND menu_main_win; + T_MFW_HND calls_list_win; + T_MFW_HND menu_options_win; + T_MFW_HND menu_options_win_2; + T_MFW_HND menu_call_options_win; + T_MFW_HND menu_call_options_win_2; + T_MFW_HND name_details_win; + T_MFW_HND input_number_win; + T_MFW_HND input_name_win; + T_MFW_HND parent_win; - char fromSMS; - char fromSMSSC; - char fromDivert; + char fromSMS; + char fromSMSSC; + char fromDivert; //CRR: 25302 - xpradipg 10 Nov 2004 //Is set to True if invoked from MMS/EMS char fromMmsEms; - char fromDeflect;/*SPR 1392, call deflection*/ - tMmiPhbData current; - T_MFW_PHB_ENTRY newEntry; - T_MFW_UPN_LIST *upnList; - struct T_phbk_data *phbk; - UBYTE edt_buf_name[MAX_ALPHA_LEN]; - /*MC SPR 1257, replacing PHB_MAX_LEN with MAX_ALPHA_LEN for name strings*/ - char edt_buf_number[PHB_MAX_LEN]; - /* SPR#1428 - SH - Not required for new editor */ + char fromDeflect;/*SPR 1392, call deflection*/ + tMmiPhbData current; + T_MFW_PHB_ENTRY newEntry; + T_MFW_UPN_LIST *upnList; + struct T_phbk_data *phbk; + UBYTE edt_buf_name[MAX_ALPHA_LEN]; + /*MC SPR 1257, replacing PHB_MAX_LEN with MAX_ALPHA_LEN for name strings*/ + char edt_buf_number[PHB_MAX_LEN]; + /* SPR#1428 - SH - Not required for new editor */ #ifndef NEW_EDITOR - MfwEdtAttr edt_attr_name; - MfwEdtAttr edt_attr_number; + MfwEdtAttr edt_attr_name; + MfwEdtAttr edt_attr_number; #endif /* NEW_EDITOR */ - T_VOID_FUNC pin2_next; - struct MfwMnuTag *menu; //Added for FDN -- MC - struct MfwMnuItemTag *item; //Added for FDN -- MC + T_VOID_FUNC pin2_next; + struct MfwMnuTag *menu; //Added for FDN -- MC + struct MfwMnuItemTag *item; //Added for FDN -- MC tUpdateTypes UpdateAction; } T_phbk; @@ -340,48 +340,48 @@ */ typedef struct _tInputSpecifics_ { - int text; - MfwEdtAttr *edt_attr_input; + int text; + MfwEdtAttr *edt_attr_input; int left_soft_key; int right_soft_key; - short abc; - void (* callback)( T_MFW_HND win,UBYTE reason ); + short abc; + void (* callback)( T_MFW_HND win,UBYTE reason ); } tInputSpecifics, *pInputSpecifics; #endif /* NEW_EDITOR */ typedef struct _tBookStandard_ { - /* Standard elements which are consistent across all phonebook - window control blocks - */ + /* Standard elements which are consistent across all phonebook + window control blocks + */ T_MMI_CONTROL mmi_control; T_MFW_HND win; T_MFW_HND kbd; T_MFW_HND kbd_long; T_MFW_HND menu_tim; T_MFW_HND menu; - T_MFW_HND tim; //Jan 22, 2006 REF: OMAPS00061930 x0039928, Add a timer handle + T_MFW_HND tim; //Jan 22, 2006 REF: OMAPS00061930 x0039928, Add a timer handle #ifdef NEW_EDITOR - T_ED_DATA *editor; - T_AUI_ENTRY_DATA *entry_data; + T_ED_DATA *editor; + T_AUI_ENTRY_DATA *entry_data; #else /* NEW_EDITOR */ - T_MFW_HND edt; + T_MFW_HND edt; #endif /* NEW_EDITOR */ T_MFW_HND parent_win; - T_phbk *phbk; + T_phbk *phbk; T_VOID_FUNC Callback; /* internal data */ UBYTE status_of_timer; /* use for the keypadlock */ -#ifdef NEW_EDITOR /* SPR#1428 - SH - New Editor changes */ - T_ED_ATTR editor_attr; +#ifdef NEW_EDITOR /* SPR#1428 - SH - New Editor changes */ + T_ED_ATTR editor_attr; #else /* NEW_EDITOR */ MfwEdtAttr attr; #endif /* NEW_EDITOR */ char edtBuf[STANDARD_EDITOR_SIZE*sizeof(USHORT)]; -#ifndef NEW_EDITOR /* SPR#1428 - SH - New Editor changes */ - tInputSpecifics properties; /* No longer required with NEW_EDITOR */ +#ifndef NEW_EDITOR /* SPR#1428 - SH - New Editor changes */ + tInputSpecifics properties; /* No longer required with NEW_EDITOR */ #endif /* NEW_EDITOR */ } tBookStandard, *pBookStandard; @@ -391,17 +391,17 @@ it's own terms of reference, we will provide the following type definition overrides. */ -#define tBookStatus int -#define tBookPtr void * -#define tBookDialogData T_DISPLAY_DATA -#define tBookMfwMenu struct MfwMnuTag -#define tBookMfwMenuItem struct MfwMnuItemTag -#define tBookMfwHnd MfwHnd -#define tBookMfwHdr MfwHdr +#define tBookStatus int +#define tBookPtr void * +#define tBookDialogData T_DISPLAY_DATA +#define tBookMfwMenu struct MfwMnuTag +#define tBookMfwMenuItem struct MfwMnuItemTag +#define tBookMfwHnd MfwHnd +#define tBookMfwHdr MfwHdr #define tBookMfwWin MfwWin #define tBookMfwEvent MfwEvt #define tBookMfwBook int -#define tBookPhonebook T_phbk +#define tBookPhonebook T_phbk #define pBookPhonebook tBookPhonebook * #define pBookStandard tBookStandard * @@ -428,45 +428,45 @@ PhbkReplyListNormal, PhbkRepRedOptionsNormal, PhbkRedialListNormal, - PhbkDetailListToIdle, - PhbkFromSms, - PhbkFromSmsSC, /*SH*/ - PhbkFromDivert, - PhbkSendAsDTMF, - //CRR: 25302 - xpradipg 10 Nov 2004 - PhbkFromMms, - PhbkFromDeflect/*SPR 1392, call deflection*/ + PhbkDetailListToIdle, + PhbkFromSms, + PhbkFromSmsSC, /*SH*/ + PhbkFromDivert, + PhbkSendAsDTMF, + //CRR: 25302 - xpradipg 10 Nov 2004 + PhbkFromMms, + PhbkFromDeflect/*SPR 1392, call deflection*/ } tBookActionIdentifiers; typedef enum { - INPUT_INIT, - INPUT_LEFT, - INPUT_RIGHT, - INPUT_CLEAR, - INPUT_DESTROY, - MENU_INIT, - ADD_CALLBACK, - DEFAULT_OPTION, - SEARCH_INIT, - SEARCH_SCROLL_UP, - SEARCH_SCROLL_DOWN, - SEARCH_STRING, - SEARCH_UPDATE, - //CRR: 25302 - xpradipg 10 Nov 2004 - MMS_EMS_PHBK_NUMBER, -#ifdef NEW_EDITOR /* SPR#1428 - SH - New Editor: So we can redraw screen when required */ - SEARCH_REDRAW, + INPUT_INIT, + INPUT_LEFT, + INPUT_RIGHT, + INPUT_CLEAR, + INPUT_DESTROY, + MENU_INIT, + ADD_CALLBACK, + DEFAULT_OPTION, + SEARCH_INIT, + SEARCH_SCROLL_UP, + SEARCH_SCROLL_DOWN, + SEARCH_STRING, + SEARCH_UPDATE, + //CRR: 25302 - xpradipg 10 Nov 2004 + MMS_EMS_PHBK_NUMBER, +#ifdef NEW_EDITOR /* SPR#1428 - SH - New Editor: So we can redraw screen when required */ + SEARCH_REDRAW, #endif /* NEW_EDITOR */ - CALL_DETAILS_INIT, - CALLS_LIST_INIT, - PHBK_INIT, - PHBK_SEND_NUMBER, - SMS_PHBK_NUMBER, - SMSSC_PHBK_NUMBER, /* SH - Service centre number */ - DIVERT_PHBK_NUMBER, //MZ 26/02/01 definition for set divert. - DEFLECT_PHBK_NUMBER /*SPR 1392, call deflection*/ + CALL_DETAILS_INIT, + CALLS_LIST_INIT, + PHBK_INIT, + PHBK_SEND_NUMBER, + SMS_PHBK_NUMBER, + SMSSC_PHBK_NUMBER, /* SH - Service centre number */ + DIVERT_PHBK_NUMBER, //MZ 26/02/01 definition for set divert. + DEFLECT_PHBK_NUMBER /*SPR 1392, call deflection*/ } tBookMessageEvents; @@ -702,7 +702,7 @@ MfwMnuAttr *FMDestRootFolderAttributes(void); #endif // Sep 27,2005 REF: SPR 34402 xdeepadh -// Nov 14, 2005 REF: OMAPS00044445 xdeepadh +// Nov 14, 2005 REF: OMAPS00044445 xdeepadh #if defined(FF_MMI_TEST_MP3) || defined(FF_MMI_TEST_AAC) MfwMnuAttr *PlayerChannelAttributes(void); #endif