apply new system-event defines 80/72180/1
authorKyeonghun Lee <kh9090.lee@samsung.com>
Tue, 31 May 2016 05:56:54 +0000 (14:56 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Tue, 31 May 2016 05:57:03 +0000 (14:57 +0900)
Change-Id: I1257a919c6a44dd26b04e3c35eb796cca414179f
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
include/common/MsgInternalTypes.h
manager/src/msg-manager.cpp
plugin/sms_cdma_plugin/SmsCdmaPluginEventHandler.cpp
plugin/sms_plugin/SmsPluginEventHandler.cpp

index 8526dfa73f11192381a368eba111743172af82ea..ebc78a054f676f5451dfa7f65786ea0e809f1419 100755 (executable)
 #define MSG_TELEPHONY_SMS_FEATURE      "http://tizen.org/feature/network.telephony.sms"
 #define MSG_TELEPHONY_MMS_FEATURE      "http://tizen.org/feature/network.telephony.mms"
 
-/*below defines will be removed */
-#define SYS_EVENT_OUTGOING_MSG "tizen.system.event.outgoing_msg"
-#define EVT_VAL_MMS "mms"
-#define EVT_KEY_OUT_MSG_ID "msg_id"
-#define EVT_KEY_OUT_MSG_TYPE "msg_type"
-
 /*==================================================================================================
                                          TYPES
 ==================================================================================================*/
index 588d7f620c6b9002887f583bacf7dfd5da70df47..0bb8fc26f0a029393cef4568801c9dcb15843caf 100644 (file)
@@ -43,13 +43,6 @@ extern "C"
 #include "msg-manager-sound.h"
 #include "msg-manager-util.h"
 
-/*==================================================================================================
-                                     DEFINES
-==================================================================================================*/
-/* below defines will be removed */
-#define EVENT_KEY_OUT_MSG_TYPE "msg_type"
-#define EVENT_KEY_OUT_MSG_ID "msg_id"
-
 /*==================================================================================================
                                      VARIABLES
 ==================================================================================================*/
index 2320e1118333435dfa7ea18d107d8f7cb963b01f..5b0411f2bc13e38831fca727ea05c87403a63b4f 100755 (executable)
@@ -465,9 +465,9 @@ void SmsPluginEventHandler::handleSentStatus(msg_network_status_t NetStatus)
                                b = bundle_create();
                                if (b) {
                                        if (sentInfo.reqInfo.msgInfo.msgType.mainType == MSG_SMS_TYPE)
-                                               bundle_add_str(b, EVT_KEY_OUT_MSG_TYPE, EVT_VAL_SMS);
+                                               bundle_add_str(b, EVT_KEY_OUT_MSG_TYPE, EVT_VAL_OUT_MSG_SMS);
                                        else
-                                               bundle_add_str(b, EVT_KEY_OUT_MSG_TYPE, EVT_VAL_MMS);
+                                               bundle_add_str(b, EVT_KEY_OUT_MSG_TYPE, EVT_VAL_OUT_MSG_MMS);
 
                                        char msgId[MSG_EVENT_MSG_ID_LEN] = {0, };
                                        snprintf(msgId, sizeof(msgId), "%u", sentInfo.reqInfo.msgInfo.msgId);
index 616d1b93867f66f1224cd0747fbb814070344c32..dda81322c5b32f2bcc16eab973fbd66df4f44fce 100755 (executable)
@@ -103,9 +103,9 @@ void SmsPluginEventHandler::handleSentStatus(msg_network_status_t NetStatus)
                                b = bundle_create();
                                if (b) {
                                        if (sentInfo.reqInfo.msgInfo.msgType.mainType == MSG_SMS_TYPE)
-                                               bundle_add_str(b, EVT_KEY_OUT_MSG_TYPE, EVT_VAL_SMS);
+                                               bundle_add_str(b, EVT_KEY_OUT_MSG_TYPE, EVT_VAL_OUT_MSG_SMS);
                                        else
-                                               bundle_add_str(b, EVT_KEY_OUT_MSG_TYPE, EVT_VAL_MMS);
+                                               bundle_add_str(b, EVT_KEY_OUT_MSG_TYPE, EVT_VAL_OUT_MSG_MMS);
 
                                        char msgId[MSG_EVENT_MSG_ID_LEN] = {0, };
                                        snprintf(msgId, sizeof(msgId), "%u", sentInfo.reqInfo.msgInfo.msgId);