wlanutilities/wlansniffer/engine/server/inc/wsfengineobserver.h
branchRCL_3
changeset 24 63be7eb3fc78
parent 23 b852595f5cbe
child 25 f28ada11abbf
equal deleted inserted replaced
23:b852595f5cbe 24:63be7eb3fc78
     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 MWsfEngineObserver
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef M_WSFENGINEOBSERVER_H
       
    21 #define M_WSFENGINEOBSERVER_H
       
    22 
       
    23 //  EXTERNAL INCLUDES
       
    24 #include <e32def.h>
       
    25 
       
    26 
       
    27 //  CLASS DEFINITION
       
    28 /*
       
    29 * Class acts as an interface for the CWsfEngine to be able to call back 
       
    30 * its clients in case of different events.
       
    31 *
       
    32 * @since S60 5.0
       
    33 */
       
    34 class MWsfEngineObserver
       
    35     {
       
    36     public:     // Abstract methods
       
    37     
       
    38         /**
       
    39         * Called when the WLAN scanning is finished and results are available
       
    40         * @since S60 5.0
       
    41         */
       
    42         virtual void WlanListChangedL() = 0;
       
    43 
       
    44         /**
       
    45         * Called when an error occured in the engine
       
    46         * @since S60 5.0
       
    47         * @param aError System wide error code
       
    48         */
       
    49         virtual void NotifyErrorL( TInt aError ) = 0;
       
    50 
       
    51         /**
       
    52         * Called when the WLAN scanning has been enabled
       
    53         * @since S60 5.0
       
    54         */
       
    55         virtual void ScanEnabledL() = 0;
       
    56         
       
    57         /**
       
    58         * Called when the WLAN scanning has been disabled
       
    59         * @since S60 5.0
       
    60         */
       
    61         virtual void ScanDisabledL() = 0;
       
    62         
       
    63         /**
       
    64         * Called when a WLAN connection has been established
       
    65         * @since S60 5.0
       
    66         */
       
    67         virtual void ConnectedL() = 0;
       
    68         
       
    69         /**
       
    70         * Called when the active WLAN connection has been terminated
       
    71         * @since S60 5.0
       
    72         */
       
    73         virtual void DisconnectedL() = 0;
       
    74         
       
    75         /**
       
    76         * Called when an error occured during the connecting process
       
    77         * @since S60 5.0
       
    78         * @param aError System wide error code
       
    79         */
       
    80         virtual void ConnectingFailedL( TInt aError ) = 0;
       
    81 
       
    82     };
       
    83 
       
    84 #endif      //  M_WSFENGINEOBSERVER_H
       
    85 
       
    86 // End of file