mmsharing/mmshengine/inc/musengreceivesessionobserver.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 0 f0cf47e981f9
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
       
     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 MUSHENGRECEIVESESSIONOBSERVER_H
       
    20 #define MUSHENGRECEIVESESSIONOBSERVER_H
       
    21 
       
    22 // INCLUDES
       
    23 
       
    24 #include <e32cmn.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 * Observer interface to be implemented by clients interested about notifications
       
    30 * of receiving (MT) side session specific events.
       
    31 */
       
    32 class MMusEngReceiveSessionObserver
       
    33     {
       
    34 
       
    35     public:
       
    36     
       
    37         /**
       
    38         * There is new incoming session. 
       
    39         * Session is not yet handled in any way and cannot yet be accepted
       
    40         * or rejected. User should not be notified at this stage.
       
    41         */
       
    42         virtual void IncomingSessionPreNotification() = 0;
       
    43         
       
    44         /**
       
    45         * There is new incoming session ready to be accepted or rejected.
       
    46         * User can be notified.
       
    47         */
       
    48         virtual void IncomingSession( const TDesC& aOriginator, 
       
    49                                       const TDesC& aOriginatorIdentity ) = 0;
       
    50 
       
    51         /**
       
    52         * Current receiving session is buffering received RTP.
       
    53         */
       
    54         virtual void StreamBuffering() = 0;
       
    55         
       
    56     };
       
    57 
       
    58 #endif