equal
deleted
inserted
replaced
17 |
17 |
18 // System includes |
18 // System includes |
19 |
19 |
20 #include <xqservicerequest.h> |
20 #include <xqservicerequest.h> |
21 #include <xqappmgr.h> |
21 #include <xqappmgr.h> |
|
22 #include <xqaiwdeclplat.h> |
22 |
23 |
23 // User includes |
24 // User includes |
24 |
25 |
25 #include "ictswlanlogininterface.h" |
26 #include "ictswlanlogininterface.h" |
26 #include "wlanloginservice.h" |
27 #include "wlanloginservice.h" |
40 */ |
41 */ |
41 |
42 |
42 // External function prototypes |
43 // External function prototypes |
43 |
44 |
44 // Local constants |
45 // Local constants |
|
46 /*! |
|
47 Service application name |
|
48 */ |
|
49 static const QString wlanLoginServiceAppName = QString("wlanlogin"); |
45 |
50 |
46 // ======== LOCAL FUNCTIONS ======== |
51 // ======== LOCAL FUNCTIONS ======== |
47 |
52 |
48 // ======== MEMBER FUNCTIONS ======== |
53 // ======== MEMBER FUNCTIONS ======== |
49 |
54 |
120 { |
125 { |
121 OstTraceFunctionEntry0(ICTSWLANLOGININTERFACE_WLANLOGINAPPSTART_ENTRY); |
126 OstTraceFunctionEntry0(ICTSWLANLOGININTERFACE_WLANLOGINAPPSTART_ENTRY); |
122 |
127 |
123 // Execution of asynchronous and embedded Wlan Login start |
128 // Execution of asynchronous and embedded Wlan Login start |
124 mAsyncRequest = mAiwMgr->create( |
129 mAsyncRequest = mAiwMgr->create( |
125 "wlanlogin", |
130 wlanLoginServiceAppName, |
126 "com.nokia.symbian.IWlanLogin", |
131 XQI_WLAN_LOGIN, |
127 "start(int,int,QUrl)", |
132 XQOP1_WLAN_LOGIN, |
128 false); |
133 false); |
129 |
134 |
130 // The Wlan Login service must always exist |
135 // The Wlan Login service must always exist |
131 Q_ASSERT(mAsyncRequest); |
136 Q_ASSERT(mAsyncRequest); |
132 |
137 |
254 { |
259 { |
255 OstTraceFunctionEntry0(ICTSWLANLOGININTERFACE_STOP_ENTRY); |
260 OstTraceFunctionEntry0(ICTSWLANLOGININTERFACE_STOP_ENTRY); |
256 |
261 |
257 // Execution of synchronous and embedded Wlan Login stop |
262 // Execution of synchronous and embedded Wlan Login stop |
258 QScopedPointer<XQAiwRequest> syncRequest(mAiwMgr->create( |
263 QScopedPointer<XQAiwRequest> syncRequest(mAiwMgr->create( |
259 "wlanlogin", |
264 wlanLoginServiceAppName, |
260 "com.nokia.symbian.IWlanLogin", |
265 XQI_WLAN_LOGIN, |
261 "stop()", |
266 XQOP2_WLAN_LOGIN, |
262 false)); |
267 false)); |
263 |
268 |
264 // The Wlan Login service must always exist |
269 // The Wlan Login service must always exist |
265 Q_ASSERT(syncRequest); |
270 Q_ASSERT(syncRequest); |
266 |
271 |