39
|
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 |
* EAP Wizard API
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef EAPWIZARD_H
|
|
20 |
#define EAPWIZARD_H
|
|
21 |
|
|
22 |
// System includes
|
|
23 |
#include <QObject>
|
|
24 |
|
|
25 |
// User includes
|
|
26 |
#include "wlanwizardplugin.h"
|
|
27 |
|
|
28 |
// Forward declarations
|
|
29 |
class WlanWizardHelper;
|
|
30 |
class EapWizardPrivate;
|
|
31 |
class TestWlanWizardContext;
|
|
32 |
|
|
33 |
// External data types
|
|
34 |
|
|
35 |
// Constants
|
|
36 |
#ifdef BUILD_EAP_WIZARD_DLL
|
|
37 |
#define EAP_WIZARD_EXPORT Q_DECL_EXPORT
|
|
38 |
#else
|
|
39 |
#define EAP_WIZARD_EXPORT Q_DECL_IMPORT
|
|
40 |
#endif
|
|
41 |
|
|
42 |
/*!
|
|
43 |
* @addtogroup group_eap_wizard
|
|
44 |
* @{
|
|
45 |
*/
|
|
46 |
|
|
47 |
// Class declaration
|
|
48 |
|
|
49 |
class EAP_WIZARD_EXPORT EapWizard : public QObject, public WlanWizardPlugin
|
|
50 |
{
|
|
51 |
Q_OBJECT
|
|
52 |
|
|
53 |
public:
|
|
54 |
explicit EapWizard(WlanWizardHelper *wizardHelper);
|
|
55 |
~EapWizard();
|
|
56 |
|
|
57 |
public: // From WlanWizardPlugin
|
|
58 |
virtual bool summary(WlanWizardPlugin::Summary sum, QString &item, QString &value);
|
|
59 |
virtual bool storeSettings();
|
|
60 |
virtual QString errorString(int errorCode);
|
|
61 |
|
|
62 |
signals:
|
|
63 |
|
|
64 |
public slots:
|
|
65 |
|
|
66 |
protected:
|
|
67 |
|
|
68 |
protected slots:
|
|
69 |
|
|
70 |
private:
|
|
71 |
Q_DISABLE_COPY(EapWizard)
|
|
72 |
|
|
73 |
private slots:
|
|
74 |
|
|
75 |
private: // data
|
|
76 |
QScopedPointer<EapWizardPrivate> d_ptr;
|
|
77 |
|
|
78 |
// Friend classes
|
|
79 |
friend class EapWizardPrivate;
|
|
80 |
friend class TestWlanWizardContext;
|
|
81 |
};
|
|
82 |
|
|
83 |
/*! @} */
|
|
84 |
|
|
85 |
#endif /* EAPWIZARD_H */
|