517 } |
517 } |
518 |
518 |
519 return TSYLOGSETEXITERR(ret); |
519 return TSYLOGSETEXITERR(ret); |
520 } // CSupplementaryServicesDispatcher::DispatchSendUssdMessageL |
520 } // CSupplementaryServicesDispatcher::DispatchSendUssdMessageL |
521 |
521 |
|
522 TInt CSupplementaryServicesDispatcher::DispatchSendUssdMessageDefaultHandlerL(const CMmDataPackage* aDataPackage) |
|
523 /** |
|
524 * Unpack data related to EMobileUssdMessagingSendMessage |
|
525 * and pass request on to Licensee LTSY. |
|
526 * |
|
527 * @return Returns error code returned by the Licensee LTSY or KErrNotSupported if |
|
528 * the Licensee LTSY does not support this request. |
|
529 */ |
|
530 { |
|
531 TSYLOGENTRYEXIT; |
|
532 TInt ret = KErrNotSupported; |
|
533 |
|
534 __ASSERT_DEBUG(aDataPackage, CtsyDispatcherPanic(EInvalidNullPtr)); |
|
535 |
|
536 // Call Handle... method in Licensee LTSY |
|
537 if (iLtsyDispatchSupplementaryServicesSendUssdMessage) |
|
538 { |
|
539 RMobileUssdMessaging::TMobileUssdAttributesV1Pckg** attributesPckg = NULL; |
|
540 RMobileUssdMessaging::TGsmUssdMessageData* data = NULL; |
|
541 aDataPackage->UnPackData(&data, &attributesPckg); |
|
542 |
|
543 __ASSERT_DEBUG(attributesPckg, CtsyDispatcherPanic(EInvalidNullPtr)); |
|
544 __ASSERT_DEBUG(data, CtsyDispatcherPanic(EInvalidNullPtr)); |
|
545 |
|
546 const RMobileUssdMessaging::TMobileUssdAttributesV1& attributes =(**attributesPckg)(); |
|
547 |
|
548 ret = iLtsyDispatchSupplementaryServicesSendUssdMessage->HandleSendUssdMessageReqL(*data, |
|
549 attributes.iDcs, |
|
550 attributes.iFormat, |
|
551 attributes.iType); |
|
552 } |
|
553 |
|
554 return TSYLOGSETEXITERR(ret); |
|
555 } // CSupplementaryServicesDispatcher::DispatchSendUssdMessageL |
|
556 |
|
557 |
522 TInt CSupplementaryServicesDispatcher::DispatchSendUssdMessageNoFdnCheckL(const CMmDataPackage* aDataPackage) |
558 TInt CSupplementaryServicesDispatcher::DispatchSendUssdMessageNoFdnCheckL(const CMmDataPackage* aDataPackage) |
523 /** |
559 /** |
524 * Unpack data related to EMobileUssdMessagingSendMessageNoFdnCheck |
560 * Unpack data related to EMobileUssdMessagingSendMessageNoFdnCheck |
525 * and pass request on to Licensee LTSY. |
561 * and pass request on to Licensee LTSY. |
526 * |
562 * |