equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 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 "Eclipse Public License v1.0" |
5 * under the terms of "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". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * WLAN Wizard API |
15 * WLAN Wizard API |
16 * |
16 */ |
17 */ |
|
18 |
17 |
19 #ifndef WLANWIZARD_H |
18 #ifndef WLANWIZARD_H |
20 #define WLANWIZARD_H |
19 #define WLANWIZARD_H |
21 |
20 |
22 // System includes |
21 // System includes |
45 class WLAN_WIZARD_EXPORT WlanWizard: public QObject |
44 class WLAN_WIZARD_EXPORT WlanWizard: public QObject |
46 { |
45 { |
47 Q_OBJECT |
46 Q_OBJECT |
48 |
47 |
49 public: |
48 public: |
50 explicit WlanWizard(HbMainWindow *mainWindow ); |
49 explicit WlanWizard(HbMainWindow *mainWindow); |
51 virtual ~WlanWizard(); |
50 ~WlanWizard(); |
52 |
51 |
53 void setParameters( |
52 void setParameters( |
54 const QString &ssid, |
53 const QString &ssid, |
55 int networkMode, |
54 int networkMode, |
56 int securityMode, |
55 int securityMode, |
57 bool usePsk, |
56 bool usePsk, |
58 bool hidden, |
|
59 bool wps); |
57 bool wps); |
60 |
58 |
61 signals: |
59 signals: |
62 void cancelled(); |
60 void cancelled(); |
63 void finished(int iapId, bool connected); |
61 void finished(int iapId, bool connected); |
83 friend class TestWlanWizardContext; |
81 friend class TestWlanWizardContext; |
84 }; |
82 }; |
85 |
83 |
86 /*! @} */ |
84 /*! @} */ |
87 |
85 |
88 #endif /* WLANWIZARD_H_ */ |
86 #endif // WLANWIZARD_H |