FreeCalypso > hg > fc-tourmaline
diff src/ui/bmi/mmiSatCall.c @ 92:c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 08 Nov 2020 06:39:16 +0000 |
parents | 67bfe9f274f6 |
children | 0b97ee8bf778 |
line wrap: on
line diff
--- a/src/ui/bmi/mmiSatCall.c Sun Nov 08 05:12:05 2020 +0000 +++ b/src/ui/bmi/mmiSatCall.c Sun Nov 08 06:39:16 2020 +0000 @@ -2,34 +2,34 @@ CONDAT (UK) -******************************************************************************** +******************************************************************************** This software product is the property of Condat (UK) Ltd and may not be - disclosed to any third party without the express permission of the owner. - + disclosed to any third party without the express permission of the owner. + ******************************************************************************** - $Project name: Basic MMI - $Project code: BMI + $Project name: Basic MMI + $Project code: BMI $Module: SMS $File: mmiSatInfo.c - $Revision: 1.0 - - $Author: Condat(UK) - $Date: 25/10/00 - + $Revision: 1.0 + + $Author: Condat(UK) + $Date: 25/10/00 + ******************************************************************************** - + Description: - + Implementation of MMI SIM Application Toolkit (SAT) - + ******************************************************************************** $History: mmiSatInfo.c Nov 17, 2006 REF:DR:OMAPS00104580 x0039928 - Description: CT GCF - TC27.22.4.13.1 Seq 1.10 - PROACTIVE SIM COMMANDS: + Description: CT GCF - TC27.22.4.13.1 Seq 1.10 - PROACTIVE SIM COMMANDS: SET UP CALL (NORMAL) - Call Set-up Failed Solution: Removed the Redial flag enabling. @@ -38,9 +38,9 @@ Solution: In the function sat_call_setup_exec() copied the icon data in to display_info structure inorder to display on the call screen during SAT call setup. - 25/10/00 Original Condat(UK) BMI version. + 25/10/00 Original Condat(UK) BMI version. 21/02/03 removed all calls to function sat_add_unicode_tag_if_needed() - + $End *******************************************************************************/ @@ -141,13 +141,13 @@ $Function: sat_call_setup_create - $Description: Creation of an instance for the SAT CALL dialog.Window must be + $Description: Creation of an instance for the SAT CALL dialog.Window must be available after reception of SAT command only one instance. - $Returns: mfw window handler + $Returns: mfw window handler $Arguments: parent_window - Parent window handler - + *******************************************************************************/ T_MFW_HND sat_call_setup_create (T_MFW_HND parent_window) { @@ -185,7 +185,7 @@ $Returns: none $Arguments: own_window - Current window - + *******************************************************************************/ static void sat_call_setup_destroy (T_MFW_HND own_window) { @@ -224,21 +224,21 @@ event - window event value - unique id call_setup_parameter - call setup info - + *******************************************************************************/ static void sat_call_setup_exec (T_MFW_HND win, USHORT event, SHORT value, T_SAT_call_setup_parameter * call_setup_parameter) { - + T_MFW_WIN * win_data = ((T_MFW_HDR *)win)->data; T_sat_call_setup * data = (T_sat_call_setup *)win_data->user; - + T_DISPLAY_DATA display_info; - + TRACE_FUNCTION ("sat_call_setup_exec()"); if ((win EQ NULL) || (win_data EQ NULL) || (data EQ NULL)) return; - + switch (event) { case SAT_CALL_ALERT: @@ -249,27 +249,27 @@ data->call_setup_parameter = call_setup_parameter; /* SPR#1700 - DS - Modified so SAT will not display "Setup call?" if the first alpha id has been supplied by the SIM - */ - + */ + if (call_setup_parameter->TextString) /* Alpha id supplied by SIM */ - { + { /* 01-06-2006, x0045876 (OMAPS00070741) */ - dlg_initDisplayData_TextStr( &display_info, TxtAccept, TxtReject, call_setup_parameter->TextString, " ", COLOUR_STATUS); + dlg_initDisplayData_TextStr( &display_info, TxtAccept, TxtReject, call_setup_parameter->TextString, " ", COLOUR_STATUS); //x0035544 Feb 07, 2006 DR:OMAPS00061467 -#ifdef FF_MMI_SAT_ICON +#ifdef FF_MMI_SAT_ICON if(call_setup_parameter->IconInfo.dst != NULL) - { + { display_info.IconData.width = call_setup_parameter->IconInfo.width; - display_info.IconData.height = call_setup_parameter->IconInfo.height; + display_info.IconData.height = call_setup_parameter->IconInfo.height; display_info.IconData.dst = call_setup_parameter->IconInfo.dst; - display_info.IconData.selfExplanatory = call_setup_parameter->IconInfo.selfExplanatory; + display_info.IconData.selfExplanatory = call_setup_parameter->IconInfo.selfExplanatory; } #endif } - + else /* No alpha id supplied so show "Setup call?" */ - { + { //x0035544 Mar 14, 2006 DR:OMAPS00061467 //added missing '?' to the string "Setup call" as below /* 01-06-2006, x0045876 (OMAPS00070741) */ @@ -286,12 +286,12 @@ */ info_dialog (win, &display_info); break; - + case SAT_CALL_REDIAL: /* attempt a redial if the timer has not yet elapsed */ /* if redial is not commanded by SAT_CALL_ALERT the timer will be NULL (see sat_call_setup_cb()) */ /* if the timer has already elapsed it is set to NULL (see sat_call_setup_tim_cb()) */ - + TRACE_EVENT("sat_call_setup_exec(): SAT_CALL_REDIAL"); if ((data->redial_tim NEQ NULL) || (call_setup_parameter->redialTime EQ FOREVER)) @@ -309,7 +309,7 @@ break; case SAT_CALL_END: - + TRACE_EVENT("sat_call_setup_exec(): SAT_CALL_END"); /* Nov 17, 2006 REF:DR:OMAPS00104580 x0039928 @@ -337,7 +337,7 @@ $Arguments: win - current window identifier - unique id reason - window event id - + *******************************************************************************/ static void sat_call_setup_cb(T_MFW_HND win, UBYTE identifier, UBYTE reason) @@ -346,10 +346,10 @@ T_sat_call_setup * data = (T_sat_call_setup *)info_win_data->user; TRACE_FUNCTION("sat_call_setup_cb()"); - + if ((win EQ NULL) || (info_win_data EQ NULL) || (data EQ NULL)) return; - + switch (reason) { case INFO_KCD_LEFT: /* the user has accepted the call setup */ @@ -361,10 +361,10 @@ satAccept(); /* create and start the redial timer handler */ - if ((data->call_setup_parameter->redialTime NEQ 0) && + if ((data->call_setup_parameter->redialTime NEQ 0) && (data->call_setup_parameter->redialTime NEQ FOREVER)) { - data->redial_tim = + data->redial_tim = tim_create (win, data->call_setup_parameter->redialTime, (T_MFW_CB)sat_call_setup_tim_cb); tim_start (data->redial_tim); } @@ -372,7 +372,7 @@ { data->redial_tim = NULL; /* timer not used */ } - + /* destroying will be done in response to SAT_CALL_END */ SEND_EVENT(data->parent_win, SAT_CALL_END, 0, NULL); // Marcus: Issue 1812: 13/03/2003 break; @@ -397,7 +397,7 @@ $Arguments: event - window event tc - timer info - + *******************************************************************************/ static int sat_call_setup_tim_cb (T_MFW_EVENT event, T_MFW_TIM *tc) {