📄 mmitimers.h
字号:
#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;
typedef enum
{
INVALID,
OUTGOING,
INCOMING
} directions;
typedef struct _tTimerData_
{
/* administrative data */
T_MMI_CONTROL mmi_control;
T_MFW_HND win;
T_MFW_HND parent_win;
/* associated handlers */
T_MFW_HND kbd;
T_MFW_HND kbd_long;
T_MFW_HND menu;
T_MFW_HND menu_tim;
UBYTE status_of_timer; /* use for the keypadlock */
/* internal data */
UBYTE timer_type;
} tTimerData;
void setLastCallDuration(long call_time, UBYTE 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -