|
1 /* |
|
2 * Copyright (c) 2002-2007 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: WLAN event enumerations and uid:s for Publish And Subscribe. |
|
15 * PubSub clients can include this file and listen to these events. |
|
16 * These events will be routed through Publish And Subscribe. |
|
17 * |
|
18 */ |
|
19 |
|
20 /* |
|
21 * %version: 5 % |
|
22 */ |
|
23 |
|
24 #ifndef WLANINTERNALPSKEYS_H |
|
25 #define WLANINTERNALPSKEYS_H |
|
26 |
|
27 #include "wlansdkpskeys.h" |
|
28 |
|
29 // LOCAL CONSTANTS |
|
30 const TInt KPSWlanEnumerationFirstValue = 0; |
|
31 |
|
32 /** |
|
33 * P&S category WLAN information defined in wlansdkpskeys.h |
|
34 */ |
|
35 |
|
36 |
|
37 /** |
|
38 * WLAN indicator |
|
39 */ |
|
40 const TUint KPSWlanIndicator = 0x00000002; |
|
41 const RProperty::TType KPSWlanIndicatorType = RProperty::EInt; |
|
42 |
|
43 /** |
|
44 * The possible WLAN indicator values |
|
45 * These values correspond to the WLAN icon statuses |
|
46 */ |
|
47 enum TPSWlanIndicator |
|
48 { |
|
49 /** No WLAN connection or WLAN availability, WLAN not in use */ |
|
50 EPSWlanIndicatorNone = KPSWlanEnumerationFirstValue, |
|
51 /** |
|
52 * The device has been set to scan for WLANs, and a WLAN is available. |
|
53 * That is, the device has been set to show WLAN availability from |
|
54 * Tools->Settings->Connection->Wireless LAN->Show WLAN availability and if |
|
55 * WLAN is available, this indicator value is used. |
|
56 */ |
|
57 EPSWlanIndicatorAvailable, |
|
58 /** A WLAN connection is active in a network that does not have encryption. */ |
|
59 EPSWlanIndicatorActive, |
|
60 /** A WLAN connection is active in a network that has encryption. */ |
|
61 EPSWlanIndicatorActiveSecure |
|
62 }; |
|
63 |
|
64 #endif // WLANINTERNALPSKEYS_H |
|
65 |
|
66 // End of File |