📄 heehtk.ho
字号:
/******************************************************************************/
/* SCCS: %Z% Name: %M% Date US: %G% %U% Ver.: %I% */
/******************************************************************************/
/*F(***************************************************************************
* File name : dir.hp
* Project : ROAD RUNNER 1.5
* Module : MMI
* Date : (US) %G% %U%
* Version : %I%
* Compiler name and release(s) :
*----------------------------------------------------------------------------*
*----------------------------------------------------------------------------*
* DESCRIPTION
*
*----------------------------------------------------------------------------*
*----------------------------------------------------------------------------*
* FUNCTIONS DEFINED IN THIS FILE
*----------------------------------------------------------------------------*
* Name | Object
*----------------------------------------------------------------------------*
*
*----------------------------------------------------------------------------*
*----------------------------------------------------------------------------*
* EVOLUTION
*----------------------------------------------------------------------------*
* date | Author | Arnb | Description
*----------------------------------------------------------------------------*
* 04/97 | J. Drapp | XXXXX | creation
*----------------------------------------------------------------------------*
* 14/05/97 | J. Drapp | XXXXX | replace HK_CF_NO_REPLY by HK_CF_NO_REPLY_ALL
*----------------------------------------------------------------------------*
* 04/09/01 | P. Lauden | | Replace __unix with UNIX.
***************************************************************************)F*/
/* #*/
#ifndef HEEHTK_HO
#define HEEHTK_HO
#define HEE_HOTKEY_SECTION_NAME "HOTKEYS"
MC_HEE_SECTION_LOADED_IN_RAM_IMAGE
#define HEE_EEPROM_HOTKEY_VERSION 0x09
#define HEE_NB_HOTKEYNUMBER 9
#define HEE_EEPROM_HOTKEY_SIZE sizeof(t_hee_HotKeyParam)
/* Hot key function as they are stored in eeprom */
/* DO NOT CHANGE THIS ORDER */
#define HK_EMPTY 0x00
#define HK_VOICE_DIAL 0x01
#define HK_FLASH_DIAL 0x02
#define HK_READ_NEW 0x03
#define HK_SEND_MSG 0x04
#define HK_CF_DIVERT_ALL_ALL 0x05
#define HK_CF_DIVERT_ALL_VOICE 0x06
#define HK_CF_DIVERT_ALL_FAX 0x07
#define HK_CF_DIVERT_ALL_DATA 0x08
#define HK_CF_BUSY_ALL 0x09
#define HK_CF_BUSY_VOICE 0x0A
#define HK_CF_BUSY_FAX 0x0B
#define HK_CF_BUSY_DATA 0x0C
#define HK_CF_NO_REPLY_ALL 0x0D
#define HK_CF_NO_REPLY_VOICE 0x0E
#define HK_CF_NO_REPLY_FAX 0x0F
#define HK_CF_NO_REPLY_DATA 0x10
#define HK_CF_NO_REACHABLE_ALL 0x11
#define HK_CF_NO_REACHABLE_VOICE 0x12
#define HK_CF_NO_REACHABLE_FAX 0x13
#define HK_CF_NO_REACHABLE_DATA 0x14
#define HK_CF_CANCEL_ALL 0x15
#define HK_CF_CANCEL_VOICE 0x16
#define HK_CF_CANCEL_FAX 0x17
#define HK_CF_CANCEL_DATA 0x18
#define HK_CF_STATUS_DIVERT 0x19
#define HK_CF_STATUS_BUSY 0x1A
#define HK_CF_STATUS_NO_REPLY 0x1B
#define HK_CF_STATUS_NO_REACHABLE 0x1C
#define HK_CB_OUT_ALL_ALL 0x1D
#define HK_CB_OUT_ALL_VOICE 0x1E
#define HK_CB_OUT_ALL_FAX 0x1F
#define HK_CB_OUT_ALL_DATA 0x20
#define HK_CB_OUT_INT_ALL 0x21
#define HK_CB_OUT_INT_VOICE 0x22
#define HK_CB_OUT_INT_FAX 0x23
#define HK_CB_OUT_INT_DATA 0x24
#define HK_CB_OUT_INT_HOME_ALL 0x25
#define HK_CB_OUT_INT_HOME_VOICE 0x26
#define HK_CB_OUT_INT_HOME_FAX 0x27
#define HK_CB_OUT_INT_HOME_DATA 0x28
#define HK_CB_OUT_CANCEL_ALL 0x29
#define HK_CB_OUT_CANCEL_VOICE 0x2A
#define HK_CB_OUT_CANCEL_FAX 0x2B
#define HK_CB_OUT_CANCEL_DATA 0x2C
#define HK_CB_INC_ALL_ALL 0x2D
#define HK_CB_INC_ALL_VOICE 0x2E
#define HK_CB_INC_ALL_FAX 0x2F
#define HK_CB_INC_ALL_DATA 0x30
#define HK_CB_INC_ROAM_ALL 0x31
#define HK_CB_INC_ROAM_VOICE 0x32
#define HK_CB_INC_ROAM_FAX 0x33
#define HK_CB_INC_ROAM_DATA 0x34
#define HK_CB_INC_CANCEL_ALL 0x35
#define HK_CB_INC_CANCEL_VOICE 0x36
#define HK_CB_INC_CANCEL_FAX 0x37
#define HK_CB_INC_CANCEL_DATA 0x38
#define HK_CB_CANCEL_ALL 0x39
#define HK_CB_CANCEL_VOICE 0x3A
#define HK_CB_CANCEL_FAX 0x3B
#define HK_CB_CANCEL_DATA 0x3C
#define HK_CB_STATUS_OUT_ALL 0x3D
#define HK_CB_STATUS_OUT_ROAM 0x3E
#define HK_CB_STATUS_OUT_HOME 0x3F
#define HK_CB_STATUS_IN_ALL 0x40
#define HK_CB_STATUS_IN_ROAM 0x41
#define HK_SHOW_CURRENT 0x42
#define HK_DIARY 0x43
#define HK_TO_DO 0x44
/* File record */
#define HK_FILE_ADN 0x00 /* cf dir.hc */
#define HK_FILE_ADN_WITH_SPEECH 0x01 /* cf dir.hc */
#define HK_FILE_FDN 0x02 /* cf dir.hc */
#define HK_FILE_FDN_WITH_SPEECH 0x03 /* cf dir.hc */
#define HK_FILE_NONUMBER 0x04
#define HK_FILE_SMS 0x05
#define HK_FILE_MBOX 0x06
#define HK_FILE_EEPROM 0x07
/* Lock */
#define HK_KEY_LOCKED 0x01
#define HEE_NB_HTKTABLE 12
#define HEE_NB_HTKIMSINB 8
#define HEE_NB_QUICKTABLE 12
/*******************************************************************************************/
MC_HEE_BEGIN_PACKED_TYPE( t_hee_HotKeysBitfield )
MC_HEE_NORMAL_FIELD( u16 , s_hee_HotKeysBitfield )
MC_HEE_GAP( v_GAP_HotKeysBitfield , 2 )
MC_HEE_END_PACKED_TYPE( t_hee_HotKeysBitfield )
/*******************************************************************************************/
MC_HEE_BEGIN_PACKED_TYPE( t_hee_UCS2Bitfield )
MC_HEE_NORMAL_FIELD( u16 , v_hee_UCS2Bitfield )
MC_HEE_GAP( v_GAP_UCS2Bitfield , 2 )
MC_HEE_END_PACKED_TYPE( t_hee_UCS2Bitfield )
/*******************************************************************************************/
MC_HEE_SECTION_TYPE_BEGIN( t_hee_HotKeyParam )
MC_HEE_NORMAL_FIELD( t_hee_SectionHeader , s_hee_HotKeysSectionHeader )
MC_HEE_NORMAL_FIELD( t_hee_HotKeysBitfield , s_hee_HotKeysBitfield )
MC_HEE_FIELD_BLOCK( t_hee_UCS2Bitfield , s_hee_UCS2Bitfield , HEE_HOTKEY_UCS2 )
MC_PCC_ARRAY( u8 , a_hee_HotKeysTable , HEE_NB_HTKTABLE )
MC_HEE_FIELD_ARRAY( u8 , a_hee_HotKeysIMSINumber , HEE_NB_HTKIMSINB , HEE_HOTKEY_IMSINUMBER )
MC_HEE_FIELD_ARRAY( u32 , a_hee_QuickDialTable , HEE_NB_QUICKTABLE , HEE_HOTKEY_QUICKDIALTABLE )
MC_HEE_SECTION_TYPE_END( t_hee_HotKeyParam )
/*******************************************************************************************/
#if !defined(HEE0PRO_C)
#define GLOBAL extern
#else
#define GLOBAL
#endif /* HEE0PRO_C*/
/*******************************************************************************************/
#ifdef UNIX
#pragma align 4 (s_hee_HotKeyParam, s_hee_DefaultHotKeyParam)
#endif
/*******************************************************************************************/
GLOBAL MC_HEE_SECTION_VAR( t_hee_HotKeyParam , s_hee_HotKeyParam , HEE_HOTKEY_SECTION );
/*******************************************************************************************/
GLOBAL const MC_HEE_SECTION_CONST( t_hee_HotKeyParam , s_hee_DefaultHotKeyParam )
#if defined(HEE0PRO_C)
={
/* s_hee_HotKeysSectionHeader */
{
/*v_hee_CheckSum*/
HEE_EEPROM_CHECKSUM,
/*v_hee_Version*/
HEE_EEPROM_HOTKEY_VERSION,
/* v_hee_SectionSize */
HEE_EEPROM_HOTKEY_SIZE ,
/*v_hee_Signature*/
HEE_EEPROM_SIGNATURE
},
/* t_hee_HotKeysBitfield s_hee_HotKeysBitfield */
{0x0003,{0x00, 0x00}},
/* t_hee_UCS2Bitfield s_hee_UCS2Bitfield */
{0x0000,{0x00, 0x00}},
/* u8 a_hee_HotKeysTable[HEE_NB_HTKTABLE]; */
0x0C,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
/* a_hee_HotKeysIMSINumber[HEE_NB_HTKIMSINB] */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
/* a_hee_QuickDialTable[HEE_NB_QUICKTABLE] */
0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000
}
#endif /* HEE0PRO_C */
;
/*******************************************************************************************/
#undef GLOBAL
/*******************************************************************************************/
#endif /* HEEHTK_HO */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -