convergedcallengine/cce/inc/mccecallinfomediator.h
changeset 0 ff3b6d0fd310
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2008-2008 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:  Interface to send responses and events about call infos.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCCECALLINFOMEDIATOR_H
       
    20 #define MCCECALLINFOMEDIATOR_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 /**
       
    25  *  Interface to send call info responses and events
       
    26  *
       
    27  *  @lib CCE.lib
       
    28  *  @since S60 5.0
       
    29  */
       
    30 NONSHARABLE_CLASS( MCCECallInfoMediator ) 
       
    31     {
       
    32 public:
       
    33 
       
    34     /**
       
    35      * Sends response for mediator command. 
       
    36      *
       
    37      * @since S60 5.0
       
    38      * @param aCommandId Id of the command, which response this is.
       
    39      * @param aData Data to be sent.
       
    40      */
       
    41     virtual void SendResponse( TInt aCommandId, const TDesC8& aData ) = 0;
       
    42     
       
    43     /**
       
    44      * Raises mediator event.
       
    45      * 
       
    46      * @since S60 5.0
       
    47      * @param aEventId Id of the event
       
    48      * @param aData Data to be sent
       
    49      */
       
    50     virtual void RaiseEvent( TInt aEventId, const TDesC8& aData ) = 0;
       
    51 
       
    52     };
       
    53 
       
    54 
       
    55 #endif // MCCECALLINFOMEDIATOR_H