view src/ui/bmi/mmiTimers.h @ 3:67bfe9f274f6

src/ui: import of src/ui3 from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:33:10 +0000
parents
children c0052fe355d3
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