mms_id.h
资源名称:MMSCodes.rar [点击查看]
上传用户:fuyouda
上传日期:2021-12-23
资源大小:164k
文件大小:13k
源码类别:
手机彩信(MMS)编程
开发平台:
C/C++
- /*****************************************************************************
- ** File Name: MMS_id.h *
- ** Author: *
- ** Date: 1/11/2006 *
- ** Copyright: 2003 Spreatrum, Incoporated. All Rights Reserved. *
- ** Description: This file is used for mms *
- *****************************************************************************
- ** Important Edit History *
- ** --------------------------------------------------------------------------*
- ** DATE NAME DESCRIPTION *
- ** 1/2006 liang.liu@palmsource.com Create
- ******************************************************************************/
- #ifndef _MMS_ID_H_
- #define _MMS_ID_H_
- /**--------------------------------------------------------------------------*
- ** Include Files *
- **--------------------------------------------------------------------------*/
- #include "sci_types.h"
- #include "os_api.h"
- #include "mmk_type.h"
- #include "mmi_module.h"
- /**--------------------------------------------------------------------------*
- ** Compiler Flag *
- **--------------------------------------------------------------------------*/
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- /**--------------------------------------------------------------------------*
- ** MACRO DEFINITION *
- **--------------------------------------------------------------------------*/
- /**--------------------------------------------------------------------------*
- ** TYPE AND CONSTANT *
- **--------------------------------------------------------------------------*/
- // window ID
- // 命名规则: 模块名 + 窗口名 + WIN_ID , eg: CC_DIALING_WIN_ID (CC部分呼叫窗口ID)
- typedef enum
- {
- MMS_WIN_ID_START = (MMI_MODULE_MMS << 16),
- //fnh add begin
- MMIMMS_SENDNUMOPTION_WIN_ID,
- MMIMMS_EDITNUM_WIN_ID, //编辑发送人号码窗口ID
- MMIMMS_TO_OPTION_WIN_ID, //收件人选项窗口ID
- MMIMMS_EDIT_CONTENT_MENU_WIN_ID, //编辑内容窗口ID
- MMIMMS_EDIT_DISPLAY_WIN_ID, //显示彩信内容窗口ID
- MMIMMS_EDIT_TEXT_WIN_ID, //编辑彩信内容文本的窗口ID
- //fnh add end
- /*fnh add 1025 begin*/
- MMIMMS_EDIT_SET_SEND_DATE_WIN_ID, //设置发送日期
- MMIMMS_EDIT_SET_SEND_TIME_WIN_ID, //设置发送时间
- MMIMMS_SEND_WIN_ID, //发送彩信窗口
- /*fnh add 1025 end*/
- // MMIMMS_SEND_MMS_WAITING_WIN_ID,
- MMIMMS_SAVE_IMAGE_LIST_WIN_ID, //fnh add 保存图象窗口控件ID
- MMIMMS_SAVE_MUSIC_LIST_WIN_ID, //fnh add 保存音乐窗口控件ID
- MMIMMS_SAVE_VIDEO_LIST_WIN_ID, //fnh add 保存视频窗口控件ID
- MMIMMS_DOWNLOAD_VIDEO_NAME_WIN_ID, //fnh add 保存视频时改变名字的窗口ID
- MMIMMS_DOWNLOAD_MP3_NAME_WIN_ID, //fnh add 保存MP3时改变名字的窗口ID
- // MMIMSG_MAIN_MENU_WIN_ID, //信息主菜单
- MMIMMS_MAIN_MENU_WIN_ID, //liangliu added 2006-3-10 for having sms menu.
- MMIMSG_INBOX_MENU_WIN_ID,
- //5.1A
- MMIMMS_EDIT_MENU_WIN_ID, //5.1B
- MMIMMS_EDIT_PREVIEW_WIN_ID, //5.1.5
- MMIMMS_EDIT_PREVIEW_WAITING_WIN_ID,
- MMIMMS_EDIT_SUBJECT_WIN_ID, //5.1.6
- MMIMMS_EDIT_IMAGE_LIST_WIN_ID, //5.1.7.2
- MMIMMS_EDIT_IMAGE_PREVIEW_WIN_ID, //5.1.7.3
- MMIMMS_EDIT_MUSIC_LIST_WIN_ID, //5.1.7.2
- MMIMMS_EDIT_SLIDE_TIME_WIN_ID, //5.1.13
- MMIMMS_EDIT_SAVE_WAITING_WIN_ID,
- MMIMMS_EDIT_DEL_RESULT_ALERT_WIN_ID,
- MMIMMS_NEW_MMSNOTI_ALERT_WIN_ID,
- MMIMMS_SEND_TO_MENU_WIN_ID, //5.1.1
- MMIMMS_SEND_NUM_EDIT_WIN_ID, //5.1.1.2
- MMIMMS_SEND_EMAIL_EDIT_WIN_ID, //5.1.1.3
- MMIMMS_SEND_PB_LIST_WIN_ID, //5.1.1.4
- MMIMMS_SEND_SENDING_WIN_ID, //5.1.1.6
- MMIMMS_SEND_CANCEL_QUERY_WIN_ID,
- MMIMMS_SEND_RESULT_ALERT_WIN_ID, //5.1.1.8
- MMIMMS_SAVE_RESULT_ALERT_WIN_ID, //5.1.3.2
- MMIMMS_GSEND_GROUP_LIST_WIN_ID, //5.1.2.7
- MMIMMS_GSEND_TO_LIST_WIN_ID, //5.1.2.1
- MMIMMS_GSEND_BCC_LIST_WIN_ID,
- MMIMMS_GSEND_CC_LIST_WIN_ID,
- MMIMMS_GSEND_TONUM_EDIT_WIN_ID, //5.1.2.2A
- MMIMMS_GSEND_TOEMAIL_EDIT_WIN_ID, //5.1.2.2B
- MMIMMS_GSEND_PB_LIST_WIN_ID, //5.1.1.4
- MMIMMS_GSEND_EDIT_DEL_MENU_WIN_ID, //5.1.2.5
- MMIMMS_MMSSPACE_LIST_WIN_ID,
- MMIMMS_INBOX_LIST_WIN_ID, //5.4.1A
- MMIMMS_INBOX_PREVIEW_WIN_ID, //5.4.1B
- MMIMMS_INBOX_PREVIEWMMS_WAITING_WIN_ID,
- MMIMMS_INBOX_PREVIEWNTF_WAITING_WIN_ID,
- MMIMMS_INBOX_MMSNOTI_PREVIEW_WIN_ID,//5.4.1B preview mms notification
- MMIMMS_INBOX_MMSOPT_MENU_WIN_ID, //5.4.1C
- MMIMMS_INBOX_MMSNOTIOPT_MENU_WIN_ID, //5.4.1C
- MMIMMS_INBOX_SAVEIMG_LIST_WIN_ID, //5.4.2.2
- MMIMMS_INBOX_IMAGE_PREVIEW_WIN_ID,
- MMIMMS_INBOX_SAVEMUSIC_LIST_WIN_ID,
- MMIMMS_INBOX_PICKOUT_NUM_LIST_WIN_ID,
- MMIMMS_INBOX_DETAIL_WIN_ID,
- MMIMMS_DOWNLOAD_DOWNLOADING_WIN_ID, //5.4.4.2
- MMIMMS_MMS_NOTIFY_WIN_ID,//added by liangliu 2005-11-25 for mms notify win
- MMIMMS_SEND_MMS_WAITING_WIN_ID,//added by liangliu 2005-11-3 for sendwin
- MMIMMS_SEND_MMSREADRPT_WAITING_WIN_ID,
- MMIMMS_NORMAL_WAITING_WIN_ID,//added liangliu 2005-11-16
- MMIMMS_READ_MMS_WAITING_WIN_ID,//added liangliu 2005-11-18
- MMIMMS_SAVE_MMS_WAITING_WIN_ID,//added liangliu 2005-11-18
- MMIMMS_SAVE_AUTO_SIGN_WAITING_WIN_ID, //FNH ADD 20060517
- MMIMMS_SEND_NOTIFRESPONSE_WAITING_WIN_ID,
- MMIMMS_SEND_ACK_WAITING_WIN_ID,
- MMIMMS_SENTBOX_LIST_WIN_ID, //5.5.1A
- MMIMMS_SENTBOX_PREVIEW_WIN_ID, //5.5.1B
- MMIMMS_SENTBOX_OPT_MENU_WIN_ID, //5.5.1C
- MMIMMS_SENTBOX_DETAIL_WIN_ID,
- MMIMMS_OUTBOX_LIST_WIN_ID,
- MMIMMS_OUTBOX_PREVIEW_WIN_ID,
- MMIMMS_OUTBOX_OPT_MENU_WIN_ID,
- MMIMMS_OUTBOX_DETAIL_WIN_ID,
- MMIMMS_DRAFTBOX_LIST_WIN_ID,
- MMIMMS_DRAFTBOX_PREVIEW_WIN_ID,
- MMIMMS_DRAFTBOX_OPT_MENU_WIN_ID,
- MMIMMS_SETTING_MENU_WIN_ID, //5.8
- MMIMMS_SETTING_AUTO_DOWNLOAD_LIST_WIN_ID, //5.8.1
- MMIMMS_SETTING_ARRIVE_REPORT_LIST_WIN,//liangliu added 2005-11-15
- MMIMMS_SETTING_READ_REPORT_LIST_WIN,//liangliu added 2005-11-15
- MMIMMS_SETTING_ANONYMITY_LIST_WIN,//liangliu added 2005-11-15
- MMIMMS_SETTING_SOUND_LIST_WIN,//liangliu added 2005-11-15
- MMIMMS_SETTING_ADVERTISING_LIST_WIN,//liangliu added 2005-11-15
- MMIMMS_SETTING_PRIORITY_LIST_WIN_ID, //5.8.2
- MMIMMS_SETTING_VALIDATE_PERIOD_LIST_WIN_ID, //5.8.3
- MMIMMS_SETTING_MMSC_WIN_ID, //5.8.5
- MMIMMS_SETTING_GATEWAY_WIN_ID,
- MMIMMS_SETTING_PORT_WIN_ID,
- MMIMMS_SETTING_USERNAME_WIN_ID,
- MMIMMS_SETTING_PASSWORD_WIN_ID,
- MMIMMS_SETTING_APN_WIN_ID,
- MMIMMS_SETTING_OPEN_SIGN_LIST_WIN, //FNH ADD 0516
- MMIMMS_SETTING_EDIT_SIGN_WIN, //FNH ADD 0516
- MMIMMS_SETTING_NETWORK_WIN_ID,
- MMIMMS_SETTING_SIGN_WIN_ID,
- MMIMMS_MEMORY_STATE_WIN_ID, //5.10
- MMS_MAX_WIN_ID
- }MMS_WINDOW_ID_E;
- // control ID
- // 命名规则: 控件所属的窗口名 + 控件名 + CTRL_ID, eg: IDLEWIN_TEXTBOX_CTRL_ID (IDLE窗口下text控件ID)
- typedef enum
- {
- MMS_CTRL_ID_ID_START = (MMI_MODULE_MMS << 16),
- //fnh add begin
- MMIMMS_SENDNUMOPTION_LISTCTRL_ID,
- MMIMMS_INPUTNUM_EDITBOX_CTRL_ID,
- MMIMMS_TO_OPTION_MENU_ID,
- MMIMMS_EDIT_CONTENT_MENU_CTRL_ID, //编辑内容的窗口菜单ID
- MMIMMS_EDIT_CONTENT_LABEL1_CTRL_ID, //显示彩信内容窗口中显示当前SLIDE数的ID
- MMIMMS_EDIT_CONTENT_LABEL2_CTRL_ID, //显示彩信内容窗口中显示当前SLIDE文本的ID
- MMIMMS_EDIT_TEXT_CTRL_ID, //编辑彩信内容文本窗口的控件ID
- MMIMMS_EDIT_IMAGE_CONTENT_CTRL_ID, //彩信内容中图象控件ID
- MMIMMS_EDIT_TEXT_CONTENT_CTRL_ID, //彩信内容中文本控件ID
- MMIMMS_EDIT_LABEL_CONTENT_CTRL_ID, //彩信内容中标题控件ID
- //fnh add end
- /*fnh add 1025 begin*/
- MMIMMS_SET_SEND_DATE_CTRL_ID,
- MMIMMS_SET_SEND_TIME_CTRL_ID,
- /*fnh add 1025 end*/
- MMIMMS_SAVE_IMAGE_LIST_CTRL_ID, //FNH ADD 保存图象窗口控件ID
- MMIMMS_SAVE_MUSIC_LIST_CTRL_ID, //FNH ADD 保存音乐窗口控件ID
- MMIMMS_SAVE_VIDEO_LIST_CTRL_ID, //FNH ADD 保存视频窗口控件ID
- MMIMMS_DOWNLOAD_VIDEO_NAME_EDITBOX_CTRL_ID, //FNH ADD 保存视频时改变视频名字的控件ID
- MMIMMS_DOWNLOAD_MP3_NAME_EDITBOX_CTRL_ID, //FNH ADD 保存MP3时改变MP3名字的控件ID
- MMIMMS_MAIN_MENU_CTRL_ID, //信息主菜单//liangliu added 2006-3-10 for having sms menu.
- MMIMMS_EDIT_CTRL_ID, //5.1A
- MMIMMS_EDIT_LABEL_CTRL_ID, //5.1A
- MMIMMS_EDIT_MENU_CTRL_ID, //5.1B
- //EDIT SIGN MMS START
- MMIMMS_EDITSIGN_CTRL_ID,
- MMIMMS_EDITSIGN_LABEL_CTRL_ID,
- MMIMMS_EDITSIGN_VIDEO_CTRL_ID,
- MMIMMS_EDITSIGN_PIC_CTRL_ID,
- MMIMMS_EDITSIGN_RING_CTRL_ID,
- //EDIT SIGN MMS END
- //MMIMMS_EDIT_PREVIEW_CTRL_ID, //5.1.5
- MMIMMS_EDIT_SUBJECT_CTRL_ID, //5.1.6
- MMIMMS_EDIT_IMAGE_LIST_CTRL_ID, //5.1.7.2
- MMIMMS_EDIT_MUSIC_LIST_CTRL_ID, //5.1.7.2
- MMIMMS_EDIT_SLIDE_TIME_CTRL_ID, //5.1.13
- MMIMMS_EDIT_IMAGE_PREVIEW_CTRL_ID, //5.1.7.3
- MMIMMS_EDIT_TEXT_PREVIEW_CTRL_ID,
- MMIMMS_EDIT_DEL_RESULT_ALERT_CTRL_ID,
- MMIMMS_NEW_MMSNOTI_ALERT_CTRL_ID,
- MMIMMS_MSGBOX_PREVIEW_IMAGE_ID,
- MMIMMS_MSGBOX_PREVIEW_TEXT_ID,
- MMIMMS_EDIT_PREVIEW_SLIDE_LABEL_CTRL_ID,
- MMIMMS_EDIT_PREVIEW_SIZE_LABEL_CTRL_ID,
- MMIMMS_MAILBOX_PREVIEW_LABEL_CTRL_ID,
- MMIMMS_EDIT_PREVIEW_LABEL_CTRL_ID,
- MMIMMS_INBOX_MMSNOTI_PREVIEW_TEXT_ID,
- MMIMMS_SEND_TONUM_MENU_CTRL_ID, //5.1.1
- MMIMMS_SEND_NUM_EDIT_CTRL_ID, //5.1.1.2
- MMIMMS_SEND_EMAIL_EDIT_CTRL_ID, //5.1.1.3
- MMIMMS_SEND_PB_LIST_CTRL_ID, //5.1.1.4
- MMIMMS_SEND_SENDING_MMS_ANIM_CTRL_ID, //5.1.1.6
- MMIMMS_SEND_SENDING_NTFRESPONSE_ANIM_CTRL_ID, //5.1.1.6
- MMIMMS_SEND_SENDING_ACK_ANIM_CTRL_ID, //5.1.1.6
- MMIMMS_DOWNLOAD_DOWNLOADING_ANIM_CTRL_ID, //5.1.1.6
- MMIMMS_SEND_SENDING_MMS_TEXT_CTRL_ID, //5.1.1.6
- MMIMMS_SEND_SENDING_NTFRESPONSE_TEXT_CTRL_ID, //5.1.1.6
- MMIMMS_SEND_SENDING_ACK_TEXT_CTRL_ID, //5.1.1.6
- MMIMMS_DOWNLOAD_DOWNLOADING_TEXT_CTRL_ID, //5.1.1.6
- MMIMMS_SEND_SEND_RESULT_ALERT_CTRL_ID, //5.1.1.8
- MMIMMS_SEND_SAVE_RESULT_ALERT_CTRL_ID, //5.1.3.2
- MMIMMS_GSEND_GROUP_LIST_CTRL_ID, //5.1.2.7
- MMIMMS_GSEND_TO_LIST_CTRL_ID, //5.1.2.1
- MMIMMS_GSEND_BCC_LIST_CTRL_ID,
- MMIMMS_GSEND_CC_LIST_CTRL_ID,
- MMIMMS_GSEND_TONUM_EDIT_CTRL_ID, //5.1.2.2A
- MMIMMS_GSEND_TOEMAIL_EDIT_CTRL_ID, //5.1.2.2B
- MMIMMS_GSEND_PB_LIST_CTRL_ID, //5.1.1.4
- MMIMMS_GSEND_TO_EIDT_DEL_MENU_CTRL_ID,
- MMIMMS_MMSSPACE_TEXTBOX_CTRL_ID,
- MMIMMS_INBOX_LIST_CTRL_ID, //5.4.1A
- //MMIMMS_INBOX_PREVIEW_CTRL_ID, //5.4.1B
- MMIMMS_INBOX_MMSOPT_MENU_CTRL_ID, //5.4.1C
- MMIMMS_INBOX_MMSNOTIOPT_MENU_CTRL_ID, //5.4.1C
- MMIMMS_INBOX_SAVEIMG_LIST_CTRL_ID, //5.4.2.2
- MMIMMS_INBOX_IMAGE_PREVIEW_CTRL_ID,
- MMIMMS_INBOX_SAVEMUSIC_LIST_CTRL_ID,
- MMIMMS_INBOX_PICKOUT_NUM_LIST_CTRL_ID,
- //MMIMMS_DOWNLOAD_DOWNLOADING_CTRL_ID, //5.4.4.2
- MMIMMS_SENTBOX_LIST_CTRL_ID, //5.5.1A
- //MMIMMS_SENTBOX_PREVIEW_CTRL_ID, //5.5.1B
- MMIMMS_SENTBOX_OPT_MENU_CTRL_ID, //5.5.1C
- MMIMMS_OUTBOX_LIST_CTRL_ID,
- //MMIMMS_ OUTBOX _PREVIEW_CTRL_ID,
- MMIMMS_OUTBOX_OPT_MENU_CTRL_ID,
- MMIMMS_DRAFTBOX_LIST_CTRL_ID,
- //MMIMMS_ DRAFTBOX _PREVIEW_CTRL_ID,
- MMIMMS_DRAFTBOX_OPT_MENU_CTRL_ID,
- MMIMMS_SETTING_MENU_CTRL_ID, //5.8
- MMIMMS_SETTING_AUTO_DOWNLOAD_LIST_CTRL_ID, //5.8.1
- MMIMMS_SETTING_ARRIVE_REPORT_LIST_CTRL_ID, //5.8.1
- MMIMMS_SETTING_READ_REPORT_LIST_CTRL_ID,//liangliu added 2005-11-16
- MMIMMS_SETTING_ANONYMITY_LIST_CTRL_ID,//liangliu added 2005-11-16
- MMIMMS_SETTING_SOUND_LIST_CTRL_ID,//liangliu added 2005-11-16
- MMIMMS_SETTING_ADVERTISING_LIST_CTRL_ID,//liangliu added 2005-11-16
- MMIMMS_SETTING_PRIORITY_LIST_CTRL_ID, //5.8.2
- MMIMMS_SETTING_VALIDATE_PERIOD_LIST_CTRL_ID, //5.8.3
- MMIMMS_SETTING_MMSC_CTRL_ID, //5.8.5
- MMIMMS_SETTING_GATEWAY_CTRL_ID,
- MMIMMS_SETTING_PORT_CTRL_ID,
- MMIMMS_SETTING_USERNAME_CTRL_ID,
- MMIMMS_SETTING_PASSWORD_CTRL_ID,
- MMIMMS_SETTING_APN_CTRL_ID,
- MMIMMS_SETTING_OPEN_SIGN_LIST_CTRL_ID, //FNH ADD 0516
- MMIMMS_EDIT_SIGN_IMAGE_CTRL_ID, //FNH ADD 0516
- MMIMMS_EDIT_SIGN_TEXT_CTRL_ID, //FNH ADD 0516
- MMIMMS_SETTING_NETWORK_CTRL_ID,
- MMIMMS_SETTING_SIGN_CTRL_ID,
- MMIMMS_MEMORY_STATE_CTRL_ID, //5.10
- MMIMMS_MEMORY_STATE_LABEL1_CTRL_ID, //4 lines text
- MMIMMS_MEMORY_STATE_LABEL2_CTRL_ID,
- MMIMMS_MEMORY_STATE_LABEL3_CTRL_ID,
- MMIMMS_MEMORY_STATE_LABEL4_CTRL_ID,
- MMIMMS_DETAIL_LABEL1_CTRL_ID, //5.4.7
- MMIMMS_DETAIL_LABEL2_CTRL_ID,
- MMIMMS_DETAIL_LABEL3_CTRL_ID,
- MMIMMS_DETAIL_LABEL4_CTRL_ID,
- MMIMMS_DETAIL_LABEL5_CTRL_ID,
- MMIMMS_DETAIL_TEXTBOX_CTRL_ID, //liangliu added 2005-10-25 for mms show
- MMS_MAX_CTRL_ID
- }MMS_CONTROL_ID_E;
- /**--------------------------------------------------------------------------*
- ** FUNCTION DEFINITION *
- **--------------------------------------------------------------------------*/
- /**--------------------------------------------------------------------------*
- ** Compiler Flag *
- **--------------------------------------------------------------------------*/
- #ifdef __cplusplus
- }
- #endif
- #endif