RSA sync with private
[platform/core/messaging/msg-service.git] / include / utils / MsgNotificationWrapper.h
index 153ee88..59d6321 100755 (executable)
 /*==================================================================================================
                                          DEFINES
 ==================================================================================================*/
+#define MSG_APP_PACKAGE_NAME   "message"
 #define NORMAL_MSG_ICON_PATH   "/usr/apps/org.tizen.message/res/icons/default/small/org.tizen.message.noti.png"
 #define VOICE_MSG_ICON_PATH            "/usr/apps/org.tizen.message/res/icons/default/small/org.tizen.message.voice.png"
 #define CB_MSG_ICON_PATH                       "/usr/apps/org.tizen.message/res/icons/default/small/org.tizen.message.noti.png"
 #define NOTI_MSG_ICON_PATH             "/usr/apps/org.tizen.message/res/icons/default/small/org.tizen.message.noti.png"
 
-#define MSG_APP_PACKAGE_NAME   "message"
 #define MSG_APP_LOCALEDIR                      "/usr/apps/org.tizen.message/res/locale"
-
 #define SENDING_MULTIMEDIA_MESSAGE_FAILED      "Sending multimedia message failed"
 #define MULTIMEDIA_MESSAGE_SENT                                        "Multimedia message sent"
 #define RETRIEVING_MESSAGE_FAILED                                      "Retrieving message failed"
 #define MESSAGE_RETRIEVED                                                              "Message retrieved"
+#define SMS_MESSAGE_SENT                                       "Message sent"
+#define SMS_MESSAGE_SENDING_FAIL                       "Sending message failed"
 
+#define NOTIFICATION_PRIV_ID DEFAULT_SETTING_PATH"/notification_priv_id"
 
 /*==================================================================================================
                                      FUNCTION PROTOTYPES
@@ -53,10 +55,10 @@ msg_error_t MsgInsertSmsReportToNoti(MsgDbHandler *pDbHandle, msg_message_id_t M
 
 msg_error_t MsgInsertMmsReportToNoti(MsgDbHandler *pDbHandle, MSG_MESSAGE_INFO_S* pMsg);
 
-msg_error_t MsgDeleteNotiByMsgId(msg_message_id_t msgId);
-
-msg_error_t MsgDeleteNotiByThreadId(msg_thread_id_t ThreadId);
+msg_error_t MsgRefreshNoti();
+msg_error_t MsgCleanAndResetNoti();
 
 msg_error_t MsgInsertTicker(const char* pTickerMsg, const char* pLocaleTickerMsg);
+msg_error_t MsgInsertBadge(unsigned int unreadMsgCnt);
 
 #endif // MSG_QUICKPANEL_WRAPPER_H