FreeCalypso > hg > fc-tourmaline
view src/ui/bmi/mmiTimers.h @ 214:adfdbcd360fd
backlight evolution: API between Condat driver and MFW
With this change, the API between the Condat backlight driver
and its user in MFW now carries more abstract backlight state codes
(fully off, fully on, in call, charging boot mode) instead of
0-255 levels. This change is needed in order to more properly support
different hardware targets with different capabilities and approaches
in terms of backlight handling.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 23 Apr 2021 23:52:02 +0000 |
parents | 62480f597962 |
children |
line wrap: on
line source
#ifndef _DEF_MMI_TIMERS_H_ #define _DEF_MMI_TIMERS_H_ /******************************************************************************* 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. ******************************************************************************** $Project name: Basic MMI $Project code: BMI (6349) $Module: MMI $File: MmiTimers.h $Revision: 1.0 $Author: Condat(UK) $Date: 25/10/00 ******************************************************************************** Description: This handles the storage of call times. ******************************************************************************** $History: MmiTimers.h $End *******************************************************************************/ #include "mmiBookShared.h" typedef enum { LAST_CALL, OUTGOING_CALLS, INCOMING_CALLS } timer_types; /*SPR 2142 removed timer window data structure*/ void setLastCallDuration(long call_time, T_MFW_CM_CALL_DIR call_direction); int timerLastCall(MfwMnu* m, MfwMnuItem* i); int timerIncomingCalls(MfwMnu* m, MfwMnuItem* i); int timerOutgoingCalls(MfwMnu* m, MfwMnuItem* i); void resetIncomingCallsDuration( void ); void resetOutgoingCallsDuration( void ); #endif