878 RMobilePhone::TMobilePhoneSendSSRequestV3* tempReturnNotifyPtr; |
878 RMobilePhone::TMobilePhoneSendSSRequestV3* tempReturnNotifyPtr; |
879 if (iReturnNotifyUssdMessageAttributesPtr != NULL) |
879 if (iReturnNotifyUssdMessageAttributesPtr != NULL) |
880 { |
880 { |
881 RMobileUssdMessaging::TMobileUssdAttributesV1* tempReturnNotifyUssdMessageAttributesPtr; |
881 RMobileUssdMessaging::TMobileUssdAttributesV1* tempReturnNotifyUssdMessageAttributesPtr; |
882 aDataPackage->UnPackData ( &tempReturnNotifyPtr, &tempReturnNotifyUssdMessageAttributesPtr ); |
882 aDataPackage->UnPackData ( &tempReturnNotifyPtr, &tempReturnNotifyUssdMessageAttributesPtr ); |
883 *iReturnNotifyPtr = *tempReturnNotifyPtr; |
883 if (tempReturnNotifyPtr != NULL) |
884 *iReturnNotifyUssdMessageAttributesPtr = *tempReturnNotifyUssdMessageAttributesPtr; |
884 { |
|
885 *iReturnNotifyPtr = *tempReturnNotifyPtr; |
|
886 } |
|
887 else |
|
888 { |
|
889 iReturnNotifyPtr->iOpCode = KErrNone; |
|
890 iReturnNotifyPtr->iAdditionalInfo.Append( KErrNone ); |
|
891 } |
|
892 if (tempReturnNotifyUssdMessageAttributesPtr != NULL) |
|
893 { |
|
894 *iReturnNotifyUssdMessageAttributesPtr = *tempReturnNotifyUssdMessageAttributesPtr; |
|
895 } |
|
896 else |
|
897 { |
|
898 iReturnNotifyUssdMessageAttributesPtr->iFormat = RMobileUssdMessaging::EFormatUnspecified; |
|
899 iReturnNotifyUssdMessageAttributesPtr->iType = RMobileUssdMessaging::EUssdUnknown; |
|
900 } |
885 } |
901 } |
886 else |
902 else |
887 { |
903 { |
888 aDataPackage->UnPackData ( &tempReturnNotifyPtr ); |
904 aDataPackage->UnPackData ( &tempReturnNotifyPtr ); |
889 *iReturnNotifyPtr = *tempReturnNotifyPtr; |
905 if(tempReturnNotifyPtr != NULL) |
|
906 { |
|
907 *iReturnNotifyPtr = *tempReturnNotifyPtr; |
|
908 } |
|
909 else |
|
910 { |
|
911 iReturnNotifyPtr->iOpCode = KErrNone; |
|
912 iReturnNotifyPtr->iAdditionalInfo.Append( KErrNone ); |
|
913 } |
890 } |
914 } |
891 } |
915 } |
892 // Null ret pointers |
916 // Null ret pointers |
893 iReturnNotifyPtr = NULL; |
917 iReturnNotifyPtr = NULL; |
894 iReturnNotifyUssdMessageAttributesPtr = NULL; |
918 iReturnNotifyUssdMessageAttributesPtr = NULL; |