multimediacommscontroller/mmccmsrpsourcesink/inc/mccmsrpinterface.h
branchrcs
changeset 49 64c62431ac08
child 50 1d8943dd8be6
equal deleted inserted replaced
44:fb024d5e35fa 49:64c62431ac08
       
     1 /*
       
     2 * Copyright (c) 2004-2006 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:    Provides a comfort noise generator class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCCMSRPINTERFACE_H
       
    20 #define MCCMSRPINTERFACE_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <mmf/common/mmfutilities.h>
       
    24 #include "mccinternalcodecs.h"
       
    25 #include "mmccevents.h"
       
    26 #include "mccinternalevents.h"
       
    27 #include "mccexpirationhandler.h"
       
    28 #include "mccinternaldef.h"
       
    29 #include "msrpcallbackmgrobserver.h"
       
    30 
       
    31 #include <CMSRP.h>
       
    32 #include <CMSRPSession.h>
       
    33 
       
    34 
       
    35 // FORWARD DECLARATIONS
       
    36 
       
    37 class TMccEvent;
       
    38 
       
    39 
       
    40 // CLASS DECLARATION
       
    41 
       
    42 /**
       
    43 * Class to pass the session related parameters to the MSRP source/sink.
       
    44 * 
       
    45 * @lib Mccmsrpsourcesink.dll
       
    46 * @since Series 60 3.0
       
    47 */
       
    48 class TMccMsrpSessionParams
       
    49     {
       
    50     public:
       
    51         
       
    52         inline TMccMsrpSessionParams() : iMsrp( NULL ), iMsrpSession( NULL ) 
       
    53 		{ 
       
    54 		}
       
    55 
       
    56         inline TMccMsrpSessionParams( CMSRP* aMsrp, CMSRPSession* aMsrpSession ) :
       
    57             iMsrp( aMsrp ),
       
    58             iMsrpSession( aMsrpSession )
       
    59             { }
       
    60         
       
    61         inline TMccMsrpSessionParams( CMSRP* aMsrp, CMSRPSession* aMsrpSession, CMsrpCallbackMgrObserver* aMsrpObserver ) :
       
    62             iMsrp( aMsrp ),
       
    63             iMsrpSession( aMsrpSession ),
       
    64             iMsrpObserver (aMsrpObserver)
       
    65             { }
       
    66         
       
    67         
       
    68         virtual void SetSessionParamsL( const TMccMsrpSessionParams& /*aParams*/ )
       
    69             {
       
    70             }
       
    71         
       
    72 
       
    73     public: // data
       
    74 
       
    75         CMSRP* iMsrp;
       
    76 		
       
    77 		CMSRPSession* iMsrpSession;
       
    78 		
       
    79         CMsrpCallbackMgrObserver* iMsrpObserver;
       
    80     };
       
    81 
       
    82 
       
    83 
       
    84 
       
    85 #endif      // MCCMSRPINTERFACE_H
       
    86             
       
    87 // End of File