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 the "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 * WPS Wizard: API implementation. |
|
16 * |
|
17 */ |
|
18 |
|
19 // System includes |
|
20 #include <QApplication> |
|
21 |
|
22 // User includes |
|
23 // WLAN Wizard |
|
24 #include "wlanwizardhelper.h" |
|
25 |
|
26 // WPS Wizard |
|
27 #include "wpswizard.h" |
|
28 #include "wpswizard_p.h" |
|
29 |
|
30 // Wizard Pages |
|
31 #include "wpswizardsteptwo.h" |
|
32 #include "wpswizardstepthreebutton.h" |
|
33 #include "wpswizardstepthreenumber.h" |
|
34 #include "wpswizardstepfour.h" |
|
35 #include "wpswizardstepfive.h" |
|
36 |
|
37 // Trace includes |
|
38 #include "OstTraceDefinitions.h" |
|
39 #ifdef OST_TRACE_COMPILER_IN_USE |
|
40 #include "wpswizardTraces.h" |
|
41 #endif |
|
42 |
|
43 //Forward Declarations |
|
44 class WlanWizardHelper; |
|
45 |
|
46 // External function prototypes |
|
47 |
|
48 //Local Constants |
|
49 |
|
50 /*! |
|
51 \class WpsWizard |
|
52 \brief Provides the WPS wizard implementation |
|
53 */ |
|
54 |
|
55 // ======== LOCAL FUNCTIONS ======== |
|
56 |
|
57 // ======== MEMBER FUNCTIONS ======== |
|
58 |
|
59 /*! |
|
60 Creates the WpsWizard object |
|
61 |
|
62 @param [in] wizardHelper WlanWizardHelper* Helper class to from the framework |
|
63 */ |
|
64 |
|
65 WpsWizard::WpsWizard(WlanWizardHelper *wizardHelper) : |
|
66 d_ptr(NULL) |
|
67 { |
|
68 OstTraceFunctionEntry1(WPSWIZARD_WPSWIZARD_ENTRY, this); |
|
69 d_ptr.reset(new WpsWizardPrivate(this, wizardHelper)); |
|
70 OstTraceFunctionExit1(WPSWIZARD_WPSWIZARD_EXIT, this); |
|
71 } |
|
72 |
|
73 /*! |
|
74 Destructor |
|
75 |
|
76 */ |
|
77 WpsWizard::~WpsWizard() |
|
78 { |
|
79 OstTraceFunctionEntry1(WPSWIZARD_WPSWIZARD_DESTRUCTOR_ENTRY, this); |
|
80 OstTraceFunctionExit1(WPSWIZARD_WPSWIZARD_DESTRUCTOR_EXIT, this); |
|
81 } |
|
82 |
|