wlanutilities/wlansniffer/engine/server/inc/wsfwlanmonitorobserver.h
branchRCL_3
changeset 25 f28ada11abbf
parent 0 56b72877c1cb
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
       
     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:  Class header for MWsfWlanMonitorObserver
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef M_WSFWLANMONITOROBSERVER_H
       
    21 #define M_WSFWLANMONITOROBSERVER_H
       
    22 
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <e32def.h>
       
    26 
       
    27 
       
    28 //  CLASS DEFINITION
       
    29 /**
       
    30  * Abstact interface definition class for wlan connection detection
       
    31  * @since S60 5.0
       
    32  */
       
    33 class MWsfWlanMonitorObserver
       
    34     {
       
    35     public:     // Abstract methods
       
    36     
       
    37         /**
       
    38         * Called when a wlan connection is established
       
    39         * @since S60 5.0
       
    40         * @param aConnectionName WLAN connection name (SSID)
       
    41         */
       
    42         virtual void ConnectionEstablishedL( 
       
    43                                         const TDesC& aConnectionName ) = 0;
       
    44 
       
    45         /**
       
    46           * Called when wlan connection has been lost
       
    47           * @since S60 5.0
       
    48          */
       
    49         virtual void ConnectionLostL() = 0;
       
    50         
       
    51         /**
       
    52         * Called when the connection process failed for some reason
       
    53         * @since S60 5.0
       
    54         * @param aError System wide error code
       
    55         */
       
    56         virtual void ConnectingFailedL( TInt aError ) = 0;
       
    57         
       
    58         /**
       
    59         * Called when the connection no longer needs the IAP it was using
       
    60         * @since S60 5.0
       
    61         */
       
    62         virtual void ConnectedIapReleasedL() = 0;
       
    63 
       
    64     };
       
    65 
       
    66 
       
    67 #endif // M_WSFWLANMONITOROBSERVER_H
       
    68