wlanutilities/wlansniffer/engine/client/inc/wsfstatechangeobserver.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 MWsfStateChangeObserver
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef M_WSFSTATECHANGEOBSERVER_H
       
    22 #define M_WSFSTATECHANGEOBSERVER_H
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <e32std.h>
       
    26 
       
    27 
       
    28 //  CLASS DEFINITION
       
    29 /**
       
    30  * Mixin class to handle server events
       
    31  *
       
    32  * MWsfStateChangeObserver provides an interface through which 
       
    33  * the implementing class can receive notifications of different server events
       
    34  * communicated by the client-side event handler.
       
    35  *
       
    36  * @since S60 5.0
       
    37  */
       
    38 class MWsfStateChangeObserver
       
    39     {
       
    40     public:
       
    41         /**
       
    42         * The current wlan data has changed and it is ready to be retrieved
       
    43         * @since S60 5.0
       
    44         */
       
    45         virtual void WlanListChangedL() = 0;
       
    46 
       
    47         /**
       
    48         * Engine error occured
       
    49         * @since S60 5.0
       
    50         * @param aError System wide error code
       
    51         */
       
    52         virtual void NotifyEngineError( TInt aError ) = 0;
       
    53 
       
    54         /**
       
    55         * Scanning has been disabled
       
    56         * @since S60 5.0
       
    57         */
       
    58         virtual void ScanDisabledL() = 0;
       
    59 
       
    60         /**
       
    61         * Scanning has been enabled
       
    62         * @since S60 5.0
       
    63         */
       
    64         virtual void ScanEnabledL() = 0;
       
    65         
       
    66         /**
       
    67         * A WLAN connection has been established
       
    68         * @since S60 5.0
       
    69         */
       
    70         virtual void WlanConnectionActivatedL() = 0;
       
    71 
       
    72         /**
       
    73         * A WLAN connection has been closed
       
    74         * @since S60 5.0
       
    75         */
       
    76         virtual void WlanConnectionClosedL() = 0;
       
    77         
       
    78         /**
       
    79         * A WLAN connection creation finished
       
    80         * @since S60 5.2
       
    81         * @param aError System wide error code
       
    82         */
       
    83         virtual void ConnectionCreationProcessFinishedL( TInt aError ) = 0;
       
    84         
       
    85         
       
    86     };
       
    87 
       
    88 
       
    89 #endif // M_WSFSTATECHANGEOBSERVER_H