update tizen source
[framework/messaging/msg-service.git] / include / utils / MsgNotificationWrapper.h
1 /*
2 *
3 * Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
4 *
5 * This file is part of msg-service.
6 *
7 * Contact: Jaeyun Jeong <jyjeong@samsung.com>
8 *          Sangkoo Kim <sangkoo.kim@samsung.com>
9 *          Seunghwan Lee <sh.cat.lee@samsung.com>
10 *          SoonMin Jung <sm0415.jung@samsung.com>
11 *          Jae-Young Lee <jy4710.lee@samsung.com>
12 *          KeeBum Kim <keebum.kim@samsung.com>
13 *
14 * PROPRIETARY/CONFIDENTIAL
15 *
16 * This software is the confidential and proprietary information of
17 * SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
18 * disclose such Confidential Information and shall use it only in
19 * accordance with the terms of the license agreement you entered
20 * into with SAMSUNG ELECTRONICS.
21 *
22 * SAMSUNG make no representations or warranties about the suitability
23 * of the software, either express or implied, including but not limited
24 * to the implied warranties of merchantability, fitness for a particular
25 * purpose, or non-infringement. SAMSUNG shall not be liable for any
26 * damages suffered by licensee as a result of using, modifying or
27 * distributing this software or its derivatives.
28 *
29 */
30
31 #ifndef MSG_QUICKPANEL_WRAPPER_H
32 #define MSG_QUICKPANEL_WRAPPER_H
33
34 /*==================================================================================================
35                                          INCLUDE FILES
36 ==================================================================================================*/
37 #include "MsgInternalTypes.h"
38 #include "MsgSqliteWrapper.h"
39
40
41 /*==================================================================================================
42                                          DEFINES
43 ==================================================================================================*/
44 #define NORMAL_MSG_ICON_PATH    "/opt/apps/org.tizen.message/res/icons/default/small/org.tizen.message.png"
45 #define VOICE_MSG_ICON_PATH     "/opt/apps/org.tizen.message/res/icons/default/small/org.tizen.message.voice.png"
46 #define CB_MSG_ICON_PATH                "/opt/apps/org.tizen.message/res/icons/default/small/org.tizen.message.cb.png"
47 #define NOTI_MSG_ICON_PATH              "/opt/apps/org.tizen.message/res/icons/default/small/org.tizen.message.noti.png"
48
49 #define MSG_APP_PACKAGE_NAME "message"
50 #define MSG_APP_LOCALEDIR               "/opt/apps/org.tizen.message/res/locale"
51
52 #define SENDING_MULTIMEDIA_MESSAGE_FAILED "IDS_MSGF_POP_SENDING_MULTIMEDIA_MESSAGE_FAILED"
53 #define MULTIMEDIA_MESSAGE_SENT                   "IDS_MSGF_POP_MULTIMEDIA_MESSAGE_SENT"
54 #define RETRIEVING_MESSAGE_FAILED                 "IDS_MSGF_POP_RETRIEVING_MESSAGE_FAILED"
55 #define MESSAGE_RETRIEVED                               "IDS_MSGF_BODY_MESSAGE_RETRIEVED"
56
57
58 /*==================================================================================================
59                                      FUNCTION PROTOTYPES
60 ==================================================================================================*/
61
62 MSG_ERROR_T MsgInsertNoti(MsgDbHandler *pDbHandle, MSG_MESSAGE_INFO_S* pMsg);
63
64 MSG_ERROR_T MsgInsertSmsReportToNoti(MsgDbHandler *pDbHandle, MSG_MESSAGE_ID_T MsgId, MSG_DELIVERY_REPORT_STATUS_T Status);
65
66 MSG_ERROR_T MsgInsertMmsReportToNoti(MsgDbHandler *pDbHandle, MSG_MESSAGE_INFO_S* pMsg);
67
68 MSG_ERROR_T MsgDeleteNotiByMsgId(MSG_MESSAGE_ID_T msgId);
69
70 MSG_ERROR_T MsgDeleteNotiByThreadId(MSG_THREAD_ID_T ThreadId);
71
72 MSG_ERROR_T MsgInsertTicker(const char* pTickerMsg, const char* pLocaleTickerMsg);
73
74 #endif // MSG_QUICKPANEL_WRAPPER_H