wlanutilities/wlanqtutilities/stubs/stub_wlanmgmtclient.cpp
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 use in emulator.
       
    16 */
       
    17 
       
    18 #include <e32std.h>
       
    19 #include <e32base.h>
       
    20 #include "wlanmgmtclient.h"
       
    21 
       
    22 // ---------------------------------------------------------
       
    23 // CWlanScanRequest::NewL
       
    24 // ---------------------------------------------------------
       
    25 //
       
    26 CWlanMgmtClient* CWlanMgmtClient::NewL()
       
    27     {
       
    28     CWlanMgmtClient* self = new CWlanMgmtClient;
       
    29     return self;
       
    30     }
       
    31     
       
    32 // ---------------------------------------------------------
       
    33 // CWlanScanRequest::~CWlanMgmtClient
       
    34 // ---------------------------------------------------------
       
    35 //
       
    36 CWlanMgmtClient::~CWlanMgmtClient()
       
    37     {
       
    38     }
       
    39 
       
    40 // ---------------------------------------------------------
       
    41 // CWlanScanRequest::CWlanMgmtClient
       
    42 // ---------------------------------------------------------
       
    43 //
       
    44 CWlanMgmtClient::CWlanMgmtClient()
       
    45     {
       
    46     }
       
    47 
       
    48 // ---------------------------------------------------------
       
    49 // CWlanScanRequest::GetScanResults
       
    50 // ---------------------------------------------------------
       
    51 //
       
    52 void CWlanMgmtClient::GetScanResults(
       
    53     TRequestStatus& aStatus,
       
    54     CWlanScanInfo& aResults )
       
    55     {
       
    56     // Complete the request immediately
       
    57     TRequestStatus *status = &aStatus;
       
    58     User::RequestComplete(status, KErrNone);
       
    59     
       
    60     // Results are returned when asked per AP
       
    61     (void)aResults;
       
    62     }
       
    63 
       
    64 // ---------------------------------------------------------
       
    65 // CWlanScanRequest::GetScanResults
       
    66 // ---------------------------------------------------------
       
    67 //
       
    68 void CWlanMgmtClient::GetScanResults(
       
    69     TWlanSsid& aSsid,
       
    70     TRequestStatus& aStatus,
       
    71     CWlanScanInfo& aResults )
       
    72     {
       
    73     // Complete the request immediately
       
    74     TRequestStatus *status = &aStatus;
       
    75     User::RequestComplete(status, KErrNone);
       
    76     
       
    77     // Results are returned when asked per AP
       
    78     (void)aSsid;
       
    79     (void)aResults;
       
    80     }
       
    81 
       
    82 // ---------------------------------------------------------
       
    83 // CWlanScanRequest::CancelGetScanResults
       
    84 // ---------------------------------------------------------
       
    85 //
       
    86 void CWlanMgmtClient::CancelGetScanResults()
       
    87     {
       
    88     }