473 class MLtsyDispatchCallControlSwap : public MLtsyDispatchInterface |
473 class MLtsyDispatchCallControlSwap : public MLtsyDispatchInterface |
474 { |
474 { |
475 public: |
475 public: |
476 |
476 |
477 static const TInt KLtsyDispatchCallControlSwapApiId = KDispatchCallControlFuncUnitId + 14; |
477 static const TInt KLtsyDispatchCallControlSwapApiId = KDispatchCallControlFuncUnitId + 14; |
|
478 static const TInt KLtsyDispatchCallControlSingleSwapApiId = KDispatchCallControlFuncUnitId + 29; |
478 |
479 |
479 /** |
480 /** |
480 * The CTSY Dispatcher shall invoke this function on receiving the EMobileCallSwap |
481 * The CTSY Dispatcher shall invoke this function on receiving the EMobileCallSwap |
481 * request from the CTSY. |
482 * request from the CTSY. |
482 * |
483 * |
483 * It is a request call that is completed by invoking |
484 * It is a request call that is completed by invoking |
484 * CCtsyDispatcherCallback::CallbackCallControlSwapComp() |
485 * CCtsyDispatcherCallback::CallbackCallControlSwapComp() |
485 * |
486 * |
486 * This request should be completed when the request to swap the call has |
487 * This request should be completed when the request to swap two calls has |
|
488 * been placed. One is held and the other connected. The held call becomes connected |
|
489 * (RMobileCall::EStatusConnected) and the connected call becomes held |
|
490 * (RMobileCall::EStatusHold). |
|
491 * |
|
492 * Implementation of this interface should request that the Licensee TSY |
|
493 * swap the specified calls. Swapping is allowed for one or two active calls. |
|
494 * |
|
495 * @param aCallId The Call ID of the call to swap. |
|
496 * |
|
497 * @return KErrNone on success, otherwise another error code indicating the |
|
498 * failure. |
|
499 * |
|
500 * @see RMobileCall::Swap() |
|
501 */ |
|
502 virtual TInt HandleSwapReqL(TInt aCallId, TInt aSecondCallId) = 0; |
|
503 |
|
504 /** |
|
505 * The CTSY Dispatcher shall invoke this function on receiving the EMobileCallSwap |
|
506 * request, for a single call, from the CTSY. |
|
507 * |
|
508 * It is a request call that is completed by invoking |
|
509 * CCtsyDispatcherCallback::CallbackCallControlSwapComp() |
|
510 * |
|
511 * This request should be completed when the request to swap the single call has |
487 * been placed. |
512 * been placed. |
488 * |
513 * |
489 * Implementation of this interface should request that the Licensee TSY |
514 * Implementation of this interface should request that the Licensee TSY |
490 * swap the specified calls. Swapping requires two calls to be active, |
515 * swap the specified call. The state of the call will be swapped from held to connected |
491 * one held and one connected. It involves switching the states of the |
516 * (or visa versa) |
492 * two call such that the held call becomes connected (RMobileCall::EStatusConnected) |
517 * |
493 * and the connected call becomes held (RMobileCall::EStatusHold). |
518 * @param aCallId The Call ID of the single call to swap. |
494 * |
|
495 * @param aHeldCallId The Call ID of the held call to swap. |
|
496 * |
|
497 * @param aConnectedCallId The Call ID of the connected call to swap with |
|
498 * aHeldCallId. |
|
499 * |
519 * |
500 * @return KErrNone on success, otherwise another error code indicating the |
520 * @return KErrNone on success, otherwise another error code indicating the |
501 * failure. |
521 * failure. |
502 * |
522 * |
503 * @see RMobileCall::Swap() |
523 * @see RMobileCall::Swap() |
504 */ |
524 */ |
505 virtual TInt HandleSwapReqL(TInt aHeldCallId, TInt aConnectedCallId) = 0; |
525 virtual TInt HandleSwapReqL(TInt aCallId) = 0; |
506 |
526 |
507 }; // class MLtsyDispatchCallControlSwap |
527 }; // class MLtsyDispatchCallControlSwap |
508 |
528 |
509 |
529 |
|
530 |
510 class MLtsyDispatchCallControlLoanDataPort : public MLtsyDispatchInterface |
531 class MLtsyDispatchCallControlLoanDataPort : public MLtsyDispatchInterface |
511 { |
532 { |
512 public: |
533 public: |
513 |
534 |
514 static const TInt KLtsyDispatchCallControlLoanDataPortApiId = KDispatchCallControlFuncUnitId + 15; |
535 static const TInt KLtsyDispatchCallControlLoanDataPortApiId = KDispatchCallControlFuncUnitId + 15; |