mms_menutable.h
资源名称:MMS.rar [点击查看]
上传用户:tqh2500
上传日期:2014-05-09
资源大小:163k
文件大小:6k
源码类别:
手机彩信(MMS)编程
开发平台:
Visual C++
- /*****************************************************************************
- ** File Name: MMS_menutable.h *
- ** Author: *
- ** Date: 1/11/2006 *
- ** Copyright: 2003 Spreatrum, Incoporated. All Rights Reserved. *
- ** Description: This file is used to describe mms *
- *****************************************************************************
- ** Important Edit History *
- ** --------------------------------------------------------------------------*
- ** DATE NAME DESCRIPTION *
- ** 1/2006 liang.liu@palmsource.com Create
- ******************************************************************************/
- #ifndef _MMS_MENUTABLE_H_
- #define _MMS_MENUTABLE_H_
- #include "mmimms_internal.h"
- #include "mmi_module.h"
- /**---------------------------------------------------------------------------*
- ** Compiler Flag *
- **---------------------------------------------------------------------------*/
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- /*-------------------------------------------------------------------------*/
- /* TYPES/CONSTANTS */
- /*-------------------------------------------------------------------------*/
- //菜单ID
- typedef enum
- {
- MMS_ID_MENU_START = (MMI_MODULE_MMS << 16),
- //begin MMS========
- ID_MMS_INBOX_ID,
- ID_MMS_SENTBOX_ID,
- ID_MMS_OUTBOX_ID,
- ID_MMS_DRAFTBOX_ID,
- ID_MMS_SETTING_ID,
- ID_MMS_EDIT_SEND,
- ID_MMS_EDIT_GROUP_SEND,
- ID_MMS_EDIT_EDIT_CONTENT,
- ID_MMS_EDIT_SAVE,
- ID_MMS_EDIT_SEND_AND_SAVE,
- ID_MMS_EDIT_PREVIEW,
- ID_MMS_EDIT_EDIT_SUBJECT,
- ID_MMS_EDIT_INSERT_MPEG4,
- ID_MMS_EDIT_INSERT_IMAGE,
- ID_MMS_EDIT_INSERT_MUSIC,
- ID_MMS_EDIT_INSERT_RING,
- ID_MMS_EDIT_INSERT_MP3,
- ID_MMS_EDIT_DEL_IMAGE,
- ID_MMS_EDIT_DEL_MUSIC,
- ID_MMS_EDIT_INSERT_SLIDE,
- ID_MMS_EDIT_DEL_CUR_SLIDE,
- ID_MMS_EDIT_SET_SLIDE_TIME,
- ID_MMS_EDIT_PREVIOUS_SLIDE,
- ID_MMS_EDIT_NEXT_SLIDE,
- ID_MMS_EDIT_CLOSE_SAVE,
- ID_MMS_EDIT_EXIT,
- /* fnh add 1024 begin*/
- ID_MMS_EDIT_SEND_ONTIME_DATE,
- ID_MMS_EDIT_SEND_ONTIME_TIME,
- /* fnh add 1024 end*/
- /* fnh add 0913 begin */
- ID_MMS_EDIT_INSERT_VIDEO,
- ID_MMS_EDIT_DEL_VIDEO,
- ID_MMS_EDIT_MMS_TO,
- ID_MMS_EDIT_MMS_CC,
- ID_MMS_EDIT_MMS_BCC,
- ID_MMS_EDIT_SEND_ONTIME,
- ID_MMS_EDIT_ADD_TO, //增
- ID_MMS_EDIT_ADD_GROUP, //add group fnh 0519
- ID_MMS_EDIT_DELETE_TO, //删
- ID_MMS_EDIT_MODIFY_TO, //改
- ID_MMS_EDIT_EDIT_TEXT, //编辑当前页的文本
- /* fnh add 0913 end*/
- ID_MMS_INSERT_DPIC,
- ID_MMS_INSERT_PHOTO,
- //5.1.1(2)MENU_MMS_SEND_TO
- ID_MMS_SEND_INPUT_NUMBER,
- ID_MMS_SEND_INPUT_EMAIL,
- //5.1.2(2)MENU_MMS_GROUP_SEND
- ID_MMS_GSEND_GROUP,
- ID_MMS_GSEND_USERDEFINED,
- //5.1.2.5(2)MENU_MMS_TO_EDIT_DEL
- ID_MMS_TO_EDIT,
- ID_MMS_TO_DEL,
- //liangliu add 2006-1-25 for mms memstate
- ID_MESSAGE_MEMSTATE_SMS,
- ID_MESSAGE_MEMSTATE_MMS,
- //add end
- //5.4.1C(10)MENU_MMS_INBOX_OPTION
- ID_MMS_INBOX_PLAY, //added by liangliu 2005-10-14 for spread inbox mms menu
- ID_MMS_INBOX_ANSWER_SMS,
- ID_MMS_INBOX_ANSWER_MMS,
- ID_MMS_INBOX_FORWARD,
- ID_MMS_INBOX_PICKOUT_NUMBER,
- ID_MMS_INBOX_SAVE_IMAGE,
- ID_MMS_INBOX_SAVE_SOUND,
- ID_MMS_INBOX_SAVE_VIDEO,//added by liangliu 2005-11-28
- ID_MMS_INBOX_ANSWER_PHONE,
- ID_MMS_INBOX_IPCALL,
- ID_MMS_INBOX_DEL,
- ID_MMS_INBOX_DEL_ALL,
- ID_MMS_INBOX_DOWNLOAD_MMS,
- ID_MMS_INBOX_DETAIL,
- //5.5.1C(5)MENU_MMS_SENTBOX_OPTION
- ID_MMS_SENTBOX_FORWARD,
- ID_MMS_SENTBOX_PLAY,//added by liangl 2005-10-15
- ID_MMS_SENTBOX_RESEND,
- ID_MMS_SENTBOX_EDIT,
- ID_MMS_SENTBOX_DEL,
- ID_MMS_SENTBOX_DEL_ALL,
- ID_MMS_SENTBOX_DETAIL,
- //5.6(4)MENU_MMS_OUTBOX_OPTION
- ID_MMS_OUTBOX_SEND,
- ID_MMS_OUTBOX_PLAY,//added vy liangl 2005-10-15
- ID_MMS_OUTBOX_EDIT,
- ID_MMS_OUTBOX_DEL,
- ID_MMS_OUTBOX_DEL_ALL,
- ID_MMS_OUTBOX_DETAIL,
- //5.7(4)MENU_MMS_DRAFTBOX_OPTION
- ID_MMS_DRAFTBOX_SEND,
- ID_MMS_DRAFTBOX_EDIT,
- ID_MMS_DRAFTBOX_DEL,
- ID_MMS_DRAFTBOX_DEL_ALL,
- //5.8(4)MENU_MMS_SETTING
- ID_MESSAGE_SETTING_SMS,
- ID_MMS_SETTING_NETWORK_SETTING,
- ID_MMS_SETTING_ARRIVE_REPORT,
- ID_MMS_SETTING_READ_REPORT,
- ID_MMS_SETTING_ANONYMITY,
- ID_MMS_SETTING_PRIORITY,
- ID_MMS_SETTING_AUTO_DOWNLOAD,
- ID_MMS_SETTING_SOUND,
- ID_MMS_SETTING_ADVERTISING,
- ID_MMS_SETTING_DEFAULT, //FNH ADD 0512 恢复默认设置
- ID_MMS_SETTING_SIGN,
- ID_MMS_SETTING_AUTO_SIGNATURE, //FNH ADD 0515 自动签名
- ID_MMS_SETTING_PERIOD,
- ID_MMS_SETTING_MMSC,
- ID_MMS_SETTING_GATEWAY,
- ID_MMS_SETTING_PORT,
- ID_MMS_SETTING_USERNAME,
- ID_MMS_SETTING_PASSWORD,
- ID_MMS_SETTING_APN,
- ID_MMS_SETTING_OPEN_SIGN,
- ID_MMS_SETTING_EDIT_SIGN,
- //end MMS=========
- MMS_ID_MENU_MAX
- }MMS_ID_MENU_E;
- #define MENU_DEF(_TABLEID, _ITEMPTR, _STYLE, _TITLESTR, _TITLE_ICON, _TITLE_NUMICON, _TITLE_BACKGROUND,
- _ITEMCOUNT)
- _TABLEID,
- typedef enum
- {
- MMS_MENU_LABEL_START = (MMI_MODULE_MMS << 16),
- #include "MMS_menutable.def"
- MMS_MENUTABLE_MAX
- } MMS_MENU_LABEL_E;
- #undef MENU_DEF
- //extern const GUI_MENU_GROUP_T mms_menu_table[];
- extern PUBLIC void MMS_RegMenuGroup(void);
- /**---------------------------------------------------------------------------*
- ** Compiler Flag *
- **---------------------------------------------------------------------------*/
- #ifdef __cplusplus
- }
- #endif
- /*-------------------------------------------------------------------------*/
- #endif /* MENUTABLE_H */