comparison src/ui/bmi/mmiTimers.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 6b5d787d9ade
comparison
equal deleted inserted replaced
91:c3d28a37caad 92:c0052fe355d3
202 dlg_initDisplayData_TextStr( &display_info, TxtSoftOK, TxtReset, timeString, NULL, COLOUR_STATUS_OKRESET); 202 dlg_initDisplayData_TextStr( &display_info, TxtSoftOK, TxtReset, timeString, NULL, COLOUR_STATUS_OKRESET);
203 dlg_initDisplayData_events( &display_info, (T_VOID_FUNC) timer_cb, SIX_SECS, KEY_CLEAR|KEY_LEFT|KEY_RIGHT ); 203 dlg_initDisplayData_events( &display_info, (T_VOID_FUNC) timer_cb, SIX_SECS, KEY_CLEAR|KEY_LEFT|KEY_RIGHT );
204 204
205 /* Call Info Screen 205 /* Call Info Screen
206 */ 206 */
207 207
208 info_dialog( parent, &display_info ); 208 info_dialog( parent, &display_info );
209 209
210 210
211 return MFW_EVENT_CONSUMED; 211 return MFW_EVENT_CONSUMED;
212 212
297 static int timer_cb(T_MFW_HND win, USHORT Identifier, USHORT Reason) 297 static int timer_cb(T_MFW_HND win, USHORT Identifier, USHORT Reason)
298 { 298 {
299 299
300 switch (Reason) 300 switch (Reason)
301 { 301 {
302 case INFO_KCD_LEFT: 302 case INFO_KCD_LEFT:
303 303
304 break; 304 break;
305 305
306 case INFO_KCD_RIGHT: 306 case INFO_KCD_RIGHT:
307 reset_timer_OK(win, timer_type); 307 reset_timer_OK(win, timer_type);
308 break; 308 break;
309 } 309 }
310 310
311 return MFW_EVENT_CONSUMED; 311 return MFW_EVENT_CONSUMED;
400 switch (Reason) 400 switch (Reason)
401 { 401 {
402 case INFO_KCD_LEFT: 402 case INFO_KCD_LEFT:
403 { 403 {
404 switch (Identifier) 404 switch (Identifier)
405 { 405 {
406 case LAST_CALL: 406 case LAST_CALL:
407 setLastCallDuration(0, MFW_CM_INV_DIR); 407 setLastCallDuration(0, MFW_CM_INV_DIR);
408 reset_timer(win); 408 reset_timer(win);
409 /*SPR 2142, removed window destruction*/ 409 /*SPR 2142, removed window destruction*/
410 break; 410 break;
411 case INCOMING_CALLS: 411 case INCOMING_CALLS:
412 resetIncomingCallsDuration(); 412 resetIncomingCallsDuration();
413 reset_timer(win); 413 reset_timer(win);
414 /*SPR 2142, removed window destruction*/ 414 /*SPR 2142, removed window destruction*/
415 break; 415 break;
416 case OUTGOING_CALLS: 416 case OUTGOING_CALLS:
417 resetOutgoingCallsDuration(); 417 resetOutgoingCallsDuration();
418 reset_timer(win); 418 reset_timer(win);
419 /*SPR 2142, removed window destruction*/ 419 /*SPR 2142, removed window destruction*/
420 break; 420 break;
421 } 421 }
422 } 422 }
423 break; 423 break;
424 424
425 case INFO_KCD_RIGHT: 425 case INFO_KCD_RIGHT:
426 { 426 {
427 /*SPR 2142, removed window destruction*/ 427 /*SPR 2142, removed window destruction*/
428 } 428 }
429 break; 429 break;
430 } 430 }
503 $Arguments: none 503 $Arguments: none
504 504
505 *******************************************************************************/ 505 *******************************************************************************/
506 unsigned long getLastCallDuration() 506 unsigned long getLastCallDuration()
507 { 507 {
508 508
509 return FFS_flashData.last_call_duration; /* x0039928 - Lint warning fix */ 509 return FFS_flashData.last_call_duration; /* x0039928 - Lint warning fix */
510 } 510 }
511 511
512 /******************************************************************************* 512 /*******************************************************************************
513 513
519 $Arguments: none 519 $Arguments: none
520 520
521 *******************************************************************************/ 521 *******************************************************************************/
522 unsigned long getIncomingCallsDuration() 522 unsigned long getIncomingCallsDuration()
523 { 523 {
524 524
525 return FFS_flashData.incoming_calls_duration; 525 return FFS_flashData.incoming_calls_duration;
526 } 526 }
527 527
528 /******************************************************************************* 528 /*******************************************************************************
529 529