diff -r fb024d5e35fa -r 64c62431ac08 multimediacommscontroller/mmccmsrpsourcesink/inc/mccmsrpinterface.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/multimediacommscontroller/mmccmsrpsourcesink/inc/mccmsrpinterface.h Mon Sep 06 17:32:13 2010 +0530 @@ -0,0 +1,87 @@ +/* +* Copyright (c) 2004-2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Provides a comfort noise generator class +* +*/ + + +#ifndef MCCMSRPINTERFACE_H +#define MCCMSRPINTERFACE_H + +// INCLUDES +#include +#include "mccinternalcodecs.h" +#include "mmccevents.h" +#include "mccinternalevents.h" +#include "mccexpirationhandler.h" +#include "mccinternaldef.h" +#include "msrpcallbackmgrobserver.h" + +#include +#include + + +// FORWARD DECLARATIONS + +class TMccEvent; + + +// CLASS DECLARATION + +/** +* Class to pass the session related parameters to the MSRP source/sink. +* +* @lib Mccmsrpsourcesink.dll +* @since Series 60 3.0 +*/ +class TMccMsrpSessionParams + { + public: + + inline TMccMsrpSessionParams() : iMsrp( NULL ), iMsrpSession( NULL ) + { + } + + inline TMccMsrpSessionParams( CMSRP* aMsrp, CMSRPSession* aMsrpSession ) : + iMsrp( aMsrp ), + iMsrpSession( aMsrpSession ) + { } + + inline TMccMsrpSessionParams( CMSRP* aMsrp, CMSRPSession* aMsrpSession, CMsrpCallbackMgrObserver* aMsrpObserver ) : + iMsrp( aMsrp ), + iMsrpSession( aMsrpSession ), + iMsrpObserver (aMsrpObserver) + { } + + + virtual void SetSessionParamsL( const TMccMsrpSessionParams& /*aParams*/ ) + { + } + + + public: // data + + CMSRP* iMsrp; + + CMSRPSession* iMsrpSession; + + CMsrpCallbackMgrObserver* iMsrpObserver; + }; + + + + +#endif // MCCMSRPINTERFACE_H + +// End of File