equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-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". |
23 |
23 |
24 #ifdef WLANENTRYPLUGIN_SERVICETRACES |
24 #ifdef WLANENTRYPLUGIN_SERVICETRACES |
25 #include <xqservicelog.h> |
25 #include <xqservicelog.h> |
26 #endif |
26 #endif |
27 #include <xqappmgr.h> |
27 #include <xqappmgr.h> |
|
28 #include <xqaiwdeclplat.h> |
|
29 |
|
30 // This workaround can be removed when XQOP_WLAN_SNIFFER is correctly |
|
31 // defined without the "void" parameter restriction: |
|
32 #undef XQOP_WLAN_SNIFFER |
|
33 #define XQOP_WLAN_SNIFFER QLatin1String("listView()") |
28 |
34 |
29 #include <cpitemdatahelper.h> |
35 #include <cpitemdatahelper.h> |
30 #include <cpbasesettingview.h> |
36 #include <cpbasesettingview.h> |
31 |
37 |
32 // User includes |
38 // User includes |
101 qInstallMsgHandler(XQSERVICEMESSAGEHANDLER); |
107 qInstallMsgHandler(XQSERVICEMESSAGEHANDLER); |
102 XQSERVICE_DEBUG_PRINT("CpWlanEntryItemData::createSettingView requesting listView()"); |
108 XQSERVICE_DEBUG_PRINT("CpWlanEntryItemData::createSettingView requesting listView()"); |
103 #endif |
109 #endif |
104 |
110 |
105 // Execute synchronous WLAN Sniffer list view |
111 // Execute synchronous WLAN Sniffer list view |
106 // TODO: Start using defines in xqaiwdeclplat.h when available |
|
107 XQApplicationManager aiwMgr; |
112 XQApplicationManager aiwMgr; |
108 XQAiwRequest *request = aiwMgr.create( |
113 XQAiwRequest *request = aiwMgr.create( |
109 "wlansniffer", |
114 "wlansniffer", |
110 "com.nokia.symbian.IWlanSniffer", |
115 XQI_WLAN_SNIFFER, |
111 "listView()", |
116 XQOP_WLAN_SNIFFER, |
112 true); |
117 true); |
113 |
118 |
114 // The WLAN Sniffer service must always exist |
119 // The WLAN Sniffer service must always exist |
115 Q_ASSERT(request); |
120 Q_ASSERT(request); |
116 |
121 |