JMMSStoreHandling.h
资源名称:mmi.rar [点击查看]
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:5k
源码类别:
MTK
开发平台:
C/C++
- /*****************************************************************************
- * Copyright Statement:
- * --------------------
- * This software is protected by Copyright and the information contained
- * herein is confidential. The software may not be copied and the information
- * contained herein may not be used or disclosed except with the written
- * permission of MediaTek Inc. (C) 2002
- *
- *****************************************************************************/
- /*****************************************************************************
- *
- * Filename:
- * ---------
- * jmms_store_handling.h
- *
- * Project:
- * --------
- * MAUI
- *
- * Description:
- * ------------
- * This file contans the enums,constants,structures, function prototypes used in
- * jmms_store_handling.c
- *
- * Author:
- * -------
- * -------
- *
- *============================================================================
- * HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *------------------------------------------------------------------------------
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- * removed!
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *============================================================================
- ****************************************************************************/
- #ifndef __MMI_JMMSSTOREHANDLING_H
- #define __MMI_JMMSSTOREHANDLING_H
- #include "MMI_features.h"
- #include "PixtelDataTypes.h"
- // #include "MessagingDataTypes.h"
- #include "ddl.h"
- #include "jcal.h"
- #include "jcalnet.h"
- #include "jdi_wspdatatype.h"
- #include "MessagingDataTypes.h"
- /*
- * Define
- */
- #define MMI_JMMS_INBOX "Inbox"
- #define MMI_JMMS_OUTBOX "Outbox"
- #define MMI_JMMS_SENT "Sent"
- #define MMI_JMMS_DRAFTS "Drafts"
- #define MMI_JMMS_TEMPLATES "Templates"
- #define MMI_JMMS_NO_OF_SYSTEM_FOLDERS 5
- #define MMI_JMMS_MAX_JAVA_MSG_ID 10000
- #define MMI_JMMS_MAX_NORMAL_MSG_ID 0x00FFFFFF
- /*
- * Typedef
- */
- /*
- * Extern Global Variable
- */
- /*
- * Extern Global Function
- */
- extern JC_RETCODE mmi_jmms_get_folder_list(FOLDER_INFO **folder_list);
- extern JC_RETCODE mmi_jmms_get_messages_list(
- S8 *pFolderName,
- MESSAGE_LIST **msg_list,
- RETRIEVE_FILTERS *retrieve_filters);
- extern JC_RETCODE mmi_mms_get_number_of_messages(S8 *pFolderName, U8 *total_num_messages);
- extern void mmi_jmms_init_store(void);
- extern void mmi_jmms_create_templates_in_store(void);
- extern void mmi_jmms_de_init_store(void);
- extern JC_RETCODE mmi_jmms_restore_folder_info(void);
- extern JC_RETCODE mmi_jmms_delete_message(S8 *pFolderName, JC_UINT32 uiMsgIndex);
- extern void mmi_jmms_delete_message_as_per_id(U32 msgId);
- extern JC_RETCODE mmi_jmms_save_message_buffer_in_Store(
- S8 *pFolderName,
- JC_UINT32 *uiMsgIndex,
- MESSAGE_HEADERS *MsgHeaders,
- CONTENT_DATA *Content,
- JC_UINT32 *extraBytes);
- extern JC_RETCODE mmi_jmms_get_message(S8 *pFolderName, CONTENT_DATA *Content, JC_INT32 index);
- extern JC_RETCODE mmi_jmms_store_move_message(S8 *pSrcFolderName, S8 *pDestFolderName, JC_UINT32 *uiMsgIndex);
- extern JC_RETCODE mmi_jmms_store_update_message(
- S8 *pFolderName,
- JC_UINT32 *uiMsgIndex,
- MESSAGE_HEADERS *MsgHeaders,
- CONTENT_DATA *Content,
- JC_UINT32 extraBytes);
- extern JC_RETCODE mmi_jmms_delete_all_message(S8 *pFolderName);
- extern JC_UINT32 mmi_jmms_get_message_id(S8 *pFolderName, JC_UINT32 uiMsgIndex);
- extern void mmi_jmms_free_messages_list(void);
- //PMT VIKAS END 20060325
- //PMT VIKAS START 20060401
- extern JC_RETCODE mmi_jmms_get_number_of_unread_messages_in_inbox(U8 *total_num_unread_messages);
- extern void mmi_jmms_get_free_size_for_mms(U64 *free_size);
- /* PMT VIKAS END 20060401 */
- extern JC_RETCODE mmi_jmms_get_total_number_of_messages(U8 *total_num_messages);
- extern JC_RETCODE mmi_jmms_set_active_folder(S8 *pFolderName);
- extern JC_RETCODE mmi_jmms_store_update_message_extrabyte(S8 *pFolderName, JC_UINT32 uiMsgIndex, JC_UINT32 extraBytes);
- extern void mmi_jmms_delete_progresing_screen(U16 title_str_id, U16 image_id);
- #endif /* __MMI_JMMSSTOREHANDLING_H */