EmailAppGProt.h
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:18k
源码类别:

MTK

开发平台:

C/C++

  1. /*****************************************************************************
  2. *  Copyright Statement:
  3. *  --------------------
  4. *  This software is protected by Copyright and the information contained
  5. *  herein is confidential. The software may not be copied and the information
  6. *  contained herein may not be used or disclosed except with the written
  7. *  permission of MediaTek Inc. (C) 2005
  8. *
  9. *  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
  10. *  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
  11. *  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
  12. *  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
  13. *  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
  14. *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
  15. *  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
  16. *  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
  17. *  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
  18. *  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
  19. *  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
  20. *  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
  21. *
  22. *  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
  23. *  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
  24. *  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
  25. *  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
  26. *  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. 
  27. *
  28. *  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
  29. *  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
  30. *  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
  31. *  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
  32. *  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
  33. *
  34. *****************************************************************************/
  35. /*******************************************************************************
  36.  * Filename:
  37.  * ---------
  38.  * EmailAppGProt.h
  39.  *
  40.  * Project:
  41.  * --------
  42.  * MAUI
  43.  *
  44.  * Description:
  45.  * ------------
  46.  * This file defines global enum, constant and prototypes for Email application
  47.  *
  48.  * Author:
  49.  * -------
  50.  * -------
  51.  *
  52.  *==============================================================================
  53.  *             HISTORY
  54.  * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! 
  55.  *------------------------------------------------------------------------------
  56.  * removed!
  57.  *
  58.  * removed!
  59.  * removed!
  60.  * removed!
  61.  *
  62.  * removed!
  63.  * removed!
  64.  * removed!
  65.  *
  66.  * removed!
  67.  * removed!
  68.  * removed!
  69.  *
  70.  * removed!
  71.  * removed!
  72.  * removed!
  73.  *
  74.  * removed!
  75.  * removed!
  76.  * removed!
  77.  *
  78.  * removed!
  79.  * removed!
  80.  * removed!
  81.  *
  82.  * removed!
  83.  * removed!
  84.  * removed!
  85.  *
  86.  * removed!
  87.  * removed!
  88.  * removed!
  89.  *
  90.  * removed!
  91.  * removed!
  92.  * removed!
  93.  *
  94.  *------------------------------------------------------------------------------
  95.  * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! 
  96.  *==============================================================================
  97.  *******************************************************************************/
  98. /**
  99.  * Copyright Notice
  100.  * ?2002 - 2003, Pixtel Communications, Inc., 1489 43rd Ave. W.,
  101.  * Vancouver, B.C. V6M 4K8 Canada. All Rights Reserved.
  102.  *  (It is illegal to remove this copyright notice from this software or any
  103.  *  portion of it)
  104.  */
  105. /**************************************************************
  106.    FILENAME : EmailAppGProt.h
  107.    PURPOSE     : nil
  108.    REMARKS     : nil
  109.    AUTHOR      : Magesh k
  110.    DATE     : 30-01-2004
  111. **************************************************************/
  112. #ifndef _MMI_EMAILAPPGPROT_H
  113. #define _MMI_EMAILAPPGPROT_H
  114. /*---------------------------------------------------------------------------*/
  115. /* Header files */
  116. /*---------------------------------------------------------------------------*/
  117. #include "PixtelDataTypes.h"
  118. /*---------------------------------------------------------------------------*/
  119. /* Definition */
  120. /*---------------------------------------------------------------------------*/
  121. /*---------------------------------------------------------------------------*/
  122. /* Enum */
  123. /*---------------------------------------------------------------------------*/
  124. typedef enum
  125. {
  126.     SCR_ID_EMAIL_START = EMAIL_BASE,
  127.     SCR_ID_EMAIL_MAIN,
  128.     SCR_ID_EMAIL_PROGRESS,
  129.     SCR_ID_EMAIL_SNR_DETAIL,
  130.     SCR_ID_EMAIL_NEW_MAIL_IND,  /* Misc */
  131.     SCR_ID_EMAIL_COMP,  /* Write Email */
  132.     SCR_ID_EMAIL_COMP_OPT,
  133.     SCR_ID_EMAIL_COMP_ADDR,
  134.     SCR_ID_EMAIL_COMP_ADDR_OPT,
  135.     SCR_ID_EMAIL_COMP_ADDR_INPUT,
  136.     SCR_ID_EMAIL_COMP_ADDR_INPUT_OPT,
  137.     SCR_ID_EMAIL_COMP_ATTCH,
  138.     SCR_ID_EMAIL_COMP_ATTCH_OPT,
  139.     SCR_ID_EMAIL_COMP_VIEW_IMAGE,
  140.     SCR_ID_EMAIL_COMP_CONT_INPUT,
  141.     SCR_ID_EMAIL_COMP_SUBJ_INPUT,
  142.     SCR_ID_EMAIL_COMP_SUBJ_INPUT_OPT,
  143.     SCR_ID_EMAIL_INBOX, /* Inbox */
  144.     SCR_ID_EMAIL_INBOX_OPT,
  145.     SCR_ID_EMAIL_READ,
  146.     SCR_ID_EMAIL_READ_ADDR,
  147.     SCR_ID_EMAIL_READ_ADDR_OPT,
  148.     SCR_ID_EMAIL_READ_ATTCH,
  149.     SCR_ID_EMAIL_READ_ATTCH_OPT,
  150.     SCR_ID_EMAIL_READ_VIEW_IMG,
  151.     SCR_ID_EMAIL_READ_ATTCH_SAVE,
  152.     SCR_ID_EMAIL_READ_OPT,
  153.     SCR_ID_EMAIL_READ_ATTCH_SAVE_OPT,
  154.     SCR_ID_EMAIL_SENT,
  155.     SCR_ID_EMAIL_SENT_OPT,
  156.     SCR_ID_EMAIL_UNSENT,
  157.     SCR_ID_EMAIL_UNSENT_OPT,
  158.     SCR_ID_EMAIL_DRAFT,
  159.     SCR_ID_EMAIL_DRAFT_OPT,
  160.     SCR_ID_EMAIL_DELETE_ALL,
  161.     SCR_ID_EMAIL_FLDR_JUMP,
  162.     SCR_ID_EMAIL_FLDR_LIST_PROGRESS,
  163.     SCR_ID_EMAIL_FLDR_CORRUPT_MAIL,
  164.     SCR_ID_EMAIL_PROF,  /* Profile */
  165.     SCR_ID_EMAIL_PROF_OPT,
  166.     SCR_ID_EMAIL_PROF_OPT_EDIT,
  167.     SCR_ID_EMAIL_PROF_SETTING,
  168.     SCR_ID_EMAIL_PROF_SMTP,
  169.     SCR_ID_EMAIL_PROF_POP3_IMAP4,
  170.     SCR_ID_EMAIL_PROF_SIG,
  171.     SCR_ID_EMAIL_PROF_DATA_ACCT,
  172.     SCR_ID_EMAIL_PROF_GSM_DATA_ACCT,
  173.     SCR_ID_EMAIL_PROF_GPRS_DATA_ACCT,
  174.     SCR_ID_EMAIL_PROF_FULL_EDIT_OPT,
  175.     SCR_ID_EMAIL_PROF_SIG_SEL_FILE,
  176.     /* add new items before this line */
  177.     SCR_ID_EMAIL_END
  178. } email_src_id_enum;
  179. typedef enum
  180. {
  181.     STR_EMAIL_COMMON_MOVING_ID = (EMAIL_BASE + 1),
  182.     STR_EMAIL_COMMON_SAVE_AND_SEND_ID,
  183.     STR_EMAIL_COMMON_SAVE_TO_DRAFT_ID,
  184.     STR_EMAIL_COMMON_MOVE_TO_DRAFT_ID,
  185.     STR_EMAIL_COMMON_QUIT_WITHOUT_SAVING_ID,
  186.     STR_EMAIL_COMMON_LOADING_ID,
  187.     STR_EMAIL_COMMON_SENT_ID,
  188.     STR_EMAIL_COMMON_UNSENT_ID,
  189.     STR_EMAIL_COMMON_NO_SUBJECT_ID,
  190.     STR_EMAIL_COMMON_DETAILS_ID,
  191.     STR_EMAIL_COMMON_REPORT_ID,
  192.     STR_EMAIL_COMMON_DETAIL_RESULT_ID,
  193.     STR_EMAIL_SEND_SUCCESS_SAVE_FAILED_ID,
  194.     STR_EMAIL_SEND_FAILED_SAVE_SUCCESS_ID,
  195.     STR_EMAIL_SEND_FAILED_SAVE_FAILED_ID,
  196.     STR_EMAIL_COMMON_QUIT_EMAIL_ID,
  197.     STR_EMAIL_COMMON_QUITING_ID,
  198.     STR_EMAIL_COMMON_DELETING_ID,
  199.     STR_EMAIL_ERROR_CODE_ACCT_NOT_CONFIG_ID,
  200.     STR_EMAIL_ERROR_CODE_FOLDER_NOT_EXISTING_ID,
  201.     STR_EMAIL_ERROR_CODE_MSG_NOT_EXISTING_ID,
  202.     STR_EMAIL_ERROR_CODE_CONN_FAIL_ID,
  203.     STR_EMAIL_ERROR_CODE_AUTH_FAIL_ID,
  204.     STR_EMAIL_ERROR_CODE_INVALID_PORT_NUM_ID,
  205.     STR_EMAIL_ERROR_CODE_INVALID_IP_ADDR_ID,
  206.     STR_EMAIL_ERROR_CODE_NETWORK_ID,
  207.     STR_EMAIL_ERROR_CODE_INVALID_EMAIL_ADDR_ID,
  208.     STR_EMAIL_ERROR_CODE_BAD_PAGE_NUMBER_ID,
  209.     STR_EMAIL_ERROR_CODE_INVALID_ACCT_INDEX_ID,
  210.     STR_EMAIL_ERROR_CODE_APP_SOC_TIMEOUT_ERR_ID,
  211.     STR_EMAIL_ERROR_CODE_GET_HOST_TIMEOUT_ERR_ID,
  212.     STR_EMAIL_READ_ONLY_ACCESS,
  213.     STR_EMAIL_DNS_ERR,
  214.     STR_EMAIL_SMTP_RCPT_TO_FAIL,
  215.     STR_EMAIL_ERROR_MSG_REQ,
  216.     STR_EMAIL_FILE_QUOTA_EXCEEDED,
  217.     STR_EMAIL_INVALID_MAIL_MESSAGE,
  218.     STR_EMAIL_FOLDER_SELECT_NOT_PERMITTED,
  219.     STR_EMAIL_ERROR_CODE_UNKNOWN_ID,
  220.     STR_EMAIL_NOT_SUPPORT_ID,
  221.     STR_EMAIL_CONTENT_MESSAGE_TOO_ID,
  222.     STR_EMAIL_MEMORY_FULL_ID,
  223.     STR_EMAIL_ASCII_ID,
  224.     STR_EMAIL_BIG5_ID,
  225.     STR_EMAIL_GB2312_ID,
  226.     STR_EMAIL_UTF8_ID,
  227.     STR_EMAIL_UTF7_ID,
  228.     STR_EMAIL_ARABIC_ISO_ID,
  229.     STR_EMAIL_ARABIC_WINDOWS_ID,
  230.     /* PMT START PERSIAN */
  231.     STR_EMAIL_PERSIAN_CP1097_ID,
  232.     STR_EMAIL_PERSIAN_CP1098_ID,
  233.     /* PMT END PERSIAN */
  234.     STR_EMAIL_BALTIC_ISO_ID,
  235.     STR_EMAIL_BALTIC_WINDOWS_ID,
  236.     STR_EMAIL_CENTRAL_EUROPEAN_ISO_ID,
  237.     STR_EMAIL_CENTRAL_EUROPEAN_WINDOWS_ID,
  238.     STR_EMAIL_GREEK_ISO_ID,
  239.     STR_EMAIL_GREEK_WINDOWS_ID,
  240.     STR_EMAIL_HEBREW_ISO_ID,
  241.     STR_EMAIL_HEBREW_WINDOWS_ID,
  242.     STR_EMAIL_INDIA_ID,
  243.     STR_EMAIL_LATIN_ISO_ID,
  244.     STR_EMAIL_NORDIC_ISO_ID,
  245.     STR_EMAIL_SOURTH_EUROPEAN_ISO_ID,
  246.     STR_EMAIL_TURKISH_ISO_ID,
  247.     STR_EMAIL_TURKISH_WINDOWS_ID,
  248.     STR_EMAIL_WESTERN_ISO_ID,
  249.     STR_EMAIL_WESTERN_WINDOWS_ID,
  250.     STR_EMAIL_JAPAN_ID,
  251.     STR_EMAIL_KOREAN_EUC_ID,
  252.     STR_EMAIL_KOREAN_ID,
  253.     STR_EMAIL_THAI_ID,
  254.     STR_EMAIL_THAI_WINDOWS_ID,
  255.     STR_EMAIL_VIETNAMESE_WINDOWS_ID,
  256.     STR_EMAIL_COMMON_CONNECT_NETWORK_ID,
  257.     STR_EMAIL_IMAP4_NEXT_PAGE_ID,
  258.     STR_EMAIL_IMAP4_PREVIOUS_PAGE_ID,
  259.     STR_EMAIL_IMAP4_JUMP_TO_PAGE_ID,
  260.     STR_EMAIL_IMAP4_PAGE_NUMBER_ID,
  261.     STR_EMAIL_IMAP4_INVALID_PAGE_NUMBER_ID,
  262.     STR_EMAIL_MAIN_ID,
  263.     STR_EMAIL_SEND_AND_RECEIVE_ID,  /* do not change order */
  264.     STR_EMAIL_WRITE_EMAIL_ID,       /* do not change order */
  265.     STR_EMAIL_INBOX_ID,             /* do not change order */
  266.     STR_EMAIL_UNSENT_ID,            /* do not change order */
  267.     STR_EMAIL_SENT_ID,              /* do not change order */
  268.     STR_EMAIL_DRAFT_ID,             /* do not change order */
  269.     STR_EMAIL_DELETE_ALL_FOLDER_ID,
  270.     STR_EMAIL_EMAIL_PROFILE_ID,     /* do not change order */
  271.     STR_EMAIL_REFRESH_ID,           /* do not change order */
  272.     STR_EMAIL_CONNECTING_ID,
  273.     STR_EMAIL_CONNECTING_TO_OUTGOING_SERVER_ID,
  274.     STR_EMAIL_ABORTED_ID,
  275.     STR_EMAIL_SENDING_ID,
  276.     STR_EMAIL_CONNECTING_TO_INCOMING_SERVER_POP3_ID,
  277.     STR_EMAIL_CONNECTING_TO_INCOMING_SERVER_IMAP4_ID,
  278.     STR_EMAIL_AUTHORIZING_ID,
  279.     STR_EMAIL_VERIFYING_USERNAME_ID,
  280.     STR_EMAIL_VERIFYING_PASSOWRD_ID,
  281.     STR_EMAIL_RECEIVING_ID,
  282.     STR_EMAIL_RECEIVED_ID,
  283.     STR_EMAIL_MAILS_ID,
  284.     STR_EMAIL_SEND_FAILED_ID,
  285.     STR_EMAIL_RECEIVE_FAILED_ID,
  286.     STR_EMAIL_TO_ID,            /* do not change the order */
  287.     STR_EMAIL_CC_ID,            /* do not change the order */
  288.     STR_EMAIL_ATTACHMENT_ID,    /* do not change the order */
  289.     STR_EMAIL_PRIORITY_ID,      /* do not change the order */
  290.     STR_EMAIL_SUBJECT_ID,       /* do not change the order */
  291.     STR_EMAIL_CONTENT_ID,       /* do not change the order */
  292.     STR_EMAIL_PRIORITY_LOW_ID,
  293.     STR_EMAIL_PRIORITY_MEDIUM_ID,
  294.     STR_EMAIL_PRIORITY_HIGH_ID,
  295.     STR_EMAIL_EMAIL_OPTION_ID,
  296.     STR_EMAIL_INPUT_ADDRESS_ID,
  297.     STR_EMAIL_ATTACHMENT_LIST_ID,
  298.     STR_EMAIL_ATTACH_OPTION_ID,
  299.     STR_EMAIL_VIEW_PLAY_ID,
  300.     STR_EMAIL_ADD_ATTACHMENT_ID,
  301.     STR_EMAIL_FROM_ID,
  302.     STR_EMAIL_ADDRESS_LIST_ID,
  303.     STR_EMAIL_SAVE_TO_PHONEBOOK_ID,
  304.     STR_EMAIL_SEND_MAIL_ID,
  305.     STR_EMAIL_PLAYING_ID,
  306.     STR_EMAIL_SAVE_AS_ID,
  307.     STR_EMAIL_FILENAME_ID,
  308.     STR_EMAIL_REPLY_ID,
  309.     STR_EMAIL_REPLY_WITHOUT_CONTENT_ID,
  310.     STR_EMAIL_REPLY_ALL_ID,
  311.     STR_EMAIL_REPLY_ALL_WITHOUT_CONTENT_ID,
  312.     STR_EMAIL_FORWARD_ID,
  313.     STR_EMAIL_ALL_FOLDER_ID,
  314.     STR_EMAIL_PROFILE_ID,
  315.     STR_EMAIL_PROFILES_ID,
  316.     STR_EMAIL_PROFILE_OPTIONS_ID,
  317.     STR_EMAIL_PROFILE_SETTING_ID,
  318.     STR_EMAIL_SMTP_SETTING_ID,
  319.     STR_EMAIL_POP3_IMAP4_SETTING_ID,
  320.     STR_EMAIL_SIGNATURE_ID,
  321.     STR_EMAIL_SIGNATURE_ON_OFF_ID,
  322.     STR_EMAIL_SIGNATURE_IMAGE_ID,
  323.     STR_EMAIL_SIGNATURE_TEXT_ID,
  324.     STR_EMAIL_PROFILE_NAME_ID,
  325.     STR_EMAIL_DATA_ACCOUNT_ID,
  326.     STR_EMAIL_PROTOCOL_ID,
  327.     STR_EMAIL_CHECK_INTERVAL_ID,
  328.     STR_EMAIL_GPRS_ID,
  329.     STR_EMAIL_GSM_ID,
  330.     STR_EMAIL_POP3_ID,
  331.     STR_EMAIL_IMAP4_ID,
  332.     STR_EMAIL_5_MIN_ID,
  333.     STR_EMAIL_30_MIN_ID,
  334.     STR_EMAIL_1_HOUR_ID,
  335.     STR_EMAIL_2_HOURS_ID,
  336.     STR_EMAIL_OUTGOING_SERVER_ID,
  337.     STR_EMAIL_OUTGOING_PORT_ID,
  338.     STR_EMAIL_DISPLAY_NAME_ID,
  339.     STR_EMAIL_EMAIL_ADDRESS_ID,
  340.     STR_EMAIL_INCOMING_SERVER_ID,
  341.     STR_EMAIL_INCOMING_PORT_ID,
  342.     STR_EMAIL_USER_NAME_ID,
  343.     STR_EMAIL_PASSWORD_ID,
  344.     STR_EMAIL_SERVER_COPY_ID,
  345.     STR_EMAIL_NEW_EMAILS_ID,    // #ifdef __MMI_SLIM_EMAIL_NO_AUTO_CHECK__
  346.     STR_EMAIL_READ_ID,  // #endif // __MMI_SLIM_EMAIL_NO_AUTO_CHECK__
  347.     STR_EMAIL_AUTO_CHECK_ON_ID, // #ifdef __MMI_SLIM_EMAIL_NO_AUTO_CHECK__
  348.     STR_EMAIL_AUTO_CHECK_DONE_ID,       // #endif //  __MMI_SLIM_EMAIL_NO_AUTO_CHECK__
  349.     STR_EMAIL_SIGNATURE_TEXT,
  350.     STR_EMAIL_SENT_FOLDER_NAME,
  351.     STR_EMAIL_DRAFT_FOLDER_NAME,
  352.     STR_EMAIL_PROFILE_ACTIVATED,
  353.     STR_EMAIL_PROFILE_NAME_1,
  354.     STR_EMAIL_PROFILE_NAME_2,
  355.     STR_EMAIL_PROFILE_NAME_3,
  356.     STR_EMAIL_PROFILE_NAME_DUPLICATED,
  357.     STR_EMAIL_PROFILE_NAME_EMPTY,
  358.     STR_EMAIL_PORT_NUMBER_OUTOF_RANGE,
  359.     STR_EMAIL_EMAIL_ADDRESS_EMPTY,
  360.     STR_EMAIL_PORT_NUMBER_EMPTY,
  361.     STR_EMAIL_MAX_SIZE,
  362.     STR_EMAIL_MAX_SIZE_WRONG_ENTRY_MSG,
  363.     STR_EMAIL_INVALID_PROFILE_SETTING,
  364.     /*  */
  365.     STR_EMAIL_AUTO_CHECK_BUSY_ID,
  366.     STR_EMAIL_NOT_READY_ID,
  367.     STR_EMAIL_DISPLAY_ERROR_ID,
  368.     STR_EMAIL_INVALID_FILE_NAME_ID,
  369.     STR_EMAIL_WRONG_SETTINGS,   /* shall be move before here */
  370.     STR_EMAIL_ERROR_CODE_POP_CMD,
  371.     STR_EMAIL_ERROR_CODE_SMTP_CMD,
  372.     STR_EMAIL_ERROR_CODE_IMAP_CMD,
  373.     STR_EMAIL_ERROR_CODE_INVALID_CHARSET,
  374.     STR_EMAIL_SIG_ATTACH_OPTION_IMAGES_ID,
  375.     STR_EMAIL_SELECT_FROM_FILE_ID,
  376.     STR_EMAIL_DELETE_REFERENCE_ID,
  377.     STR_EMAIL_DUPLICATE_FILENAME,
  378.     STR_EMAIL_EMPTY_FILENAME,
  379.     STR_EMAIL_FILENAME_TOO_LONG,
  380.     STR_EMAIL_SIZE_TOO_LARGE,
  381.     STR_EMAIL_ATTACH_TOO_LARGE,
  382.     STR_EMAIL_WRONG_USERNAME,
  383.     STR_EMAIL_WRONG_PASSWD,
  384.     STR_EMAIL_OVERWRITE_WARNING,
  385.     STR_EMAIL_SIG_EMPTY_WARNING,
  386.     STR_EMAIL_AUTH_NOT_SUPPORT,
  387.     /* add new items before this line */
  388.     STR_EMAIL_TOTAL_ID
  389. } email_str_id_enum;
  390. typedef enum
  391. {
  392.     IMG_EMAIL_MAIN_ID = (EMAIL_BASE + 1),
  393.     IMG_EMAIL_SEND_AND_RECEIVE_ID,  /* do not change the order */
  394.     IMG_EMAIL_WRITE_EMAIL_ID,       /* do not change the order */
  395.     IMG_EMAIL_INBOX_ID,             /* do not change the order */
  396.     IMG_EMAIL_UNSENT_ID,            /* do not change the order */
  397.     IMG_EMAIL_SENT_ID,              /* do not change the order */
  398.     IMG_EMAIL_DRAFT_ID,             /* do not change the order */
  399.     IMG_EMAIL_DELETE_ALL_ID,        /* do not change the order */
  400.     IMG_EMAIL_EMAIL_PROFILE_ID,     /* do not change the order */
  401.     IMG_EMAIL_EMAIL_REFRESH_ID,     /* do not change the order */
  402.     IMG_EMAIL_SENT_CAPTION_REPORT_ID,
  403.     IMG_EMAIL_SENT_DETAILS_REPORT_ID,
  404.     IMG_EMAIL_RECEIVED_CAPTION_REPORT_ID,
  405.     IMG_EMAIL_RECEIVED_DETAILS_REPORT_ID,
  406.     IMG_EMAIL_TO_ID,
  407.     IMG_EMAIL_CC_ID,
  408.     IMG_EMAIL_ATTACHMENT_ID,
  409.     IMG_EMAIL_PRIORITY_ID,
  410.     IMG_EMAIL_ENCODING_TYPE_ID,
  411.     IMG_EMAIL_SUBJECT_ID,
  412.     IMG_EMAIL_LEFT_BRACKET_ID,
  413.     IMG_EMAIL_RIGHT_BRACKET_ID,
  414.     IMG_EMAIL_BALNK_ID,
  415.     IMG_EMAIL_READ_FROM_ID,
  416.     IMG_EMAIL_READ_TO_ID,
  417.     IMG_EMAIL_READ_CC_ID,
  418.     IMG_EMAIL_READ_SUBJECT_ID,
  419.     IMG_EMAIL_READ_ATTACHMENT_ID,
  420.     IMG_EMAIL_ATTACH_IMAGE_ID,
  421.     IMG_EMAIL_ATTACH_AUDIO_ID,
  422.     IMG_EMAIL_ATTACH_VIDEO_ID,
  423.     IMG_EMAIL_ATTACH_TEXT_ID,
  424.     IMG_EMAIL_ATTACH_UNKNOWN_ID,
  425.     IMG_EMAIL_ATTACH_IMAGE_15x15_ID,
  426.     IMG_EMAIL_ATTACH_AUDIO_15x15_ID,
  427.     IMG_EMAIL_ATTACH_VIDEO_15x15_ID,
  428.     IMG_EMAIL_ATTACH_TEXT_15x15_ID,
  429.     IMG_EMAIL_ATTACH_UNKNOWN_15x15_ID,
  430.     IMG_EMAIL_CONNECTING_ID,
  431.     IMG_EMAIL_SENDING_ID,
  432.     IMG_EMAIL_RECEIVING_ID,
  433.     IMG_EMAIL_SEND_FAIL_ID,
  434.     IMG_EMAIL_SEND_SUCCESS_ID,
  435.     IMG_EMAIL_REPORT_ID,
  436.     IMG_EMAIL_READ_LOW_ID,
  437.     IMG_EMAIL_READ_NORMAL_ID,
  438.     IMG_EMAIL_READ_HIGH_ID,
  439.     IMG_EMAIL_UNREAD_LOW_ID,
  440.     IMG_EMAIL_UNREAD_NORMAL_ID,
  441.     IMG_EMAIL_UNREAD_HIGH_ID,
  442.     IMG_EMAIL_SENT_LOW_ID,
  443.     IMG_EMAIL_SENT_NORMAL_ID,
  444.     IMG_EMAIL_SENT_HIGH_ID,
  445.     IMG_EMAIL_SENT_LOW_ATTACH_ID,
  446.     IMG_EMAIL_SENT_NORMAL_ATTACH_ID,
  447.     IMG_EMAIL_SENT_HIGH_ATTACH_ID,
  448.     IMG_EMAIL_PROFILE_NAME_ID,
  449.     IMG_EMAIL_DATA_ACCOUNT_ID,
  450.     IMG_EMAIL_PROTOCOL_ID,
  451.     IMG_EMAIL_DOWNLOAD_TYPE_ID,
  452.     IMG_EMAIL_CHECK_INTERVAL_ID,
  453.     IMG_EMAIL_OUTGOING_SERVER_ID,
  454.     IMG_EMAIL_OUTGOING_PORT_ID,
  455.     IMG_EMAIL_DISPLAY_NAME_ID,
  456.     IMG_EMAIL_EMAIL_ADDRESS_ID,
  457.     IMG_EMAIL_INCOMING_SERVER_ID,
  458.     IMG_EMAIL_INCOMING_PORT_ID,
  459.     IMG_EMAIL_USER_NAME_ID,
  460.     IMG_EMAIL_PASSWORD_ID,
  461.     IMG_EMAIL_SERVER_COPY_ID,
  462.     IMG_EMAIL_SIGNATURE_IMAGE_ID,
  463.     IMG_EMAIL_SIGNATURE_TEXT_ID,
  464.     IMG_EMAIL_PROFILE_SETTING_ID,
  465.     IMG_EMAIL_SMTP_SETTING_ID,
  466.     IMG_EMAIL_IMAP_POP3_SETTING_ID,
  467.     IMG_EMAIL_SIGNATURE_SETTING_ID,
  468.     IMG_EMAIL_DRAFT_FOLDER_ID,
  469.     IMG_EMAIL_SENT_FOLDER_ID,
  470.     EMAIL_IMAGE_ID_DEFINES_MAX
  471. } email_img_id_enum;
  472. typedef enum
  473. {
  474.     EMAIL_STOP_NONE = 0,
  475.     EMAIL_STOP_BACK_HIST,
  476.     EMAIL_STOP_GOTO_IDLE,
  477.     EMAIL_STOP_BACK_FROM_OTHER,
  478.     EMAIL_MODULE_ACTIVE_NOW
  479. } email_stop_cause_enum;
  480. /*---------------------------------------------------------------------------*/
  481. /* Struct */
  482. /*---------------------------------------------------------------------------*/
  483. /* main structure for email */
  484. /*---------------------------------------------------------------------------*/
  485. /* Variables */
  486. /*---------------------------------------------------------------------------*/
  487. /*---------------------------------------------------------------------------*/
  488. /* Prototypes */
  489. /*---------------------------------------------------------------------------*/
  490. extern void mmi_email_init(void);
  491. extern void mmi_email_deinit(void);
  492. #ifdef __USB_IN_NORMAL_MODE__
  493. extern U8 mmi_email_check_to_deinit(void);
  494. #endif
  495. extern U8 mmi_email_util_get_stop_cause(void);
  496. #if !defined(__MMI_SLIM_EMAIL_NO_AUTO_CHECK__)
  497. extern U8 mmi_email_util_is_new_mail(void);
  498. extern void mmi_email_entry_auto_chk_result(void);
  499. #endif /* !defined(__MMI_SLIM_EMAIL_NO_AUTO_CHECK__) */ 
  500. extern void mmi_email_main_goto_idle(void);
  501. extern void mmi_email_highlight_main_menu(void);
  502. extern void mmi_email_phb_get_addr_callback(S8 *name, S8 *email);
  503. extern void mmi_email_fmgr_send(S8 *filePath);
  504. extern void mmi_email_fmgr_reset_status_icon(void);
  505. extern void mmi_email_entry_snr_key_lock_result(void);
  506. #endif /* _MMI_EMAILAPPGPROT_H */ // #ifndef _MMI_EMAILAPPGPROT_H