tsrc/musenginestub/inc/musengoutsessionobserver.h
changeset 0 f0cf47e981f9
child 32 73a1feb507fb
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MUSHENGOUTSESSIONOBSERVER_H
       
    20 #define MUSHENGOUTSESSIONOBSERVER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "musengsessionobserver.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 * An interface to be implemented by users of Multimedia Sharing Engine if they 
       
    29 * wish to receive feedback from outsent INVITE. All the callback functions 
       
    30 * represent an answer from network to sent INVITE.
       
    31 *
       
    32 * This observer is set using CMusEngSession::SetSessionObserver function.
       
    33 *
       
    34 * @lib musengine.lib
       
    35 * @since S60 v3.2
       
    36 */
       
    37 class MMusEngOutSessionObserver : public MMusEngSessionObserver
       
    38     {
       
    39     public:
       
    40 
       
    41 		/**    
       
    42    		* Indicates that MT has rejected session. ( e.g. 603 DECLINE )
       
    43         * @since S60 v3.2
       
    44 		*/
       
    45      	virtual void SessionRejected() = 0;
       
    46     	
       
    47     	/**
       
    48     	* The following functions represent a specific reason in answer
       
    49     	* to sent INVITE.
       
    50     	* @since S60 v3.2
       
    51     	*/
       
    52     	
       
    53 		virtual void SessionBadRequest() = 0; // 400 
       
    54 		virtual void SessionUnauthorized() = 0; // 401 
       
    55 		virtual void SessionPaymentRequired() = 0; // 402
       
    56     	virtual void SessionRecipientNotFound() = 0; // 404 
       
    57 		virtual void SessionProxyAuthenticationRequired() = 0; // 407
       
    58 		virtual void SessionRequestTimeOut() = 0; // 408
       
    59 		virtual void SessionUnsupportedMediaType() = 0; // 415 
       
    60 		virtual void SessionRequestCancelled() = 0; // 487    	
       
    61 
       
    62   	
       
    63     };
       
    64 
       
    65 #endif