|
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 WPSWizard |
|
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 * Start Protected Setup. |
|
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 aSsid SSID of the network to configure. |
|
50 * @param aWpsPin PIN value to be used. "00000000" (string of eight zeros) |
|
51 * if push button method is used. |
|
52 * @param aCredentials Results of a successful Protected Setup operation. |
|
53 * @sa \link psetup Protected Setup-specific error codes \endlink. |
|
54 */ |
|
55 virtual void RunProtectedSetup( |
|
56 TRequestStatus& aStatus, |
|
57 const TWlanSsid& aSsid, |
|
58 const TWlanWpsPin& aWpsPin, |
|
59 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
|
60 |
|
61 /** |
|
62 * Cancel an outstanding Protected Setup operation. |
|
63 */ |
|
64 virtual void CancelProtectedSetup(); |
|
65 |
|
66 private: // Data |
|
67 |
|
68 CWlanMgmtClient(); |
|
69 }; |
|
70 |
|
71 #endif // WLANMGMTCLIENT_H |