2 * Copyright 2012-2013 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef MSG_QUICKPANEL_WRAPPER_H
18 #define MSG_QUICKPANEL_WRAPPER_H
20 /*==================================================================================================
22 ==================================================================================================*/
23 #include "MsgInternalTypes.h"
24 #include "MsgSqliteWrapper.h"
27 /*==================================================================================================
29 ==================================================================================================*/
30 #define MSG_APP_PACKAGE_NAME "message"
31 #define MSG_SYS_PACKAGE_NAME "sys_string"
32 #define NORMAL_MSG_ICON_PATH "/usr/apps/org.tizen.message/res/icons/default/small/org.tizen.message.noti.png"
33 #define VOICE_MSG_ICON_PATH "/usr/apps/org.tizen.message/res/icons/default/small/org.tizen.message.voice.png"
34 #define CB_MSG_ICON_PATH "/usr/apps/org.tizen.message/res/icons/default/small/org.tizen.message.noti.png"
35 #define NOTI_MSG_ICON_PATH "/usr/apps/org.tizen.message/res/icons/default/small/org.tizen.message.noti.png"
37 #define MSG_APP_LOCALEDIR "/usr/apps/org.tizen.message/res/locale"
38 #define SENDING_MULTIMEDIA_MESSAGE_FAILED "Sending multimedia message failed"
39 #define MULTIMEDIA_MESSAGE_SENT "Multimedia message sent"
40 #define RETRIEVING_MESSAGE_FAILED "Retrieving message failed"
41 #define MESSAGE_RETRIEVED "Message retrieved"
42 #define SMS_MESSAGE_SENT "Message sent"
43 #define SMS_MESSAGE_SENDING_FAIL "Sending message failed"
44 #define MESSAGE "Message"
45 #define NEW_MESSAGE "New message"
46 #define NEW_MESSAGES "New messages"
47 #define MSG_SYS_LOCALEDIR "/usr/share/locale"
49 #define NOTIFICATION_PRIV_ID DEFAULT_SETTING_PATH"/notification_priv_id"
51 /*==================================================================================================
53 ==================================================================================================*/
54 msg_error_t MsgInsertNoti(MSG_MESSAGE_INFO_S* pMsg);
56 msg_error_t MsgInsertMmsReportToNoti(MsgDbHandler *pDbHandle, MSG_MESSAGE_INFO_S* pMsg);
58 msg_error_t MsgRefreshNoti(bool bWithTicker);
59 msg_error_t MsgCleanAndResetNoti();
61 msg_error_t MsgInsertTicker(const char* pTickerMsg, const char* pLocaleTickerMsg);
62 msg_error_t MsgInsertBadge(unsigned int unreadMsgCnt);
64 #endif // MSG_QUICKPANEL_WRAPPER_H