|
1 /* |
|
2 * Copyright (c) 2001-2009 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 License "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: Stub implementation of wifiprotplugin for |
|
15 * non-WLAN products to support linking. |
|
16 * |
|
17 */ |
|
18 |
|
19 /* |
|
20 * %version: 1 % |
|
21 */ |
|
22 |
|
23 // INCLUDE FILES |
|
24 |
|
25 #include <cmmanagerext.h> |
|
26 #include <wifiprotreturn.h> |
|
27 #include <wifiprotuiinprocess.h> |
|
28 |
|
29 #include "wifiprotplugin.h" |
|
30 #include "wifiprotdlgsplugin.h" |
|
31 #include "wifiprotactiverunner.h" |
|
32 |
|
33 using namespace WiFiProt; |
|
34 |
|
35 |
|
36 // ===================== STUB FOR wifiprotplugin.cpp ======================== |
|
37 |
|
38 // -------------------------------------------------------------------------- |
|
39 // NotifierArray() |
|
40 // Lib main entry point |
|
41 // -------------------------------------------------------------------------- |
|
42 // |
|
43 EXPORT_C CArrayPtr<MEikSrvNotifierBase2>* NotifierArray() |
|
44 { |
|
45 return NULL; |
|
46 } |
|
47 |
|
48 |
|
49 |
|
50 // =================== STUB FOR wifiprotuiinprocess.cpp ===================== |
|
51 |
|
52 // -------------------------------------------------------------------------- |
|
53 // CWifiProtUiInProcess* CWifiProtUiInProcess::NewL() |
|
54 // -------------------------------------------------------------------------- |
|
55 // |
|
56 EXPORT_C CWifiProtUiInProcess* CWifiProtUiInProcess::NewL( RCmManagerExt* |
|
57 aCmManagerExt ) |
|
58 { |
|
59 User::Leave(KErrNotSupported); |
|
60 return NULL; |
|
61 } |
|
62 |
|
63 |
|
64 // -------------------------------------------------------------------------- |
|
65 // CWifiProtUiInProcess::~CWifiProtUiInProcess |
|
66 // -------------------------------------------------------------------------- |
|
67 // |
|
68 CWifiProtUiInProcess::~CWifiProtUiInProcess( ) |
|
69 |
|
70 { |
|
71 } |
|
72 |
|
73 // -------------------------------------------------------------------------- |
|
74 // WiFiProt::TWiFiReturn CWifiProtUiInProcess::StartFromUiL |
|
75 // -------------------------------------------------------------------------- |
|
76 // |
|
77 EXPORT_C WiFiProt::TWiFiReturn CWifiProtUiInProcess::StartFromUiL( |
|
78 const TWlanSsid& aSSid, |
|
79 TBool aConnectionNeeded, |
|
80 RArray<TUint32>& aUidsReturned ) |
|
81 { |
|
82 return EWiFiCancel; |
|
83 } |
|
84 |
|
85 |
|
86 // =================== STUB FOR wifiprotdlgsplugin.cpp ====================== |
|
87 |
|
88 // -------------------------------------------------------------------------- |
|
89 // CWiFiProtDlgsPlugin* CWiFiProtDlgsPlugin::NewL() |
|
90 // -------------------------------------------------------------------------- |
|
91 // |
|
92 CWiFiProtDlgsPlugin* CWiFiProtDlgsPlugin::NewL( |
|
93 const TBool aResourceFileResponsible, |
|
94 RCmManagerExt* aCmManagerExt ) |
|
95 |
|
96 { |
|
97 User::Leave(KErrNotSupported); |
|
98 return NULL; |
|
99 } |
|
100 |
|
101 CWiFiProtDlgsPlugin* CWiFiProtDlgsPlugin::NewL( |
|
102 const TBool aResourceFileResponsible ) |
|
103 { |
|
104 User::Leave(KErrNotSupported); |
|
105 return NULL; |
|
106 } |
|
107 |
|
108 // -------------------------------------------------------------------------- |
|
109 // CWiFiProtDlgsPlugin::~CWiFiProtDlgsPlugin |
|
110 // -------------------------------------------------------------------------- |
|
111 // |
|
112 CWiFiProtDlgsPlugin::~CWiFiProtDlgsPlugin( ) |
|
113 |
|
114 { |
|
115 } |
|
116 |
|
117 // -------------------------------------------------------------------------- |
|
118 // CWiFiProtDlgsPlugin::TNotifierInfo |
|
119 // CWiFiProtDlgsPlugin::Info() const |
|
120 // -------------------------------------------------------------------------- |
|
121 // |
|
122 CWiFiProtDlgsPlugin::TNotifierInfo CWiFiProtDlgsPlugin::Info() const |
|
123 { |
|
124 return iInfo; |
|
125 } |
|
126 |
|
127 // -------------------------------------------------------------------------- |
|
128 // TPtrC8 CWiFiProtDlgsPlugin::StartL() |
|
129 // -------------------------------------------------------------------------- |
|
130 // |
|
131 TPtrC8 CWiFiProtDlgsPlugin::StartL( const TDesC8& /*aBuffer*/ ) |
|
132 { |
|
133 return NULL; |
|
134 } |
|
135 |
|
136 // -------------------------------------------------------------------------- |
|
137 // void CWiFiProtDlgsPlugin::Cancel() |
|
138 // -------------------------------------------------------------------------- |
|
139 // |
|
140 void CWiFiProtDlgsPlugin::Cancel() |
|
141 { |
|
142 } |
|
143 |
|
144 // -------------------------------------------------------------------------- |
|
145 // void CWiFiProtDlgsPlugin::Release() |
|
146 // -------------------------------------------------------------------------- |
|
147 // |
|
148 void CWiFiProtDlgsPlugin::Release() |
|
149 { |
|
150 } |
|
151 |
|
152 // -------------------------------------------------------------------------- |
|
153 // TPtrC8 CWiFiProtDlgsPlugin::UpdateL() |
|
154 // -------------------------------------------------------------------------- |
|
155 // |
|
156 TPtrC8 CWiFiProtDlgsPlugin::UpdateL(const TDesC8& /*aBuffer*/) |
|
157 { |
|
158 return NULL; |
|
159 } |
|
160 |
|
161 // -------------------------------------------------------------------------- |
|
162 // CWiFiProtDlgsPlugin::TNotifierInfo CWiFiProtDlgsPlugin::RegisterL() |
|
163 // -------------------------------------------------------------------------- |
|
164 // |
|
165 CWiFiProtDlgsPlugin::TNotifierInfo CWiFiProtDlgsPlugin::RegisterL() |
|
166 { |
|
167 return iInfo; |
|
168 } |
|
169 |
|
170 // -------------------------------------------------------------------------- |
|
171 // void CWiFiProtDlgsPlugin::StartL |
|
172 // -------------------------------------------------------------------------- |
|
173 // |
|
174 void CWiFiProtDlgsPlugin::StartL( const TDesC8& aBuffer, |
|
175 TInt aReplySlot, |
|
176 const RMessagePtr2& aMessage ) |
|
177 { |
|
178 } |
|
179 |
|
180 |
|
181 |
|
182 // =================== STUB FOR wifiprotactiverunner.cpp ====================== |
|
183 |
|
184 CWiFiProtActiveRunner* CWiFiProtActiveRunner::NewL( |
|
185 CWiFiProtDlgsPlugin* aParent, TInt aPriority ) |
|
186 { |
|
187 User::Leave(KErrNotSupported); |
|
188 return NULL; |
|
189 } |
|
190 |
|
191 // -------------------------------------------------------------------------- |
|
192 // CWiFiProtActiveRunner::~CWiFiProtActiveRunner |
|
193 // -------------------------------------------------------------------------- |
|
194 // |
|
195 CWiFiProtActiveRunner::~CWiFiProtActiveRunner() |
|
196 { |
|
197 } |
|
198 |
|
199 // -------------------------------------------------------------------------- |
|
200 // CWiFiProtActiveRunner::DoCancel |
|
201 // -------------------------------------------------------------------------- |
|
202 // |
|
203 void CWiFiProtActiveRunner::DoCancel() |
|
204 { |
|
205 } |
|
206 |
|
207 // -------------------------------------------------------------------------- |
|
208 // CWiFiProtActiveRunner::RunL |
|
209 // -------------------------------------------------------------------------- |
|
210 // |
|
211 void CWiFiProtActiveRunner::RunL() |
|
212 { |
|
213 } |
|
214 |
|
215 // -------------------------------------------------------------------------- |
|
216 // CWiFiProtActiveRunner::PinQueryExitL |
|
217 // -------------------------------------------------------------------------- |
|
218 // |
|
219 void CWiFiProtActiveRunner::PinQueryExitL( TInt aResponse ) |
|
220 { |
|
221 } |
|
222 |
|
223 // -------------------------------------------------------------------------- |
|
224 // CWiFiProtActiveRunner::DialogDismissedL |
|
225 // -------------------------------------------------------------------------- |
|
226 // |
|
227 void CWiFiProtActiveRunner::DialogDismissedL( TInt aButtonId ) |
|
228 { |
|
229 } |
|
230 |
|
231 // End of File |