diff options
author | hhk86.heo <hhk86.heo@samsung.com> | 2016-06-16 19:32:49 +0900 |
---|---|---|
committer | hhk86.heo <hhk86.heo@samsung.com> | 2016-06-17 11:06:31 +0900 |
commit | d58a3bf5a8121b1294457db7b4a7616207665519 (patch) | |
tree | d3869ed9dd62c70202b1302b114a6eac258ebcdb /framework | |
parent | 700dd2ec843a593833031fcd9403492feee76271 (diff) | |
download | msg-service-accepted/tizen/common/20160617.121645.tar.gz msg-service-accepted/tizen/common/20160617.121645.tar.bz2 msg-service-accepted/tizen/common/20160617.121645.zip |
apply tizen c coding rulesubmit/tizen/20160617.020945accepted/tizen/wearable/20160617.084129accepted/tizen/mobile/20160617.084106accepted/tizen/ivi/20160617.084109accepted/tizen/common/20160617.121645
Change-Id: If09083adc58f2bda06aa6e9ed745f1c9594f1cd3
Signed-off-by: hyungkang heo <hhk86.heo@samsung.com>
Diffstat (limited to 'framework')
-rwxr-xr-x | framework/plugin-manager/MsgPluginManager.cpp | 24 | ||||
-rwxr-xr-x | framework/transaction-manager/MsgTransManager.cpp | 46 |
2 files changed, 35 insertions, 35 deletions
diff --git a/framework/plugin-manager/MsgPluginManager.cpp b/framework/plugin-manager/MsgPluginManager.cpp index 70d921c..97e86b4 100755 --- a/framework/plugin-manager/MsgPluginManager.cpp +++ b/framework/plugin-manager/MsgPluginManager.cpp @@ -860,21 +860,21 @@ MsgPlugin::MsgPlugin(MSG_MAIN_TYPE_T mainType, const char *libPath): mSupportedM THROW(MsgException::PLUGIN_ERROR, "ERROR to create plugin handle"); MSG_PLUGIN_LISTENER_S fwListener = {0}; - fwListener.pfSentStatusCb = &MsgSentStatusListener; - fwListener.pfStorageChangeCb = &MsgStorageChangeListener; - fwListener.pfMsgIncomingCb = &MsgIncomingMessageListener; - fwListener.pfInitSimBySatCb = &MsgInitSimBySatListener; - fwListener.pfSyncMLMsgIncomingCb = &MsgIncomingSyncMLMessageListener; - fwListener.pfLBSMsgIncomingCb = &MsgIncomingLBSMessageListener; - fwListener.pfMmsConfIncomingCb = &MsgMmsConfIncomingListener; - fwListener.pfPushMsgIncomingCb = &MsgIncomingPushMessageListener; - fwListener.pfCBMsgIncomingCb = &MsgIncomingCBMessageListener; - fwListener.pfSimMsgIncomingCb = &MsgSimMessageListener; - fwListener.pfResendMessageCb = &MsgResendMessageListener; + fwListener.pfSentStatusCb = &MsgSentStatusListener; + fwListener.pfStorageChangeCb = &MsgStorageChangeListener; + fwListener.pfMsgIncomingCb = &MsgIncomingMessageListener; + fwListener.pfInitSimBySatCb = &MsgInitSimBySatListener; + fwListener.pfSyncMLMsgIncomingCb = &MsgIncomingSyncMLMessageListener; + fwListener.pfLBSMsgIncomingCb = &MsgIncomingLBSMessageListener; + fwListener.pfMmsConfIncomingCb = &MsgMmsConfIncomingListener; + fwListener.pfPushMsgIncomingCb = &MsgIncomingPushMessageListener; + fwListener.pfCBMsgIncomingCb = &MsgIncomingCBMessageListener; + fwListener.pfSimMsgIncomingCb = &MsgSimMessageListener; + fwListener.pfResendMessageCb = &MsgResendMessageListener; #ifdef FEATURE_SMS_CDMA fwListener.pfCheckUniquenessCb = &MsgCheckUniquenessListener; #endif - fwListener.pfSimInitImsiCb = &MsgSimImsiListener; + fwListener.pfSimInitImsiCb = &MsgSimImsiListener; if (registerListener(&fwListener) != MSG_SUCCESS) THROW(MsgException::PLUGIN_ERROR, "ERROR to register listener"); diff --git a/framework/transaction-manager/MsgTransManager.cpp b/framework/transaction-manager/MsgTransManager.cpp index dcede79..d59bcd6 100755 --- a/framework/transaction-manager/MsgTransManager.cpp +++ b/framework/transaction-manager/MsgTransManager.cpp @@ -78,27 +78,27 @@ MsgTransactionManager::MsgTransactionManager() : running(false), mx(), mxQ(), cv /* Fill in mMsgHandlers, as given in the below. */ handlerMap[MSG_CMD_ADD_MSG] = &MsgAddMessageHandler; handlerMap[MSG_CMD_ADD_SYNCML_MSG] = &MsgAddSyncMLMessageHandler; - handlerMap[MSG_CMD_UPDATE_MSG] = &MsgUpdateMessageHandler; - handlerMap[MSG_CMD_UPDATE_READ] = &MsgUpdateReadStatusHandler; - handlerMap[MSG_CMD_UPDATE_PROTECTED] = &MsgUpdateProtectedStatusHandler; + handlerMap[MSG_CMD_UPDATE_MSG] = &MsgUpdateMessageHandler; + handlerMap[MSG_CMD_UPDATE_READ] = &MsgUpdateReadStatusHandler; + handlerMap[MSG_CMD_UPDATE_PROTECTED] = &MsgUpdateProtectedStatusHandler; handlerMap[MSG_CMD_DELETE_MSG] = &MsgDeleteMessageHandler; - handlerMap[MSG_CMD_DELALL_MSGINFOLDER] = &MsgDeleteAllMessageInFolderHandler; + handlerMap[MSG_CMD_DELALL_MSGINFOLDER] = &MsgDeleteAllMessageInFolderHandler; handlerMap[MSG_CMD_MOVE_MSGTOFOLDER] = &MsgMoveMessageToFolderHandler; handlerMap[MSG_CMD_MOVE_MSGTOSTORAGE] = &MsgMoveMessageToStorageHandler; - handlerMap[MSG_CMD_COUNT_MSG] = &MsgCountMessageHandler; - handlerMap[MSG_CMD_GET_MSG] = &MsgGetMessageHandler; + handlerMap[MSG_CMD_COUNT_MSG] = &MsgCountMessageHandler; + handlerMap[MSG_CMD_GET_MSG] = &MsgGetMessageHandler; - handlerMap[MSG_CMD_ADD_FOLDER] = &MsgAddFolderHandler; + handlerMap[MSG_CMD_ADD_FOLDER] = &MsgAddFolderHandler; handlerMap[MSG_CMD_UPDATE_FOLDER] = &MsgUpdateFolderHandler; - handlerMap[MSG_CMD_DELETE_FOLDER] = &MsgDeleteFolderHandler; - handlerMap[MSG_CMD_GET_FOLDERLIST] = &MsgGetFolderListHandler; - - handlerMap[MSG_CMD_ADD_FILTER] = &MsgAddFilterHandler; - handlerMap[MSG_CMD_UPDATE_FILTER] = &MsgUpdateFilterHandler; - handlerMap[MSG_CMD_DELETE_FILTER] = &MsgDeleteFilterHandler; - handlerMap[MSG_CMD_GET_FILTERLIST] = &MsgGetFilterListHandler; - handlerMap[MSG_CMD_SET_FILTER_OPERATION] = &MsgSetFilterOperationHandler; - handlerMap[MSG_CMD_GET_FILTER_OPERATION] = &MsgGetFilterOperationHandler; + handlerMap[MSG_CMD_DELETE_FOLDER] = &MsgDeleteFolderHandler; + handlerMap[MSG_CMD_GET_FOLDERLIST] = &MsgGetFolderListHandler; + + handlerMap[MSG_CMD_ADD_FILTER] = &MsgAddFilterHandler; + handlerMap[MSG_CMD_UPDATE_FILTER] = &MsgUpdateFilterHandler; + handlerMap[MSG_CMD_DELETE_FILTER] = &MsgDeleteFilterHandler; + handlerMap[MSG_CMD_GET_FILTERLIST] = &MsgGetFilterListHandler; + handlerMap[MSG_CMD_SET_FILTER_OPERATION] = &MsgSetFilterOperationHandler; + handlerMap[MSG_CMD_GET_FILTER_OPERATION] = &MsgGetFilterOperationHandler; handlerMap[MSG_CMD_SET_FILTER_ACTIVATION] = &MsgSetFilterActivationHandler; handlerMap[MSG_CMD_SUBMIT_REQ] = &MsgSubmitReqHandler; @@ -125,17 +125,17 @@ MsgTransactionManager::MsgTransactionManager() : running(false), mx(), mxQ(), cv handlerMap[MSG_CMD_PLG_INCOMING_LBS_IND] = &MsgIncomingLBSMsgHandler; handlerMap[MSG_CMD_PLG_INIT_SIM_BY_SAT] = &MsgInitSimBySatHandler; - handlerMap[MSG_CMD_GET_THREADVIEWLIST] = &MsgGetThreadViewListHandler; - handlerMap[MSG_CMD_DELETE_THREADMESSAGELIST] = &MsgDeleteThreadMessageListHandler; + handlerMap[MSG_CMD_GET_THREADVIEWLIST] = &MsgGetThreadViewListHandler; + handlerMap[MSG_CMD_DELETE_THREADMESSAGELIST] = &MsgDeleteThreadMessageListHandler; handlerMap[MSG_CMD_SET_TEMP_ADDRESS_TABLE] = &MsgSetTempAddressTableHandler; handlerMap[MSG_CMD_GET_CONTACT_COUNT] = &MsgCountMsgByContactHandler; - handlerMap[MSG_CMD_GET_QUICKPANEL_DATA] = &MsgGetQuickPanelDataHandler; - handlerMap[MSG_CMD_COUNT_BY_MSGTYPE] = &MsgCountMsgByTypeHandler; - handlerMap[MSG_CMD_RESET_DB] = &MsgResetDatabaseHandler; - handlerMap[MSG_CMD_GET_MEMSIZE] = &MsgGetMemSizeHandler; + handlerMap[MSG_CMD_GET_QUICKPANEL_DATA] = &MsgGetQuickPanelDataHandler; + handlerMap[MSG_CMD_COUNT_BY_MSGTYPE] = &MsgCountMsgByTypeHandler; + handlerMap[MSG_CMD_RESET_DB] = &MsgResetDatabaseHandler; + handlerMap[MSG_CMD_GET_MEMSIZE] = &MsgGetMemSizeHandler; - handlerMap[MSG_CMD_BACKUP_MESSAGE] = &MsgBackupMessageHandler; + handlerMap[MSG_CMD_BACKUP_MESSAGE] = &MsgBackupMessageHandler; handlerMap[MSG_CMD_RESTORE_MESSAGE] = &MsgRestoreMessageHandler; handlerMap[MSG_CMD_UPDATE_THREAD_READ] = &MsgUpdateThreadReadStatusHandler; |