wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlanscanproviderinterface.h
branchRCL_3
changeset 3 6524e815f76f
parent 0 c40eb8fe8501
child 8 e0f767079796
equal deleted inserted replaced
0:c40eb8fe8501 3:6524e815f76f
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    14 * Description:  This abstract class defines WLAN scan provider interface.
    14 * Description:  This abstract class defines WLAN scan provider interface.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 4 %
    19 * %version: 6 %
    20 */
    20 */
    21 
    21 
    22 
    22 
    23 #ifndef WLANSCANPROVIDERINTERFACE_H
    23 #ifndef WLANSCANPROVIDERINTERFACE_H
    24 #define WLANSCANPROVIDERINTERFACE_H
    24 #define WLANSCANPROVIDERINTERFACE_H
       
    25 
       
    26 #include <e32def.h>
    25 
    27 
    26 /**
    28 /**
    27  * @brief Interface definition for WLAN Scan Result Provider API.
    29  * @brief Interface definition for WLAN Scan Result Provider API.
    28  *
    30  *
    29  * This class defines the methods used for issuing and cancelling Scan requests.
    31  * This class defines the methods used for issuing and cancelling Scan requests.
    50      *
    52      *
    51      * @since S60 v5.2
    53      * @since S60 v5.2
    52      */        
    54      */        
    53     virtual void CancelScan() = 0;
    55     virtual void CancelScan() = 0;
    54 
    56 
       
    57     /**
       
    58      * Publish WLAN background scan interval via P&S.
       
    59      *
       
    60      * @since S60 v5.2
       
    61      * @param aInterval Background scan interval in seconds.
       
    62      */
       
    63     virtual void PublishBgScanInterval( TUint32& aInterval ) = 0;
    55     };
    64     };
    56 
    65 
    57 
    66 
    58 
    67 
    59 /**
    68 /**
   109      * @since S60 v5.2
   118      * @since S60 v5.2
   110      */
   119      */
   111     virtual void ScanComplete() = 0;
   120     virtual void ScanComplete() = 0;
   112         
   121         
   113     /**
   122     /**
   114      * Issued when WLAN is disconnected.
   123      * Called to indicate that WLAN is no longer connected.
   115      *
   124      *
   116      * @since S60 v5.2
   125      * @since S60 v5.2
   117      */
   126      */
   118     virtual void NotConnected() = 0;
   127     virtual void NotConnected() = 0;
   119     
   128     
   133      * 
   142      * 
   134      * @param aSettings new settings to be taken into use
   143      * @param aSettings new settings to be taken into use
   135      */
   144      */
   136     virtual void NotifyChangedSettings( TWlanBgScanSettings& aSettings ) = 0;
   145     virtual void NotifyChangedSettings( TWlanBgScanSettings& aSettings ) = 0;
   137 
   146 
       
   147     /**
       
   148      * Start aggressive background scanning.
       
   149      *
       
   150      * @since S60 v5.2
       
   151      * @param aInterval interval for aggressive scan, in seconds
       
   152      * @param aTimeout how long aggressive scanning is carried out
       
   153      */
       
   154     virtual void StartAggressiveBgScan(
       
   155         TUint32& aInterval,
       
   156         TUint32& aTimeout ) = 0;
   138     };
   157     };
   139 
   158 
   140 
   159 
   141 #endif // WLANSCANPROVIDERINTERFACE_H
   160 #endif // WLANSCANPROVIDERINTERFACE_H