wlanutilities/wpswizard/stubs/stub_wlanmgmtclient.cpp
branchRCL_3
changeset 25 f28ada11abbf
parent 24 63be7eb3fc78
--- a/wlanutilities/wpswizard/stubs/stub_wlanmgmtclient.cpp	Tue Aug 31 16:18:40 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-/*
-* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-* WLAN Management API stubbing for WPS Wizard use in emulator.
-*/
-
-#include <e32std.h>
-#include <e32base.h>
-#include "wlanmgmtclient.h"
-
-// ---------------------------------------------------------
-// CWlanScanRequest::NewL
-// ---------------------------------------------------------
-//
-CWlanMgmtClient* CWlanMgmtClient::NewL()
-    {
-    CWlanMgmtClient* self = new CWlanMgmtClient;
-    return self;
-    }
-    
-// ---------------------------------------------------------
-// CWlanScanRequest::~CWlanMgmtClient
-// ---------------------------------------------------------
-//
-CWlanMgmtClient::~CWlanMgmtClient()
-    {
-    }
-
-// ---------------------------------------------------------
-// CWlanScanRequest::CWlanMgmtClient
-// ---------------------------------------------------------
-//
-CWlanMgmtClient::CWlanMgmtClient()
-    {
-    }
-
-// ---------------------------------------------------------
-// CWlanScanRequest::RunProtectedSetup
-// ---------------------------------------------------------
-//
-void CWlanMgmtClient::RunProtectedSetup(
-    TRequestStatus& aStatus,
-    const TWlanSsid& aSsid,
-    const TWlanWpsPin& /* aWpsPin */,
-    CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials )
-{
-    // Complete the request immediately
-    TRequestStatus *status = &aStatus;
-    TInt err = KErrNone;
-    TWlanProtectedSetupCredentialAttribute attr;
-    
-    attr.iSsid.Copy(aSsid);
-    attr.iSecurityMode = EWlanIapSecurityModeAllowUnsecure;
-    attr.iAuthenticationMode = EWlanAuthenticationModeOpen;
-    attr.iOperatingMode = EWlanOperatingModeInfrastructure;
-    attr.iWepDefaultKey = EWlanDefaultWepKey1;
-    
-    TRAP(err, aCredentials.AppendL(attr) );
-    User::RequestComplete(status, err);
-}
-
-// ---------------------------------------------------------
-// CWlanScanRequest::CancelProtectedSetup
-// ---------------------------------------------------------
-//
-void CWlanMgmtClient::CancelProtectedSetup()
-    {
-    }
-