diff -r 000000000000 -r 1bce908db942 ipappsrv_plat/multimedia_comms_api/inc/mceintransactionobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ipappsrv_plat/multimedia_comms_api/inc/mceintransactionobserver.h Tue Feb 02 01:04:58 2010 +0200 @@ -0,0 +1,64 @@ +/* +* Copyright (c) 2008 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: +* +*/ + + + + +#ifndef MMCEINTRANSACTIONOBSERVER_H +#define MMCEINTRANSACTIONOBSERVER_H + +// INCLUDES +#include +#include + +// FORWARD DECLARATIONS +class TMceTransactionDataContainer; +class CMceSession; + +// CLASS DECLARATION + +/** +* An interface to be implemented by users of MCE if they wish to receive +* extension SIP requests such as INFO within an existing session. +* +* This observer is set using CMceManager::SetInTransactionObserver function. +* +* @lib mceclient.lib +*/ +class MMceInTransactionObserver + { + public: // Session control callbacks + + /** + * New incoming Request received. + * @param aSession + * @param aTransactionId transaction id of the transaction + * @param aContainer, holds details of the incoming SIP request. + */ + virtual void IncomingRequest( + const TDesC8& aMethod, + CMceSession& aSession, + TMceTransactionId aTransactionId, + TMceTransactionDataContainer* aContainer ) = 0; + + }; + +#endif // MMCEINTRANSACTIONOBSERVER_H + + +//End of File +