wlanutilities/wlanqtutilities/tsrc/stubs/wlanmgmtclient.h
changeset 39 7b3e49e4608a
child 53 bdc64aa9b954
equal deleted inserted replaced
36:682dd021f9be 39:7b3e49e4608a
       
     1 /*
       
     2 * Copyright (c) 2010 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:
       
    15 * WLAN Management API stubbing for WLAN Qt Utilities.
       
    16 */
       
    17 
       
    18 #ifndef WLANMGMTCLIENT_H
       
    19 #define WLANMGMTCLIENT_H
       
    20 
       
    21 #include "wlanmgmtcommon.h"
       
    22 #include "wlanscaninfo.h"
       
    23 
       
    24 // CLASS DECLARATION
       
    25 
       
    26 class CWlanMgmtClient : public CBase
       
    27     {
       
    28     public:  // Methods
       
    29 
       
    30         // Constructors and destructor
       
    31 
       
    32         /**
       
    33          * Static constructor.
       
    34          * @return Pointer to the constructed object.
       
    35          */
       
    36         static CWlanMgmtClient* NewL();
       
    37 
       
    38         /**
       
    39          * Destructor.
       
    40          */
       
    41         ~CWlanMgmtClient();
       
    42 
       
    43         /**
       
    44          * Perform a broadcast scan and return the detected WLAN networks.
       
    45          *
       
    46          * @param aStatus Status of the calling active object. On successful
       
    47          *                completion contains KErrNone, otherwise one of the
       
    48          *                system-wide error codes.
       
    49          * @param aResults Results of the scan.
       
    50          */
       
    51         void GetScanResults(
       
    52             TRequestStatus& aStatus,
       
    53             CWlanScanInfo& aResults );
       
    54 
       
    55         /**
       
    56          * Perform a direct scan for an SSID and return the detected WLAN networks.
       
    57          * If the SSID has zero length, a broadcast scan will be done.
       
    58          *
       
    59          * @param aSsid name of the WLAN network
       
    60          * @param aStatus Status of the calling active object. On successful
       
    61          *                completion contains KErrNone, otherwise one of the
       
    62          *                system-wide error codes.
       
    63          * @param aResults Results of the scan.
       
    64          */
       
    65         void GetScanResults(
       
    66             TWlanSsid& aSsid,
       
    67             TRequestStatus& aStatus,
       
    68             CWlanScanInfo& aResults );
       
    69         
       
    70         /**
       
    71          * Cancel an outstanding scan request.
       
    72          */
       
    73         void CancelGetScanResults();
       
    74         
       
    75     private: // Data
       
    76         
       
    77         CWlanMgmtClient();
       
    78     };
       
    79 
       
    80 #endif // WLANMGMTCLIENT_H