phonesrv_plat/converged_call_engine_api/inc/mccecallobserver.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
    33     {
    33     {
    34 public:
    34 public:
    35     /** Tone to play enumeration. Used in MCCECallObserver::PlayInbandTone*/
    35     /** Tone to play enumeration. Used in MCCECallObserver::PlayInbandTone*/
    36     enum TCCETone
    36     enum TCCETone
    37         {
    37         {
    38         ECCENoTone,
    38 	    ECCENoTone,
    39         ECCEUserBusy,
    39 	    ECCEUserBusy,
    40         ECCERadioPathNotAvailable,
    40 	    ECCERadioPathNotAvailable,
    41         ECCECongestion,
    41 	    ECCECongestion,
    42         ECCESpecialInformation,
    42 	    ECCESpecialInformation,
    43         ECCEReorder,
    43 	    ECCEReorder,
    44         ECCERemoteAlerting,
    44 	    ECCERemoteAlerting,
    45         ECCEDataCallTone,
    45 	    ECCEDataCallTone,
    46         ECCENoSoundSequence,
    46 	    ECCENoSoundSequence,
    47         ECCEBeepSequence, /** ENoSoundSequence handled the same way */
    47 	    ECCEBeepSequence, /** ENoSoundSequence handled the same way */
    48         ECCECallWaiting
    48 	    ECCECallWaiting
    49         };
    49         };
    50    
    50    
    51  
    51  
    52     
    52     
    53     /** MCCE call events*/
    53     /** MCCE call events*/
    54     enum TCCECallEvent
    54     enum TCCECallEvent
    55         {
    55         {
    56         /** The call has been placed on hold as a result of a local action.     */
    56         /** The call has been placed on hold as a result of a local action. 	*/
    57         ELocalHold,
    57         ELocalHold,
    58         /** The call has been placed on hold by the remote connected party. */
    58         /** The call has been placed on hold by the remote connected party. */
    59         ERemoteHold,
    59         ERemoteHold,
    60 
    60 
    61         /** The call has been resumed as a result of a local action. */
    61         /** The call has been resumed as a result of a local action. */
    75 
    75 
    76         /** The call has been terminated by the remote party. */
    76         /** The call has been terminated by the remote party. */
    77         ERemoteTerminated,
    77         ERemoteTerminated,
    78 
    78 
    79         /** The call has been joined by the remote connected party to other call(s) to create/add 
    79         /** The call has been joined by the remote connected party to other call(s) to create/add 
    80          * to a conference call. */     
    80          * to a conference call. */ 	
    81         /* Call has been added to remote conference call at remote end */
    81         /* Call has been added to remote conference call at remote end */
    82         ERemoteConferenceCreate,
    82         ERemoteConferenceCreate,
    83 
    83 
    84         /** The outgoing call has been barred by the remote party. */
    84         /** The outgoing call has been barred by the remote party. */
    85         ERemoteBarred,
    85         ERemoteBarred,
    86         /** The call is being forwarded by the remote party. */
    86         /** The call is being forwarded by the remote party. */
    87         ERemoteForwarding,
    87         ERemoteForwarding,
    88         /** Call is waiting at the remote end. Obsolote, use supplementary service ESsCallWaiting */
    88 		/** Call is waiting at the remote end. Obsolote, use supplementary service ESsCallWaiting */
    89         ERemoteWaiting,
    89         ERemoteWaiting,
    90         /** The outgoing call has been barred by the local party. */
    90         /** The outgoing call has been barred by the local party. */
    91         ELocalBarred,
    91         ELocalBarred,
    92         /** Indicates that the connected call is secure */
    92         /** Indicates that the connected call is secure */
    93         ESecureSession,
    93         ESecureSession,
   105         
   105         
   106         ////////////////////////////
   106         ////////////////////////////
   107         // CS call specific events
   107         // CS call specific events
   108         ///////////////////////////        
   108         ///////////////////////////        
   109        
   109        
   110         /** Call has been deflected to another remote party as a result of a local action.  */
   110         /** Call has been deflected to another remote party as a result of a local action.	*/
   111         ECCECSLocalDeflectCall,
   111         ECCECSLocalDeflectCall,
   112         /** CS call specific event */
   112         /** CS call specific event */
   113         ECCECSDataPortLoaned, 
   113 	    ECCECSDataPortLoaned, 
   114         /** CS call specific event */
   114         /** CS call specific event */
   115         ECCECSDataPortRecovered,
   115    		ECCECSDataPortRecovered,
   116 
   116 
   117         /** One or more of following information has been changed
   117 		/** One or more of following information has been changed
   118          *  - Remote party name
   118          *  - Remote party name
   119          *  - Remote party number/address
   119          *  - Remote party number/address
   120          *  - Call parameters ( ie. service id )
   120          *  - Call parameters ( ie. service id )
   121          */ 
   121 		 */	
   122         ECCENotifyRemotePartyInfoChange,
   122 		ECCENotifyRemotePartyInfoChange,
   123 
   123 
   124         /** Call secure status cannot be determined */
   124         /** Call secure status cannot be determined */
   125         ECCESecureNotSpecified
   125         ECCESecureNotSpecified
   126         };
   126         };
   127     
   127     
   143         /** The Answer request is currently a valid action. */
   143         /** The Answer request is currently a valid action. */
   144         ECCECapsAnswer         =   0x00000040,
   144         ECCECapsAnswer         =   0x00000040,
   145         /** The Loan Data Port request is currently a valid action. */
   145         /** The Loan Data Port request is currently a valid action. */
   146         ECCECapsLoanDataPort   =   0x00000080,
   146         ECCECapsLoanDataPort   =   0x00000080,
   147         /** The Recover Data Port request is currently a valid action. */
   147         /** The Recover Data Port request is currently a valid action. */
   148         ECCECapsRecoverDataPort=   0x00000100,  
   148         ECCECapsRecoverDataPort=   0x00000100,	
   149         /** Indicates that this call can be put on hold. This implies that the call is currently 
   149         /** Indicates that this call can be put on hold. This implies that the call is currently 
   150         active and that there is no other held call. */
   150         active and that there is no other held call. */
   151         ECCECapsHold           =   0x00000200,
   151         ECCECapsHold           =   0x00000200,
   152         /** Indicates that this call can be resumed. This implies that the call is currently 
   152         /** Indicates that this call can be resumed. This implies that the call is currently 
   153         on hold and that there is no other active call. */ 
   153         on hold and that there is no other active call. */ 
   155         /** Indicates that this call's state can be swapped to the opposite state. This
   155         /** Indicates that this call's state can be swapped to the opposite state. This
   156         implies that this call is either active or held. There may be another call 
   156         implies that this call is either active or held. There may be another call 
   157         in the opposite state and if this is the case then both calls will be simultaneously 
   157         in the opposite state and if this is the case then both calls will be simultaneously 
   158         swapped to their opposite state. */
   158         swapped to their opposite state. */
   159         ECCECapsSwap           =   0x00000800,
   159         ECCECapsSwap           =   0x00000800,
   160         /** Indicates that this incoming call can be deflected to another destination.*/    
   160         /** Indicates that this incoming call can be deflected to another destination.*/ 	
   161         ECCECapsDeflect        =   0x00001000,
   161         ECCECapsDeflect        =   0x00001000,
   162         /** Indicates that this call can be transferred to the remote party of another call. 
   162         /** Indicates that this call can be transferred to the remote party of another call. 
   163         For this capability to be set there must be one active call and one held or 
   163         For this capability to be set there must be one active call and one held or 
   164         dialing call.*/ 
   164         dialing call.*/	
   165         ECCECapsTransfer       =   0x00002000,
   165         ECCECapsTransfer       =   0x00002000,
   166         /** Indicates that this call can be joined either to another single call to form 
   166         /** Indicates that this call can be joined either to another single call to form 
   167         a conference call or to an existing conference call.*/
   167         a conference call or to an existing conference call.*/
   168         ECCECapsJoin           =   0x00004000,
   168         ECCECapsJoin           =   0x00004000,
   169         /** Indicates that this call (within a conference call) can go into One to One mode. 
   169         /** Indicates that this call (within a conference call) can go into One to One mode. 
   170         This action would put the rest of the conference call on hold. */
   170         This action would put the rest of the conference call on hold. */
   171         ECCECapsOneToOne       =   0x00008000,
   171         ECCECapsOneToOne       =   0x00008000,
   172         /** Indicates that the user can activate a CCBS request on this failed call set-up.*/   
   172         /** Indicates that the user can activate a CCBS request on this failed call set-up.*/ 	
   173         ECCECapsActivateCCBS   =   0x00010000,
   173         ECCECapsActivateCCBS   =   0x00010000,
   174         /** Indicates that this call is part of an alternating call and the client can call 
   174         /** Indicates that this call is part of an alternating call and the client can call 
   175         SwitchAlternatingCall() on this call in order to switch it to its other mode.*/
   175         SwitchAlternatingCall() on this call in order to switch it to its other mode.*/
   176         ECCECapsSwitchAlternatingCall = 0x00020000,
   176         ECCECapsSwitchAlternatingCall = 0x00020000,
   177         /** Indicates that this call can use/create a new bearer. This means that multiple 
   177         /** Indicates that this call can use/create a new bearer. This means that multiple 
   193     *
   193     *
   194     * @since S60 v3.2
   194     * @since S60 v3.2
   195     * @param aError Occurred error as integer,
   195     * @param aError Occurred error as integer,
   196     * return none
   196     * return none
   197     */
   197     */
   198     virtual void ErrorOccurred( const TCCPError aError ) = 0;
   198 	virtual void ErrorOccurred( const TCCPError aError ) = 0;
   199     
   199     
   200     /**
   200     /**
   201     * Call state notificfation. 
   201     * Call state notificfation. 
   202     * The observer need to verify the correctness of given state.
   202     * The observer need to verify the correctness of given state.
   203     * CCE will do at least basic call state change checking but also the client 
   203     * CCE will do at least basic call state change checking but also the client