FreeCalypso > hg > fc-tourmaline
diff src/ui/bmi/mmiBlkManager.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 | 1c4536a30e32 |
line wrap: on
line diff
--- a/src/ui/bmi/mmiBlkManager.c Sun Nov 08 05:12:05 2020 +0000 +++ b/src/ui/bmi/mmiBlkManager.c Sun Nov 08 06:39:16 2020 +0000 @@ -2,33 +2,33 @@ 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: MmiBlkManager.c - $Revision: 1.0 - - $Author: Condat(UK) - $Date: 25/10/00 - + $Revision: 1.0 + + $Author: Condat(UK) + $Date: 25/10/00 + ******************************************************************************** - + Description: This module, in conjunction with the MmiBlkResources module, provides the access to block resources for the MMI. - + The block manager is responsible for creating and initialising the structures and tables to allow access to the strings, icons sounds and vibrations required by the MMI. - + Each of these items is effectively a contiguous block of memory, which is accessed via a block resource. Each of the block resources are provided by this package @@ -37,17 +37,17 @@ $History: MmiBlkManager.c - 25/10/00 Original Condat(UK) BMI version. - + 25/10/00 Original Condat(UK) BMI version. + $End *******************************************************************************/ /******************************************************************************* - + Include Files - + *******************************************************************************/ #define ENTITY_MFW @@ -79,9 +79,9 @@ /******************************************************************************* - + Local structures and definitions - + *******************************************************************************/ /* Define a type for the manager control block, this contains @@ -103,15 +103,15 @@ long int BlkKey; tBlkHandle BaseAddress; int BlkLength; - tBlkHandle RsrcList[BLOCK_MANAGER_ENTRY_COUNT]; + tBlkHandle RsrcList[BLOCK_MANAGER_ENTRY_COUNT]; pManagerEntry EntryPtr; } tManagerControl, *pManagerControl; /******************************************************************************* - + Local routines - + *******************************************************************************/ /******************************************************************************* @@ -123,7 +123,7 @@ $Returns: Zero if failure, non-zero if valid resource $Arguments: ManagerRsrc, handle of resource manager - + *******************************************************************************/ static int ValidManagerResource( tBlkHandle ManagerRsrc ) @@ -138,9 +138,9 @@ /******************************************************************************* - + Public routines - + *******************************************************************************/ @@ -148,14 +148,14 @@ $Function: mmibm_Initialise - $Description: Initialise a block manager object + $Description: Initialise a block manager object $Returns: Handle of block manager object, NULL if failure $Arguments: BlkBase, base address of the block manager data NumEntries, number of entries to be dealt with by the block manager - + *******************************************************************************/ tBlkHandle mmibm_Initialise( tBlkHandle BlkBase, int NumEntries ) @@ -183,7 +183,7 @@ */ for ( i = 0; i < NumEntries; i++ ) if ( ( Entry = MyControl->EntryPtr[i].Id ) < BLOCK_MANAGER_ENTRY_COUNT ) - MyControl->RsrcList[ Entry ] = mmibr_Initialise( + MyControl->RsrcList[ Entry ] = mmibr_Initialise( MyControl->EntryPtr[i].EntryBase, MyControl->EntryPtr[i].NumEntries ); } @@ -200,7 +200,7 @@ $Returns: none. $Arguments: *BlkHandle, pointer to resource manager handle - + *******************************************************************************/ void mmibm_ShutDown( tBlkHandle *BlkHandle ) @@ -230,7 +230,7 @@ $Function: mmibm_SupplyResourceHandler - $Description: + $Description: Since this module will be managing each of the block handlers for each of the resources, we need to be able to supply the @@ -241,7 +241,7 @@ $Arguments: ManagerHandle, handle of the block manager Id, identifier of the resource table for which the resource handler is required - + *******************************************************************************/ tBlkHandle mmibm_SupplyResourceHandler( tBlkHandle ManagerHandle, tBlkId Id ) @@ -265,8 +265,8 @@ /******************************************************************************* - + End of File - + *******************************************************************************/