phonesrv_plat/converged_call_engine_api/inc/mcceforwardinterface.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
    28 * MCCECallObserver is used for errors, statuses, notifications etc
    28 * MCCECallObserver is used for errors, statuses, notifications etc
    29 *
    29 *
    30 *  @since S60 3.2
    30 *  @since S60 3.2
    31 */
    31 */
    32 class MCCEForwardInterface
    32 class MCCEForwardInterface
    33     {
    33 	{
    34  protected: // Constructors and destructor
    34  protected: // Constructors and destructor
    35 
    35 
    36     /** 
    36     /** 
    37     * Protected destructor. Object cannot be deleted from client.
    37     * Protected destructor. Object cannot be deleted from client.
    38     * @since S60 3.2
    38     * @since S60 3.2
    39     */
    39     */
    40     virtual ~MCCEForwardInterface() {};
    40     virtual ~MCCEForwardInterface() {};
    41     
    41 	
    42  public:
    42  public:
    43     /**
    43 	/**
    44     * Returns reference to array containing addresses of forward address choices.
    44 	* Returns reference to array containing addresses of forward address choices.
    45     * Index starts from zero.
    45 	* Index starts from zero.
    46     * @since Series 60 3.2
    46 	* @since Series 60 3.2
    47     * @param none
    47 	* @param none
    48     * @return array containing forward address choices
    48 	* @return array containing forward address choices
    49     * @leave KErrNotReady Call is not in forwarding state
    49     * @leave KErrNotReady Call is not in forwarding state
    50     * @leave KErrNotSupported If call is not mobile originated
    50     * @leave KErrNotSupported If call is not mobile originated
    51     * @leave system error code 
    51     * @leave system error code 
    52     * @pre Call state is MCCECallObserver::ECCEStateForwarding and call type is MO
    52     * @pre Call state is MCCECallObserver::ECCEStateForwarding and call type is MO
    53     * @pre Call MCCECallObserver::EVoIPEventMultipleChoices event is received
    53     * @pre Call MCCECallObserver::EVoIPEventMultipleChoices event is received
    54     */
    54 	*/
    55     virtual const CDesC8Array& GetForwardAddressChoicesL() = 0;
    55 	virtual const CDesC8Array& GetForwardAddressChoicesL() = 0;
    56 
    56 
    57     /**
    57 	/**
    58     * Forward call to selected address at given index in array received from GetForwardAddressChoicesL
    58 	* Forward call to selected address at given index in array received from GetForwardAddressChoicesL
    59     * @since Series 60 3.2
    59 	* @since Series 60 3.2
    60     * @param aIndex index in the address where the call is to be forwarded. 
    60 	* @param aIndex index in the address where the call is to be forwarded. 
    61     * Index starts from zero.
    61 	* Index starts from zero.
    62     * @return none 
    62 	* @return none 
    63     * @leave KErrArgument Index is not in array
    63 	* @leave KErrArgument Index is not in array
    64     * @leave KErrNotReady Call is not in forwarding state
    64     * @leave KErrNotReady Call is not in forwarding state
    65     * @leave KErrNotSupported If call is not mobile originated
    65     * @leave KErrNotSupported If call is not mobile originated
    66     * @pre Call state is MCCECallObserver::ECCEStateForwarding and call type is MO
    66     * @pre Call state is MCCECallObserver::ECCEStateForwarding and call type is MO
    67     */
    67 	*/
    68     virtual void ForwardToAddressL( const TInt aIndex ) = 0;
    68 	virtual void ForwardToAddressL( const TInt aIndex ) = 0;
    69     };
    69 	};
    70 
    70 
    71 
    71 
    72 #endif // MCCEFORWARDINTERFACE_H
    72 #endif // MCCEFORWARDINTERFACE_H