FreeCalypso > hg > fc-tourmaline
diff src/ui/bmi/mmiBookDetailsWindow.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 | ec9f955fc487 |
line wrap: on
line diff
--- a/src/ui/bmi/mmiBookDetailsWindow.c Sun Nov 08 05:12:05 2020 +0000 +++ b/src/ui/bmi/mmiBookDetailsWindow.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 (6349) + $Project name: Basic MMI + $Project code: BMI (6349) $Module: PhoneBook $File: MmiBookDetailsWindow.h - $Revision: 1.0 - - $Author: Condat(UK) - $Date: 25/10/00 - + $Revision: 1.0 + + $Author: Condat(UK) + $Date: 25/10/00 + ******************************************************************************** - + Description: Provides the details handlig for the phone book - - + + ******************************************************************************** $History: MmiBookDetailsWindow.h - 25/10/00 Original Condat(UK) BMI version. - + 25/10/00 Original Condat(UK) BMI version. + $End *******************************************************************************/ @@ -38,9 +38,9 @@ /******************************************************************************* - + Include Files - + *******************************************************************************/ #define ENTITY_MFW @@ -127,9 +127,9 @@ /******************************************************************************* - + Private Methods - + *******************************************************************************/ @@ -139,14 +139,14 @@ $Description: Dialog function for the details window, doesn't currently do anything - + $Returns: None $Arguments: win, window handle event, event to be handled value, not used parameter, not used - + *******************************************************************************/ static void bookDetailsDialog ( T_MFW_HND win, USHORT event, SHORT value, void *parameter ) @@ -164,7 +164,7 @@ entry = &data->phbk->current.entry[ data->phbk->current.selectedName ]; /*SPR 2175, no need to do any GSM->ASCII conversions, removed conversion code*/ - + numberText.dcs = ATB_DCS_ASCII; numberText.data = entry->number; @@ -172,7 +172,7 @@ if ( entry->name.data[0] ==0x80) { - + /* UNICODE */ TRACE_EVENT("***UNICODE OUTPUT***"); nameText.dcs = ATB_DCS_UNICODE; @@ -209,18 +209,18 @@ $Function: bookDetailsWindowCB $Description: Window event handler - + $Returns: MFW_EVENT_CONSUMED for the window visible event, MFW_EVENT_PASSED otherwise $Arguments: e, event, w, window handle - + *******************************************************************************/ static int bookDetailsWindowCB ( MfwEvt e, MfwWin *w ) { tBookStandard *data = (tBookStandard *)w->user; - + /* x0045876, 14-Aug-2006 (WR - "ptr" was declared but never referenced) */ #ifndef NEW_EDITOR T_MFW_PHB_ENTRY *ptr; // dat; @@ -239,13 +239,13 @@ /* SPR#1428 - SH - New Editor: display editor here rather than filling up the information. Do that in * dialog function above. */ - + #ifdef NEW_EDITOR ATB_edit_Show(data->editor); resources_setTitleColour(COLOUR_EDITOR); /* TITLE */ - + dspl_Clear(0,0, SCREEN_SIZE_X-1, data->editor->attr->win_size.py-1); PROMPT(0,0,0,TxtDetails); #else /* NEW_EDITOR */ @@ -274,8 +274,8 @@ sprintf( data->edtBuf,"%s%s%s", (char *) ptr->name.data, "\n", (char *) ptr->number); edtShow(data->edt); - } -#else /* NO_ASCIIZ */ + } +#else /* NO_ASCIIZ */ { sprintf( data->edtBuf,"%s%s%s", (char *) ptr->name, "\n", (char *) ptr->number); edtShow(data->edt); @@ -305,11 +305,11 @@ $Function: bookDetailsKbdCB $Description: Keyboard handler - + $Returns: MFW_EVENT_CONSUMED always $Arguments: e, event, k, key handle - + *******************************************************************************/ static int bookDetailsKbdCB ( MfwEvt e, MfwKbd *k ) @@ -380,11 +380,11 @@ $Function: bookDetailsKbdLongCB $Description: Keyboard Long Press event handler - + $Returns: MFW_EVENT_CONSUMED always $Arguments: e, event, k, keyboard handle - + *******************************************************************************/ static int bookDetailsKbdLongCB( MfwEvt e, MfwKbd *k ) @@ -409,11 +409,11 @@ $Function: bookDetailsCreate $Description: create an instance of the details window - + $Returns: handle of newly created window, or NULL if we fail to create $Arguments: parent, handle of parent window - + *******************************************************************************/ static T_MFW_HND bookDetailsCreate(MfwHnd parent) @@ -455,7 +455,7 @@ /* 1945 MZ Initialise the edtBuf */ memset(data->edtBuf,'\0', STANDARD_EDITOR_SIZE ); - + /* SPR#1428 - SH - New Editor changes */ #ifdef NEW_EDITOR AUI_edit_SetAttr( &data->editor_attr, BOOKDETAILS_EDITOR, COLOUR_EDITOR_XX, EDITOR_FONT, ED_MODE_READONLY, ED_CURSOR_NONE, ATB_DCS_UNICODE/*SPR1752*/, (UBYTE *)data->edtBuf, STANDARD_EDITOR_SIZE); @@ -483,9 +483,9 @@ /******************************************************************************* - + Public Methods - + *******************************************************************************/ @@ -494,12 +494,12 @@ $Function: bookDetailsStart $Description: Start routine for the phonebook details window - + $Returns: None, assigns the window handle to the name_details_win hook in the current phone book $Arguments: m, menu, i, menu item - + *******************************************************************************/ void bookDetailsStart( MfwMnu* m, MfwMnuItem* i ) @@ -521,11 +521,11 @@ $Function: bookDetailsDestroy $Description: Destroy the phone book details window - + $Returns: None $Arguments: window, handle of window to close - + *******************************************************************************/ void bookDetailsDestroy( MfwHnd window ) @@ -558,7 +558,7 @@ /******************************************************************************* - + End of File - + *******************************************************************************/