williamr@4
|
1 |
/*
|
williamr@4
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@4
|
3 |
* All rights reserved.
|
williamr@4
|
4 |
* This component and the accompanying materials are made available
|
williamr@4
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
williamr@4
|
6 |
* which accompanies this distribution, and is available
|
williamr@4
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
williamr@4
|
8 |
*
|
williamr@4
|
9 |
* Initial Contributors:
|
williamr@4
|
10 |
* Nokia Corporation - initial contribution.
|
williamr@4
|
11 |
*
|
williamr@4
|
12 |
* Contributors:
|
williamr@4
|
13 |
*
|
williamr@4
|
14 |
* Description: General connectivity settings.
|
williamr@4
|
15 |
*
|
williamr@4
|
16 |
*/
|
williamr@4
|
17 |
#ifndef CMGENCONNSETTINGS_H
|
williamr@4
|
18 |
#define CMGENCONNSETTINGS_H
|
williamr@4
|
19 |
|
williamr@4
|
20 |
|
williamr@4
|
21 |
// Usage types for WLAN
|
williamr@4
|
22 |
enum TCmUsageOfWlan
|
williamr@4
|
23 |
{
|
williamr@4
|
24 |
// Known WLANs will be used, and they will be switched to
|
williamr@4
|
25 |
// if they become available during existing connections.
|
williamr@4
|
26 |
ECmUsageOfWlanKnown,
|
williamr@4
|
27 |
// Known and new WLANs will be used.
|
williamr@4
|
28 |
ECmUsageOfWlanKnownAndNew,
|
williamr@4
|
29 |
// WLANs will be used but they will not be switched to
|
williamr@4
|
30 |
// from existing connections.
|
williamr@4
|
31 |
ECmUsageOfWlanManual
|
williamr@4
|
32 |
};
|
williamr@4
|
33 |
|
williamr@4
|
34 |
// Cellular data usage values
|
williamr@4
|
35 |
enum TCmCellularDataUsage
|
williamr@4
|
36 |
{
|
williamr@4
|
37 |
// Cellular data connection is not used automatically but a confirmation
|
williamr@4
|
38 |
// is requested from the user.
|
williamr@4
|
39 |
ECmCellularDataUsageConfirm,
|
williamr@4
|
40 |
// Cellular data connection is automatically used without querying
|
williamr@4
|
41 |
// permission from the user.
|
williamr@4
|
42 |
ECmCellularDataUsageAutomatic,
|
williamr@4
|
43 |
// Cellular data usage is disabled. Only WLAN will be used.
|
williamr@4
|
44 |
ECmCellularDataUsageDisabled
|
williamr@4
|
45 |
};
|
williamr@4
|
46 |
|
williamr@4
|
47 |
// DEPRECATED enumeration which will be removed within few weeks.
|
williamr@4
|
48 |
// DO NOT USE THESE VALUES.
|
williamr@4
|
49 |
// Functionality related to these values is broken although it compiles.
|
williamr@4
|
50 |
enum TCmSeamlessnessValue
|
williamr@4
|
51 |
{
|
williamr@4
|
52 |
ECmSeamlessnessNotRoamedTo, // DO NOT USE
|
williamr@4
|
53 |
ECmSeamlessnessConfirmFirst, // DO NOT USE
|
williamr@4
|
54 |
ECmSeamlessnessShowprogress, // DO NOT USE
|
williamr@4
|
55 |
ECmSeamlessnessFullySeamless, // DO NOT USE
|
williamr@4
|
56 |
ECmSeamlessnessDisabled // DO NOT USE
|
williamr@4
|
57 |
};
|
williamr@4
|
58 |
|
williamr@4
|
59 |
// Table for connection settings other than default connection
|
williamr@4
|
60 |
struct TCmGenConnSettings
|
williamr@4
|
61 |
{
|
williamr@4
|
62 |
// WLAN usage.
|
williamr@4
|
63 |
TCmUsageOfWlan iUsageOfWlan;
|
williamr@4
|
64 |
// Cellular data usage in home country.
|
williamr@4
|
65 |
TCmCellularDataUsage iCellularDataUsageHome;
|
williamr@4
|
66 |
// Cellular data usage abroad.
|
williamr@4
|
67 |
TCmCellularDataUsage iCellularDataUsageVisitor;
|
williamr@4
|
68 |
|
williamr@4
|
69 |
// DEPRECATED variable that will be removed within few weeks.
|
williamr@4
|
70 |
// DO NOT USE THESE VARIABLES.
|
williamr@4
|
71 |
// Functionality related to this variable is broken although it compiles.
|
williamr@4
|
72 |
TCmSeamlessnessValue iSeamlessnessHome;
|
williamr@4
|
73 |
// DEPRECATED variable that will be removed within few weeks.
|
williamr@4
|
74 |
// DO NOT USE THESE VARIABLES.
|
williamr@4
|
75 |
// Functionality related to this variable is broken although it compiles.
|
williamr@4
|
76 |
TCmSeamlessnessValue iSeamlessnessVisitor;
|
williamr@4
|
77 |
};
|
williamr@4
|
78 |
|
williamr@4
|
79 |
#endif
|
williamr@4
|
80 |
|