786 } |
786 } |
787 |
787 |
788 return nRet; |
788 return nRet; |
789 } // CLtsyCallControlHandler::HandleSwapReqL |
789 } // CLtsyCallControlHandler::HandleSwapReqL |
790 |
790 |
|
791 TInt CLtsyCallControlHandler::HandleSwapReqL(TInt aCallId) |
|
792 /** |
|
793 * This request is completed by invoking |
|
794 * CCtsyDispatcherCallback::CallbackCallControlSwapComp() |
|
795 * |
|
796 * @param aCallId The Call ID of the held call to swap. |
|
797 * |
|
798 * This request is to toggle the status of a call (conected<->held) |
|
799 * |
|
800 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
801 * or another error code to indicate the failure otherwise. |
|
802 */ |
|
803 { |
|
804 LOGTEXT(_L8("[Ltsy CallControl] ***Implement me correctly*** Starting CLtsyCallControlHandler::HandleSwapReqL ")); |
|
805 LOGTEXT2(_L8("[Ltsy CallControl] aCallId = %d"), aCallId); |
|
806 //@todo implement me, this function is a patch only |
|
807 |
|
808 /* |
|
809 TInt nRet = iGloblePhone->CheckGlobalPhoneStatus(); |
|
810 if (nRet == KErrNone) |
|
811 { |
|
812 //Setting Port active |
|
813 iGloblePhone->iEventSignalActive = ETrue; |
|
814 |
|
815 //Create DTMF |
|
816 CATChld* cToggleCall = CATChld::NewL((*iGloblePhone), iCtsyDispatcherCallback); |
|
817 iGloblePhone->SetActiveRequest(cToggleCall); |
|
818 // cToggleCall->SetCallId(aHeldCallId); |
|
819 // cSwapCall->SetConnectedCallId(aConnectedCallId); |
|
820 cSwapCall->SetIpcType(CATChld::ELtsyReqCallSwap); |
|
821 cSwapCall->SetChldType(CATChld::EHeldAllActiveCallAndAcceptHeldWaiting); |
|
822 cSwapCall->StartRequest(); |
|
823 } |
|
824 |
|
825 return nRet; |
|
826 */ |
|
827 |
|
828 //@todo implement me, this function is a patch only |
|
829 return KErrNone; |
|
830 } // CLtsyCallControlHandler::HandleSwapReqL |
791 TInt CLtsyCallControlHandler::HandleLoanDataPortSyncL(TInt /*aCallId*/, RCall::TCommPort& /*aCommPort*/) |
831 TInt CLtsyCallControlHandler::HandleLoanDataPortSyncL(TInt /*aCallId*/, RCall::TCommPort& /*aCommPort*/) |
792 /** |
832 /** |
793 * This request is part of |
833 * This request is part of |
794 * MLtsyDispatchCallControlLoanDataPort::HandleLoanDataPortSyncL() |
834 * MLtsyDispatchCallControlLoanDataPort::HandleLoanDataPortSyncL() |
795 * |
835 * |