sipvoipprovider/inc/svpemergencyconnectionobserver.h
branchRCL_3
changeset 22 d38647835c2e
parent 0 a4daefaec16c
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2007-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:  Observes emergency connection
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_SVPEMERGENCYCONNECTIONOBSERVER_H
       
    20 #define M_SVPEMERGENCYCONNECTIONOBSERVER_H
       
    21 
       
    22 
       
    23 /**
       
    24  *  Observes emergency connection.
       
    25  *  Observes: SNAP connected, IAP connected, SIP proxy address ready, and 
       
    26  *  error occurred.
       
    27  *
       
    28  *  @lib svp.dll
       
    29  *  @since S60 v3.2
       
    30  */
       
    31 class MSVPEmergencyConnectionObserver
       
    32     {
       
    33 
       
    34 public:
       
    35 
       
    36     /**
       
    37      * Notifies observer that SNAP connection is established
       
    38      *
       
    39      * @since S60 3.2
       
    40      */
       
    41     virtual void SnapConnected() = 0;
       
    42 
       
    43     /**
       
    44      * Notifies observer that IAP connection is established
       
    45      *
       
    46      * @since S60 3.2
       
    47      */
       
    48     virtual void Connected() = 0;
       
    49 
       
    50     /**
       
    51      * Notifies observer that SIP proxy address is ready
       
    52      *
       
    53      * @since S60 3.2
       
    54      * @param aAddress SIP proxy address
       
    55      */
       
    56     virtual void SipProxyAddressReady( const TDesC16& aAddress ) = 0;
       
    57 
       
    58     /**
       
    59      * Notifies observer that error has occurred
       
    60      *
       
    61      * @since S60 3.2
       
    62      * @param aError Symbian error code
       
    63      */
       
    64     virtual void ConnectionError( TInt aError ) = 0;
       
    65 
       
    66     };
       
    67 
       
    68 #endif // M_SVPEMERGENCYCONNECTIONOBSERVER_H