mms_id.h
上传用户:amanda_214
上传日期:2014-04-26
资源大小:163k
文件大小:13k
开发平台:

C/C++

  1. /*****************************************************************************
  2. ** File Name:      MMS_id.h                                                   *
  3. ** Author:                                                                   *
  4. ** Date:           1/11/2006                                                *
  5. ** Copyright:      2003 Spreatrum, Incoporated. All Rights Reserved.         *
  6. ** Description:    This file is used for mms                *
  7. *****************************************************************************
  8. **                         Important Edit History                            *
  9. ** --------------------------------------------------------------------------*
  10. ** DATE           NAME             DESCRIPTION                               *
  11. ** 1/2006       liang.liu@palmsource.com    Create
  12. ******************************************************************************/
  13. #ifndef _MMS_ID_H_
  14. #define _MMS_ID_H_ 
  15. /**--------------------------------------------------------------------------*
  16.  **                         Include Files                                    *
  17.  **--------------------------------------------------------------------------*/
  18. #include "sci_types.h"
  19. #include "os_api.h"
  20. #include "mmk_type.h"
  21. #include "mmi_module.h"
  22. /**--------------------------------------------------------------------------*
  23.  **                         Compiler Flag                                    *
  24.  **--------------------------------------------------------------------------*/
  25. #ifdef __cplusplus
  26.     extern   "C"
  27.     {
  28. #endif
  29. /**--------------------------------------------------------------------------*
  30.  **                         MACRO DEFINITION                                 *
  31.  **--------------------------------------------------------------------------*/
  32. /**--------------------------------------------------------------------------*
  33.  **                         TYPE AND CONSTANT                                *
  34.  **--------------------------------------------------------------------------*/
  35. // window ID
  36. // 命名规则: 模块名 + 窗口名 + WIN_ID  ,  eg: CC_DIALING_WIN_ID (CC部分呼叫窗口ID)
  37. typedef enum
  38. {
  39.         MMS_WIN_ID_START = (MMI_MODULE_MMS << 16),
  40. //fnh add begin
  41. MMIMMS_SENDNUMOPTION_WIN_ID,
  42. MMIMMS_EDITNUM_WIN_ID, //编辑发送人号码窗口ID
  43. MMIMMS_TO_OPTION_WIN_ID, //收件人选项窗口ID
  44. MMIMMS_EDIT_CONTENT_MENU_WIN_ID, //编辑内容窗口ID
  45. MMIMMS_EDIT_DISPLAY_WIN_ID, //显示彩信内容窗口ID
  46. MMIMMS_EDIT_TEXT_WIN_ID, //编辑彩信内容文本的窗口ID
  47. //fnh add end
  48. /*fnh add 1025 begin*/
  49. MMIMMS_EDIT_SET_SEND_DATE_WIN_ID, //设置发送日期
  50. MMIMMS_EDIT_SET_SEND_TIME_WIN_ID, //设置发送时间
  51. MMIMMS_SEND_WIN_ID, //发送彩信窗口
  52. /*fnh add 1025 end*/
  53. // MMIMMS_SEND_MMS_WAITING_WIN_ID,
  54. MMIMMS_SAVE_IMAGE_LIST_WIN_ID, //fnh add 保存图象窗口控件ID
  55. MMIMMS_SAVE_MUSIC_LIST_WIN_ID, //fnh add 保存音乐窗口控件ID
  56. MMIMMS_SAVE_VIDEO_LIST_WIN_ID, //fnh add 保存视频窗口控件ID
  57. MMIMMS_DOWNLOAD_VIDEO_NAME_WIN_ID, //fnh add 保存视频时改变名字的窗口ID
  58. MMIMMS_DOWNLOAD_MP3_NAME_WIN_ID, //fnh add 保存MP3时改变名字的窗口ID
  59. // MMIMSG_MAIN_MENU_WIN_ID, //信息主菜单
  60.        MMIMMS_MAIN_MENU_WIN_ID,                //liangliu added 2006-3-10 for having sms menu.
  61. MMIMSG_INBOX_MENU_WIN_ID,
  62. //5.1A
  63. MMIMMS_EDIT_MENU_WIN_ID, //5.1B
  64. MMIMMS_EDIT_PREVIEW_WIN_ID, //5.1.5
  65. MMIMMS_EDIT_PREVIEW_WAITING_WIN_ID,
  66. MMIMMS_EDIT_SUBJECT_WIN_ID, //5.1.6
  67. MMIMMS_EDIT_IMAGE_LIST_WIN_ID, //5.1.7.2
  68. MMIMMS_EDIT_IMAGE_PREVIEW_WIN_ID, //5.1.7.3
  69. MMIMMS_EDIT_MUSIC_LIST_WIN_ID, //5.1.7.2
  70. MMIMMS_EDIT_SLIDE_TIME_WIN_ID, //5.1.13
  71. MMIMMS_EDIT_SAVE_WAITING_WIN_ID,
  72. MMIMMS_EDIT_DEL_RESULT_ALERT_WIN_ID,
  73. MMIMMS_NEW_MMSNOTI_ALERT_WIN_ID,
  74. MMIMMS_SEND_TO_MENU_WIN_ID, //5.1.1
  75. MMIMMS_SEND_NUM_EDIT_WIN_ID, //5.1.1.2
  76. MMIMMS_SEND_EMAIL_EDIT_WIN_ID, //5.1.1.3
  77. MMIMMS_SEND_PB_LIST_WIN_ID, //5.1.1.4
  78. MMIMMS_SEND_SENDING_WIN_ID, //5.1.1.6
  79. MMIMMS_SEND_CANCEL_QUERY_WIN_ID,
  80. MMIMMS_SEND_RESULT_ALERT_WIN_ID, //5.1.1.8
  81. MMIMMS_SAVE_RESULT_ALERT_WIN_ID, //5.1.3.2
  82. MMIMMS_GSEND_GROUP_LIST_WIN_ID, //5.1.2.7
  83. MMIMMS_GSEND_TO_LIST_WIN_ID, //5.1.2.1
  84. MMIMMS_GSEND_BCC_LIST_WIN_ID,
  85. MMIMMS_GSEND_CC_LIST_WIN_ID,
  86. MMIMMS_GSEND_TONUM_EDIT_WIN_ID, //5.1.2.2A
  87. MMIMMS_GSEND_TOEMAIL_EDIT_WIN_ID, //5.1.2.2B
  88. MMIMMS_GSEND_PB_LIST_WIN_ID, //5.1.1.4
  89. MMIMMS_GSEND_EDIT_DEL_MENU_WIN_ID, //5.1.2.5
  90. MMIMMS_MMSSPACE_LIST_WIN_ID,
  91. MMIMMS_INBOX_LIST_WIN_ID, //5.4.1A
  92. MMIMMS_INBOX_PREVIEW_WIN_ID, //5.4.1B
  93. MMIMMS_INBOX_PREVIEWMMS_WAITING_WIN_ID,
  94. MMIMMS_INBOX_PREVIEWNTF_WAITING_WIN_ID,
  95. MMIMMS_INBOX_MMSNOTI_PREVIEW_WIN_ID,//5.4.1B preview mms notification
  96. MMIMMS_INBOX_MMSOPT_MENU_WIN_ID, //5.4.1C
  97. MMIMMS_INBOX_MMSNOTIOPT_MENU_WIN_ID, //5.4.1C
  98. MMIMMS_INBOX_SAVEIMG_LIST_WIN_ID, //5.4.2.2
  99. MMIMMS_INBOX_IMAGE_PREVIEW_WIN_ID,
  100. MMIMMS_INBOX_SAVEMUSIC_LIST_WIN_ID,
  101. MMIMMS_INBOX_PICKOUT_NUM_LIST_WIN_ID,
  102. MMIMMS_INBOX_DETAIL_WIN_ID,
  103. MMIMMS_DOWNLOAD_DOWNLOADING_WIN_ID, //5.4.4.2
  104. MMIMMS_MMS_NOTIFY_WIN_ID,//added by liangliu 2005-11-25 for mms notify win 
  105. MMIMMS_SEND_MMS_WAITING_WIN_ID,//added by liangliu 2005-11-3 for sendwin
  106. MMIMMS_SEND_MMSREADRPT_WAITING_WIN_ID,
  107. MMIMMS_NORMAL_WAITING_WIN_ID,//added liangliu 2005-11-16 
  108.        MMIMMS_READ_MMS_WAITING_WIN_ID,//added liangliu 2005-11-18 
  109.         MMIMMS_SAVE_MMS_WAITING_WIN_ID,//added liangliu 2005-11-18 
  110. MMIMMS_SAVE_AUTO_SIGN_WAITING_WIN_ID, //FNH ADD 20060517
  111. MMIMMS_SEND_NOTIFRESPONSE_WAITING_WIN_ID,
  112. MMIMMS_SEND_ACK_WAITING_WIN_ID,
  113. MMIMMS_SENTBOX_LIST_WIN_ID, //5.5.1A
  114. MMIMMS_SENTBOX_PREVIEW_WIN_ID, //5.5.1B
  115. MMIMMS_SENTBOX_OPT_MENU_WIN_ID, //5.5.1C
  116. MMIMMS_SENTBOX_DETAIL_WIN_ID,
  117. MMIMMS_OUTBOX_LIST_WIN_ID,
  118. MMIMMS_OUTBOX_PREVIEW_WIN_ID,
  119. MMIMMS_OUTBOX_OPT_MENU_WIN_ID,
  120. MMIMMS_OUTBOX_DETAIL_WIN_ID,
  121. MMIMMS_DRAFTBOX_LIST_WIN_ID,
  122. MMIMMS_DRAFTBOX_PREVIEW_WIN_ID,
  123. MMIMMS_DRAFTBOX_OPT_MENU_WIN_ID,
  124. MMIMMS_SETTING_MENU_WIN_ID, //5.8
  125. MMIMMS_SETTING_AUTO_DOWNLOAD_LIST_WIN_ID, //5.8.1
  126. MMIMMS_SETTING_ARRIVE_REPORT_LIST_WIN,//liangliu added 2005-11-15
  127. MMIMMS_SETTING_READ_REPORT_LIST_WIN,//liangliu added 2005-11-15
  128. MMIMMS_SETTING_ANONYMITY_LIST_WIN,//liangliu added 2005-11-15
  129. MMIMMS_SETTING_SOUND_LIST_WIN,//liangliu added 2005-11-15
  130. MMIMMS_SETTING_ADVERTISING_LIST_WIN,//liangliu added 2005-11-15
  131. MMIMMS_SETTING_PRIORITY_LIST_WIN_ID, //5.8.2
  132. MMIMMS_SETTING_VALIDATE_PERIOD_LIST_WIN_ID, //5.8.3
  133. MMIMMS_SETTING_MMSC_WIN_ID, //5.8.5
  134. MMIMMS_SETTING_GATEWAY_WIN_ID,
  135. MMIMMS_SETTING_PORT_WIN_ID,
  136. MMIMMS_SETTING_USERNAME_WIN_ID,
  137. MMIMMS_SETTING_PASSWORD_WIN_ID,
  138. MMIMMS_SETTING_APN_WIN_ID,
  139. MMIMMS_SETTING_OPEN_SIGN_LIST_WIN, //FNH ADD 0516
  140. MMIMMS_SETTING_EDIT_SIGN_WIN, //FNH ADD 0516
  141. MMIMMS_SETTING_NETWORK_WIN_ID,
  142. MMIMMS_SETTING_SIGN_WIN_ID,
  143. MMIMMS_MEMORY_STATE_WIN_ID, //5.10
  144.         MMS_MAX_WIN_ID
  145. }MMS_WINDOW_ID_E;
  146. // control ID
  147. // 命名规则: 控件所属的窗口名 + 控件名 + CTRL_ID, eg: IDLEWIN_TEXTBOX_CTRL_ID (IDLE窗口下text控件ID)
  148. typedef enum
  149. {
  150.     MMS_CTRL_ID_ID_START = (MMI_MODULE_MMS << 16),
  151.    //fnh add begin
  152. MMIMMS_SENDNUMOPTION_LISTCTRL_ID,
  153. MMIMMS_INPUTNUM_EDITBOX_CTRL_ID,
  154. MMIMMS_TO_OPTION_MENU_ID,
  155. MMIMMS_EDIT_CONTENT_MENU_CTRL_ID, //编辑内容的窗口菜单ID
  156. MMIMMS_EDIT_CONTENT_LABEL1_CTRL_ID, //显示彩信内容窗口中显示当前SLIDE数的ID
  157. MMIMMS_EDIT_CONTENT_LABEL2_CTRL_ID, //显示彩信内容窗口中显示当前SLIDE文本的ID
  158. MMIMMS_EDIT_TEXT_CTRL_ID, //编辑彩信内容文本窗口的控件ID
  159. MMIMMS_EDIT_IMAGE_CONTENT_CTRL_ID, //彩信内容中图象控件ID
  160. MMIMMS_EDIT_TEXT_CONTENT_CTRL_ID, //彩信内容中文本控件ID
  161. MMIMMS_EDIT_LABEL_CONTENT_CTRL_ID, //彩信内容中标题控件ID
  162. //fnh add end
  163. /*fnh add 1025 begin*/
  164. MMIMMS_SET_SEND_DATE_CTRL_ID,
  165. MMIMMS_SET_SEND_TIME_CTRL_ID,
  166. /*fnh add 1025 end*/
  167. MMIMMS_SAVE_IMAGE_LIST_CTRL_ID, //FNH ADD 保存图象窗口控件ID
  168. MMIMMS_SAVE_MUSIC_LIST_CTRL_ID, //FNH ADD   保存音乐窗口控件ID
  169. MMIMMS_SAVE_VIDEO_LIST_CTRL_ID, //FNH ADD 保存视频窗口控件ID
  170. MMIMMS_DOWNLOAD_VIDEO_NAME_EDITBOX_CTRL_ID, //FNH ADD 保存视频时改变视频名字的控件ID
  171. MMIMMS_DOWNLOAD_MP3_NAME_EDITBOX_CTRL_ID, //FNH ADD 保存MP3时改变MP3名字的控件ID
  172. MMIMMS_MAIN_MENU_CTRL_ID, //信息主菜单//liangliu added 2006-3-10 for having sms menu.
  173. MMIMMS_EDIT_CTRL_ID, //5.1A
  174. MMIMMS_EDIT_LABEL_CTRL_ID, //5.1A
  175. MMIMMS_EDIT_MENU_CTRL_ID, //5.1B
  176. //EDIT SIGN MMS START
  177. MMIMMS_EDITSIGN_CTRL_ID,
  178. MMIMMS_EDITSIGN_LABEL_CTRL_ID,
  179. MMIMMS_EDITSIGN_VIDEO_CTRL_ID,
  180. MMIMMS_EDITSIGN_PIC_CTRL_ID,
  181. MMIMMS_EDITSIGN_RING_CTRL_ID,
  182. //EDIT SIGN MMS END
  183. //MMIMMS_EDIT_PREVIEW_CTRL_ID, //5.1.5
  184. MMIMMS_EDIT_SUBJECT_CTRL_ID, //5.1.6
  185. MMIMMS_EDIT_IMAGE_LIST_CTRL_ID, //5.1.7.2
  186. MMIMMS_EDIT_MUSIC_LIST_CTRL_ID, //5.1.7.2
  187. MMIMMS_EDIT_SLIDE_TIME_CTRL_ID, //5.1.13
  188. MMIMMS_EDIT_IMAGE_PREVIEW_CTRL_ID, //5.1.7.3
  189. MMIMMS_EDIT_TEXT_PREVIEW_CTRL_ID,
  190. MMIMMS_EDIT_DEL_RESULT_ALERT_CTRL_ID,
  191. MMIMMS_NEW_MMSNOTI_ALERT_CTRL_ID,
  192. MMIMMS_MSGBOX_PREVIEW_IMAGE_ID,
  193. MMIMMS_MSGBOX_PREVIEW_TEXT_ID,
  194.        MMIMMS_EDIT_PREVIEW_SLIDE_LABEL_CTRL_ID,
  195. MMIMMS_EDIT_PREVIEW_SIZE_LABEL_CTRL_ID,
  196. MMIMMS_MAILBOX_PREVIEW_LABEL_CTRL_ID,
  197. MMIMMS_EDIT_PREVIEW_LABEL_CTRL_ID,
  198. MMIMMS_INBOX_MMSNOTI_PREVIEW_TEXT_ID,
  199. MMIMMS_SEND_TONUM_MENU_CTRL_ID, //5.1.1
  200. MMIMMS_SEND_NUM_EDIT_CTRL_ID, //5.1.1.2
  201. MMIMMS_SEND_EMAIL_EDIT_CTRL_ID, //5.1.1.3
  202. MMIMMS_SEND_PB_LIST_CTRL_ID, //5.1.1.4
  203. MMIMMS_SEND_SENDING_MMS_ANIM_CTRL_ID, //5.1.1.6
  204. MMIMMS_SEND_SENDING_NTFRESPONSE_ANIM_CTRL_ID, //5.1.1.6
  205. MMIMMS_SEND_SENDING_ACK_ANIM_CTRL_ID, //5.1.1.6
  206. MMIMMS_DOWNLOAD_DOWNLOADING_ANIM_CTRL_ID, //5.1.1.6
  207. MMIMMS_SEND_SENDING_MMS_TEXT_CTRL_ID, //5.1.1.6
  208. MMIMMS_SEND_SENDING_NTFRESPONSE_TEXT_CTRL_ID, //5.1.1.6
  209. MMIMMS_SEND_SENDING_ACK_TEXT_CTRL_ID, //5.1.1.6
  210. MMIMMS_DOWNLOAD_DOWNLOADING_TEXT_CTRL_ID, //5.1.1.6
  211. MMIMMS_SEND_SEND_RESULT_ALERT_CTRL_ID, //5.1.1.8
  212. MMIMMS_SEND_SAVE_RESULT_ALERT_CTRL_ID, //5.1.3.2
  213. MMIMMS_GSEND_GROUP_LIST_CTRL_ID, //5.1.2.7
  214. MMIMMS_GSEND_TO_LIST_CTRL_ID, //5.1.2.1
  215. MMIMMS_GSEND_BCC_LIST_CTRL_ID,
  216. MMIMMS_GSEND_CC_LIST_CTRL_ID,
  217. MMIMMS_GSEND_TONUM_EDIT_CTRL_ID, //5.1.2.2A
  218. MMIMMS_GSEND_TOEMAIL_EDIT_CTRL_ID, //5.1.2.2B
  219. MMIMMS_GSEND_PB_LIST_CTRL_ID, //5.1.1.4
  220. MMIMMS_GSEND_TO_EIDT_DEL_MENU_CTRL_ID,
  221. MMIMMS_MMSSPACE_TEXTBOX_CTRL_ID,
  222. MMIMMS_INBOX_LIST_CTRL_ID, //5.4.1A
  223. //MMIMMS_INBOX_PREVIEW_CTRL_ID, //5.4.1B
  224. MMIMMS_INBOX_MMSOPT_MENU_CTRL_ID, //5.4.1C
  225. MMIMMS_INBOX_MMSNOTIOPT_MENU_CTRL_ID, //5.4.1C
  226. MMIMMS_INBOX_SAVEIMG_LIST_CTRL_ID, //5.4.2.2
  227. MMIMMS_INBOX_IMAGE_PREVIEW_CTRL_ID,
  228. MMIMMS_INBOX_SAVEMUSIC_LIST_CTRL_ID,
  229. MMIMMS_INBOX_PICKOUT_NUM_LIST_CTRL_ID,
  230. //MMIMMS_DOWNLOAD_DOWNLOADING_CTRL_ID, //5.4.4.2
  231. MMIMMS_SENTBOX_LIST_CTRL_ID, //5.5.1A
  232. //MMIMMS_SENTBOX_PREVIEW_CTRL_ID, //5.5.1B
  233. MMIMMS_SENTBOX_OPT_MENU_CTRL_ID, //5.5.1C
  234. MMIMMS_OUTBOX_LIST_CTRL_ID,
  235. //MMIMMS_ OUTBOX _PREVIEW_CTRL_ID,
  236. MMIMMS_OUTBOX_OPT_MENU_CTRL_ID,
  237. MMIMMS_DRAFTBOX_LIST_CTRL_ID,
  238. //MMIMMS_ DRAFTBOX _PREVIEW_CTRL_ID,
  239. MMIMMS_DRAFTBOX_OPT_MENU_CTRL_ID,
  240. MMIMMS_SETTING_MENU_CTRL_ID, //5.8
  241. MMIMMS_SETTING_AUTO_DOWNLOAD_LIST_CTRL_ID, //5.8.1
  242. MMIMMS_SETTING_ARRIVE_REPORT_LIST_CTRL_ID, //5.8.1
  243. MMIMMS_SETTING_READ_REPORT_LIST_CTRL_ID,//liangliu added 2005-11-16
  244. MMIMMS_SETTING_ANONYMITY_LIST_CTRL_ID,//liangliu added 2005-11-16
  245. MMIMMS_SETTING_SOUND_LIST_CTRL_ID,//liangliu added 2005-11-16
  246. MMIMMS_SETTING_ADVERTISING_LIST_CTRL_ID,//liangliu added 2005-11-16
  247. MMIMMS_SETTING_PRIORITY_LIST_CTRL_ID, //5.8.2
  248. MMIMMS_SETTING_VALIDATE_PERIOD_LIST_CTRL_ID, //5.8.3
  249. MMIMMS_SETTING_MMSC_CTRL_ID, //5.8.5
  250. MMIMMS_SETTING_GATEWAY_CTRL_ID,
  251. MMIMMS_SETTING_PORT_CTRL_ID,
  252. MMIMMS_SETTING_USERNAME_CTRL_ID,
  253. MMIMMS_SETTING_PASSWORD_CTRL_ID,
  254. MMIMMS_SETTING_APN_CTRL_ID,
  255. MMIMMS_SETTING_OPEN_SIGN_LIST_CTRL_ID, //FNH ADD 0516
  256. MMIMMS_EDIT_SIGN_IMAGE_CTRL_ID, //FNH ADD 0516
  257. MMIMMS_EDIT_SIGN_TEXT_CTRL_ID, //FNH ADD 0516
  258. MMIMMS_SETTING_NETWORK_CTRL_ID,
  259. MMIMMS_SETTING_SIGN_CTRL_ID,
  260. MMIMMS_MEMORY_STATE_CTRL_ID, //5.10
  261. MMIMMS_MEMORY_STATE_LABEL1_CTRL_ID, //4 lines text
  262. MMIMMS_MEMORY_STATE_LABEL2_CTRL_ID,
  263. MMIMMS_MEMORY_STATE_LABEL3_CTRL_ID,
  264. MMIMMS_MEMORY_STATE_LABEL4_CTRL_ID,
  265. MMIMMS_DETAIL_LABEL1_CTRL_ID, //5.4.7
  266. MMIMMS_DETAIL_LABEL2_CTRL_ID,
  267. MMIMMS_DETAIL_LABEL3_CTRL_ID,
  268. MMIMMS_DETAIL_LABEL4_CTRL_ID,
  269. MMIMMS_DETAIL_LABEL5_CTRL_ID,
  270. MMIMMS_DETAIL_TEXTBOX_CTRL_ID, //liangliu added 2005-10-25 for mms show
  271.     MMS_MAX_CTRL_ID
  272. }MMS_CONTROL_ID_E;
  273. /**--------------------------------------------------------------------------*
  274.  **                         FUNCTION DEFINITION                              *
  275.  **--------------------------------------------------------------------------*/
  276. /**--------------------------------------------------------------------------*
  277.  **                         Compiler Flag                                    *
  278.  **--------------------------------------------------------------------------*/
  279. #ifdef   __cplusplus
  280.     }
  281. #endif
  282. #endif