diff options
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; |