FreeCalypso > hg > fc-tourmaline
diff src/ui/bmi/mmiSounds.h @ 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 | 03375c220570 |
line wrap: on
line diff
--- a/src/ui/bmi/mmiSounds.h Sun Nov 08 05:12:05 2020 +0000 +++ b/src/ui/bmi/mmiSounds.h Sun Nov 08 06:39:16 2020 +0000 @@ -5,30 +5,30 @@ 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: Sounds $File: MmiSounds.h - $Revision: 1.0 - - $Author: Condat(UK) - $Date: 25/10/00 - + $Revision: 1.0 + + $Author: Condat(UK) + $Date: 25/10/00 + ******************************************************************************** - + Description: This provides the implementation of the sounds for the basic MMI - + 1. Playing various system sounds such as the paging ring, - new sms message etc. + new sms message etc. 2. The menus used to enable or disable the system sounds 3. The menu used to select the paging ring tone 4. The menu used to select the volume. @@ -40,15 +40,15 @@ The MelodySelect and SettingXXXX messages are used to control the key events during menu handling, entry to the sounds menus is through the soundsXXXX - functions. These display the appropriate menu and handle the keypad events. + functions. These display the appropriate menu and handle the keypad events. The settings are read from PCM on startup and saved whenever a setting menu is selected. - + ******************************************************************************** $History: MmiSounds.h - 25/10/00 Original Condat(UK) BMI version. + 25/10/00 Original Condat(UK) BMI version. Nov 04, 2005 REF:DRT OMAPS00053737 xdeepadh Description: MIDI Ringer Linear Flash Support. @@ -60,25 +60,25 @@ Nov 29, 2004 REF: CRR 25051 xkundadu Description: INCALL SCREEN – ADJUSTING THE VOLUME - Fix: Added volume level list linked to up/down keys. - User can select the speaker volume among those levels. - + Fix: Added volume level list linked to up/down keys. + User can select the speaker volume among those levels. + Dec 23, 2005 REF: SR13878 x0020906 Description: Set Default ring tone value. - Fix : Added a function setDefaultSound () + Fix : Added a function setDefaultSound () $End *******************************************************************************/ -#include "MmiLists.h" +#include "MmiLists.h" -#ifdef FF_MIDI_RINGER +#ifdef FF_MIDI_RINGER #include "general.h" #endif /******************************************************************************* - + Basic definitions - + *******************************************************************************/ /* Redefine the alloc and free memory routines for use in the sounds @@ -153,19 +153,19 @@ ListMenuData * menu_list_data; } T_MELODY_INFO; -#ifdef FF_MIDI_RINGER -typedef struct +#ifdef FF_MIDI_RINGER +typedef struct { const char* melody_name; const void* melody; - UINT32 melody_size; + UINT32 melody_size; } T_MELODY; #endif /******************************************************************************* - + Public Methods - + *******************************************************************************/ void soundInit( MfwHnd parent ); @@ -222,7 +222,7 @@ void SetVolumeLevel5(void); /* Apr 05, 2005 REF: ENH 29994 xdeepadh */ -#ifdef FF_MIDI_RINGER +#ifdef FF_MIDI_RINGER int sounds_midi_return_file_number(void); char* sounds_midi_return_file_name(UBYTE index); /*a0393213 warnings removal-sounds_midi_return_memory_location function prototype put under FF_MIDI_LOAD_FROM_MEM flag*/ @@ -245,7 +245,7 @@ /* x0045876, 14-Aug-2006 (WR - function declared implicitly) */ #else int resource_GetListCount(res_ResourceID_type res); - + #endif /* Store into structure from FFS - RAVI - 23-12-2005 */ @@ -257,9 +257,9 @@ UBYTE getcurrentAlarmTone(void); /******************************************************************************* - + End of File - + *******************************************************************************/ #endif //_MMI_SOUNDS_H_