voipplugins/sipconnectionprovider/inc/scpsipconnectionobserver.h
changeset 0 a4daefaec16c
child 9 bddb6d4447db
equal deleted inserted replaced
-1:000000000000 0:a4daefaec16c
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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 M_SCPSIPCONNECTIONOBSERVER_H
       
    20 #define M_SCPSIPCONNECTIONOBSERVER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <e32base.h>
       
    24 
       
    25 #include "scpdefs.h"
       
    26 
       
    27 /**
       
    28  *  MScpSipConnectionObserver declaration.
       
    29  *  @lib sipconnectionprovider.dll
       
    30  */
       
    31 class MScpSipConnectionObserver
       
    32     {
       
    33 public:
       
    34 
       
    35     /**
       
    36      * SIP profile state observer.
       
    37      * @param aProfileId SIP profile id
       
    38      * @param aSipEvent A new event of SIP profile.
       
    39      */
       
    40     virtual void HandleSipConnectionEvent( TUint32 aProfileId,
       
    41                                            TScpConnectionEvent aEvent ) = 0;
       
    42         
       
    43     };
       
    44 
       
    45 /**
       
    46  *  MScpConnectionObserver declaration.
       
    47  *  @lib sipconnectionprovider.dll
       
    48  */
       
    49 class MScpConnectionObserver
       
    50     {
       
    51 public:
       
    52 
       
    53     /**
       
    54      * SIP profile state observer.
       
    55      * @param aProfileId SIP profile id
       
    56      * @param aSipEvent A new event of SIP profile.
       
    57      */
       
    58     virtual void HandleConnectionEvent( TScpConnectionEvent aEvent ) = 0;
       
    59         
       
    60     };
       
    61 
       
    62 
       
    63 #endif // M_SCPSIPCONNECTIONOBSERVER_H
       
    64 
       
    65 // End of file