wlanutilities/wlansniffer/engine/server/inc/wsfwlanconnectiondetailsprovider.h
branchRCL_3
changeset 55 f28ada11abbf
equal deleted inserted replaced
54:63be7eb3fc78 55: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 MWsfWlanConnectionDetailsProvider
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef M_WSFWLANCONNECTIONDETAILSPROVIDER_H
       
    21 #define M_WSFWLANCONNECTIONDETAILSPROVIDER_H
       
    22 
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <e32def.h>
       
    26 
       
    27 
       
    28 //  FORWARD DECLARATIONS
       
    29 class TWsfWlanInfo;
       
    30 
       
    31 
       
    32 //  CLASS DEFINITION
       
    33 /**
       
    34 * Class acts as an interface to the WLAN bearer monitor to let different 
       
    35 * parts of the engine query the properties of the current WLAN connection.
       
    36 * 
       
    37 * @since S60 5.0
       
    38 */
       
    39 class MWsfWlanConnectionDetailsProvider
       
    40     {
       
    41     public:     // Abstract methods
       
    42         
       
    43         /**
       
    44         * Fills TWsfWlanInfo with the connected wlan's properties
       
    45         * @since S60 5.0
       
    46         * @param aWlanInfo The wlaninfo structure to be filled
       
    47         * @return ETrue if there is a connection and returned data is valid, 
       
    48         *         EFalse otherwise
       
    49         */ 
       
    50         virtual TBool ConnectedWlanConnectionDetailsL( 
       
    51                                                 TWsfWlanInfo* aWlanInfo ) = 0;
       
    52         
       
    53         /**
       
    54         * Queries if there is an active WLAN connection.
       
    55         * @since S60 5.2
       
    56         * @return ETrue if there is an active WLAN connection, 
       
    57         *         EFalse otherwise.
       
    58         */ 
       
    59         virtual TBool IsConnected() = 0;
       
    60 
       
    61     };
       
    62 
       
    63 #endif      //  M_WSFWLANCONNECTIONDETAILSPROVIDER_H
       
    64 
       
    65 // End of file