apply Tizen 3.0 Message UX Guide
[platform/core/messaging/msg-service.git] / manager / src / msg-manager.cpp
index 6c7cd9b..5409030 100644 (file)
@@ -307,6 +307,8 @@ void _add_noti_func(app_control_h app_control)
                        noti_type = MSG_MGR_NOTI_TYPE_MWI;
                } else if (g_strcmp0(type, "class0") == 0) {
                        noti_type = MSG_MGR_NOTI_TYPE_CLASS0;
+               } else if (g_strcmp0(type, "read_report_sent") == 0) {
+                       noti_type = MSG_MGR_NOTI_TYPE_MMS_READ_REPORT_SENT;
                }
 
                g_free(type);
@@ -476,6 +478,11 @@ void _del_report_noti_func(app_control_h app_control)
        g_free(addr);
 }
 
+void _del_sent_read_report_noti_func(app_control_h app_control)
+{
+       MsgMgrDeleteSentReadReportNotification();
+}
+
 void _insert_only_active_noti_func(app_control_h app_control)
 {
        char *type;
@@ -680,6 +687,8 @@ void service_app_control(app_control_h app_control, void *data)
                                        _add_report_noti_func(app_control);
                                } else if (g_strcmp0(cmd, "del_report_noti") == 0) {
                                        _del_report_noti_func(app_control);
+                               } else if (g_strcmp0(cmd, "del_sent_read_report_noti") == 0) {
+                                       _del_sent_read_report_noti_func(app_control);
                                } else if (g_strcmp0(cmd, "insert_only_active_noti") == 0) {
                                        _insert_only_active_noti_func(app_control);
                                } else if (g_strcmp0(cmd, "insert_ticker") == 0) {