connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifInc/wlancoveragecheck.h
changeset 0 5a93021fdf25
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Declaration of WLAN Coverage Check class
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef WLANCOVERAGECHECK_H
       
    19 #define WLANCOVERAGECHECK_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 //#include <cmpluginwlandef.h>
       
    24 
       
    25 
       
    26 
       
    27 /**
       
    28  *  WLAN Coverage Check
       
    29  *
       
    30  *  ?more_complete_description
       
    31  *
       
    32  *  @since S60 3.2
       
    33  */
       
    34 NONSHARABLE_CLASS( CWlanCoverageCheck ) : public CActive
       
    35     {
       
    36     enum EWlanCoverageState
       
    37         {
       
    38         EServiceStatus,
       
    39         EScanning,
       
    40         EDone,                        
       
    41         };
       
    42         
       
    43     public:
       
    44     
       
    45         CWlanCoverageCheck();
       
    46         ~CWlanCoverageCheck();
       
    47 
       
    48         TBool ScanForPromptedSsidL( TWlanSsid aEnteredSsid, TBool aBroadcast,
       
    49                                 TWlanConnectionMode& aNetworkMode,
       
    50                                 TWlanConnectionSecurityMode& aSecurityMode,
       
    51                                 TWlanConnectionExtentedSecurityMode& aExtSecurityMode,
       
    52                                 TBool& aProtectedSetupSupported );
       
    53         
       
    54     protected:  // from CActive
       
    55     
       
    56         virtual void DoCancel();
       
    57         virtual void RunL();
       
    58 
       
    59     private:
       
    60         TUint32                 iProgState;
       
    61         CActiveSchedulerWait    iWait;    
       
    62     };
       
    63 
       
    64 
       
    65 #endif // WLANCOVERAGECHECK_H