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

C/C++

  1. /*****************************************************************************
  2. ** File Name:      MMS_menutable.h                                                   *
  3. ** Author:                                                                   *
  4. ** Date:           1/11/2006                                                *
  5. ** Copyright:      2003 Spreatrum, Incoporated. All Rights Reserved.         *
  6. ** Description:    This file is used to describe mms              *
  7. *****************************************************************************
  8. **                         Important Edit History                            *
  9. ** --------------------------------------------------------------------------*
  10. ** DATE           NAME             DESCRIPTION                               *
  11. ** 1/2006       liang.liu@palmsource.com      Create
  12. ******************************************************************************/
  13. #ifndef _MMS_MENUTABLE_H_
  14. #define _MMS_MENUTABLE_H_
  15. #include "mmimms_internal.h"
  16. #include "mmi_module.h"
  17. /**---------------------------------------------------------------------------*
  18.  **                         Compiler Flag                                     *
  19.  **---------------------------------------------------------------------------*/
  20. #ifdef __cplusplus
  21.     extern   "C"
  22.     {
  23. #endif
  24. /*-------------------------------------------------------------------------*/
  25. /*                         TYPES/CONSTANTS                                 */
  26. /*-------------------------------------------------------------------------*/
  27. //菜单ID
  28. typedef enum
  29. {
  30.     MMS_ID_MENU_START = (MMI_MODULE_MMS << 16),
  31.         //begin MMS========
  32. ID_MMS_INBOX_ID,
  33. ID_MMS_SENTBOX_ID,
  34. ID_MMS_OUTBOX_ID,
  35. ID_MMS_DRAFTBOX_ID,
  36. ID_MMS_SETTING_ID,
  37. ID_MMS_EDIT_SEND,
  38. ID_MMS_EDIT_GROUP_SEND,
  39. ID_MMS_EDIT_EDIT_CONTENT,
  40. ID_MMS_EDIT_SAVE,
  41. ID_MMS_EDIT_SEND_AND_SAVE,
  42. ID_MMS_EDIT_PREVIEW,
  43. ID_MMS_EDIT_EDIT_SUBJECT,
  44. ID_MMS_EDIT_INSERT_MPEG4,
  45. ID_MMS_EDIT_INSERT_IMAGE,
  46. ID_MMS_EDIT_INSERT_MUSIC,
  47. ID_MMS_EDIT_INSERT_RING,
  48. ID_MMS_EDIT_INSERT_MP3,
  49. ID_MMS_EDIT_DEL_IMAGE,
  50. ID_MMS_EDIT_DEL_MUSIC,
  51. ID_MMS_EDIT_INSERT_SLIDE,
  52. ID_MMS_EDIT_DEL_CUR_SLIDE,
  53. ID_MMS_EDIT_SET_SLIDE_TIME,
  54. ID_MMS_EDIT_PREVIOUS_SLIDE,
  55. ID_MMS_EDIT_NEXT_SLIDE,
  56. ID_MMS_EDIT_CLOSE_SAVE,
  57. ID_MMS_EDIT_EXIT,
  58. /* fnh add 1024 begin*/
  59. ID_MMS_EDIT_SEND_ONTIME_DATE,
  60. ID_MMS_EDIT_SEND_ONTIME_TIME,
  61. /* fnh add 1024 end*/
  62. /* fnh add 0913 begin */
  63. ID_MMS_EDIT_INSERT_VIDEO,
  64. ID_MMS_EDIT_DEL_VIDEO,
  65. ID_MMS_EDIT_MMS_TO,
  66. ID_MMS_EDIT_MMS_CC,
  67. ID_MMS_EDIT_MMS_BCC,
  68. ID_MMS_EDIT_SEND_ONTIME,
  69. ID_MMS_EDIT_ADD_TO,  //增
  70. ID_MMS_EDIT_ADD_GROUP, //add group fnh 0519
  71. ID_MMS_EDIT_DELETE_TO, //删
  72. ID_MMS_EDIT_MODIFY_TO, //改
  73. ID_MMS_EDIT_EDIT_TEXT, //编辑当前页的文本
  74. /*    fnh add 0913 end*/
  75.     ID_MMS_INSERT_DPIC,
  76.     ID_MMS_INSERT_PHOTO,
  77.     //5.1.1(2)MENU_MMS_SEND_TO
  78.     ID_MMS_SEND_INPUT_NUMBER,
  79.     ID_MMS_SEND_INPUT_EMAIL,
  80. //5.1.2(2)MENU_MMS_GROUP_SEND
  81. ID_MMS_GSEND_GROUP,
  82. ID_MMS_GSEND_USERDEFINED,
  83. //5.1.2.5(2)MENU_MMS_TO_EDIT_DEL
  84. ID_MMS_TO_EDIT,
  85. ID_MMS_TO_DEL,
  86. //liangliu add 2006-1-25 for mms memstate
  87. ID_MESSAGE_MEMSTATE_SMS,
  88. ID_MESSAGE_MEMSTATE_MMS,
  89. //add end
  90. //5.4.1C(10)MENU_MMS_INBOX_OPTION
  91. ID_MMS_INBOX_PLAY, //added by liangliu 2005-10-14 for spread inbox mms menu 
  92. ID_MMS_INBOX_ANSWER_SMS,
  93. ID_MMS_INBOX_ANSWER_MMS,
  94. ID_MMS_INBOX_FORWARD,
  95. ID_MMS_INBOX_PICKOUT_NUMBER,
  96. ID_MMS_INBOX_SAVE_IMAGE,
  97. ID_MMS_INBOX_SAVE_SOUND,
  98. ID_MMS_INBOX_SAVE_VIDEO,//added by liangliu 2005-11-28
  99. ID_MMS_INBOX_ANSWER_PHONE,
  100. ID_MMS_INBOX_IPCALL,
  101. ID_MMS_INBOX_DEL,
  102. ID_MMS_INBOX_DEL_ALL,
  103. ID_MMS_INBOX_DOWNLOAD_MMS,
  104. ID_MMS_INBOX_DETAIL,
  105. //5.5.1C(5)MENU_MMS_SENTBOX_OPTION
  106. ID_MMS_SENTBOX_FORWARD,
  107. ID_MMS_SENTBOX_PLAY,//added by liangl 2005-10-15
  108. ID_MMS_SENTBOX_RESEND,
  109. ID_MMS_SENTBOX_EDIT,
  110. ID_MMS_SENTBOX_DEL,
  111. ID_MMS_SENTBOX_DEL_ALL,
  112. ID_MMS_SENTBOX_DETAIL,
  113. //5.6(4)MENU_MMS_OUTBOX_OPTION
  114. ID_MMS_OUTBOX_SEND,
  115. ID_MMS_OUTBOX_PLAY,//added vy liangl 2005-10-15
  116. ID_MMS_OUTBOX_EDIT,
  117. ID_MMS_OUTBOX_DEL,
  118. ID_MMS_OUTBOX_DEL_ALL,
  119. ID_MMS_OUTBOX_DETAIL,
  120. //5.7(4)MENU_MMS_DRAFTBOX_OPTION
  121. ID_MMS_DRAFTBOX_SEND,
  122. ID_MMS_DRAFTBOX_EDIT,
  123. ID_MMS_DRAFTBOX_DEL,
  124. ID_MMS_DRAFTBOX_DEL_ALL,
  125. //5.8(4)MENU_MMS_SETTING
  126. ID_MESSAGE_SETTING_SMS,
  127. ID_MMS_SETTING_NETWORK_SETTING,
  128. ID_MMS_SETTING_ARRIVE_REPORT,
  129. ID_MMS_SETTING_READ_REPORT,
  130. ID_MMS_SETTING_ANONYMITY,
  131. ID_MMS_SETTING_PRIORITY,
  132. ID_MMS_SETTING_AUTO_DOWNLOAD,
  133. ID_MMS_SETTING_SOUND,
  134. ID_MMS_SETTING_ADVERTISING,
  135. ID_MMS_SETTING_DEFAULT, //FNH ADD 0512 恢复默认设置
  136. ID_MMS_SETTING_SIGN,
  137. ID_MMS_SETTING_AUTO_SIGNATURE, //FNH ADD 0515 自动签名
  138. ID_MMS_SETTING_PERIOD,
  139. ID_MMS_SETTING_MMSC,
  140. ID_MMS_SETTING_GATEWAY,
  141. ID_MMS_SETTING_PORT,
  142. ID_MMS_SETTING_USERNAME,
  143. ID_MMS_SETTING_PASSWORD,
  144. ID_MMS_SETTING_APN,
  145. ID_MMS_SETTING_OPEN_SIGN,
  146. ID_MMS_SETTING_EDIT_SIGN,
  147.     //end MMS=========
  148.     MMS_ID_MENU_MAX
  149. }MMS_ID_MENU_E;
  150. #define MENU_DEF(_TABLEID, _ITEMPTR, _STYLE, _TITLESTR, _TITLE_ICON, _TITLE_NUMICON, _TITLE_BACKGROUND, 
  151. _ITEMCOUNT) 
  152.      _TABLEID,
  153. typedef enum
  154. {
  155.     MMS_MENU_LABEL_START = (MMI_MODULE_MMS << 16),
  156.     #include "MMS_menutable.def"
  157.     MMS_MENUTABLE_MAX
  158. } MMS_MENU_LABEL_E;
  159. #undef MENU_DEF
  160. //extern const GUI_MENU_GROUP_T mms_menu_table[];
  161. extern PUBLIC void MMS_RegMenuGroup(void);
  162. /**---------------------------------------------------------------------------*
  163.  **                         Compiler Flag                                     *
  164.  **---------------------------------------------------------------------------*/
  165. #ifdef   __cplusplus
  166.     }
  167. #endif
  168. /*-------------------------------------------------------------------------*/
  169. #endif /* MENUTABLE_H */