2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: General connectivity settings.
17 #ifndef CMGENCONNSETTINGS_H
18 #define CMGENCONNSETTINGS_H
21 // Usage types for WLAN
24 // Known WLANs will be used, and they will be switched to
25 // if they become available during existing connections.
27 // Known and new WLANs will be used.
28 ECmUsageOfWlanKnownAndNew,
29 // WLANs will be used but they will not be switched to
30 // from existing connections.
34 // Cellular data usage values
35 enum TCmCellularDataUsage
37 // Cellular data connection is not used automatically but a confirmation
38 // is requested from the user.
39 ECmCellularDataUsageConfirm,
40 // Cellular data connection is automatically used without querying
41 // permission from the user.
42 ECmCellularDataUsageAutomatic,
43 // Cellular data usage is disabled. Only WLAN will be used.
44 ECmCellularDataUsageDisabled
47 // DEPRECATED enumeration which will be removed within few weeks.
48 // DO NOT USE THESE VALUES.
49 // Functionality related to these values is broken although it compiles.
50 enum TCmSeamlessnessValue
52 ECmSeamlessnessNotRoamedTo, // DO NOT USE
53 ECmSeamlessnessConfirmFirst, // DO NOT USE
54 ECmSeamlessnessShowprogress, // DO NOT USE
55 ECmSeamlessnessFullySeamless, // DO NOT USE
56 ECmSeamlessnessDisabled // DO NOT USE
59 // Table for connection settings other than default connection
60 struct TCmGenConnSettings
63 TCmUsageOfWlan iUsageOfWlan;
64 // Cellular data usage in home country.
65 TCmCellularDataUsage iCellularDataUsageHome;
66 // Cellular data usage abroad.
67 TCmCellularDataUsage iCellularDataUsageVisitor;
69 // DEPRECATED variable that will be removed within few weeks.
70 // DO NOT USE THESE VARIABLES.
71 // Functionality related to this variable is broken although it compiles.
72 TCmSeamlessnessValue iSeamlessnessHome;
73 // DEPRECATED variable that will be removed within few weeks.
74 // DO NOT USE THESE VARIABLES.
75 // Functionality related to this variable is broken although it compiles.
76 TCmSeamlessnessValue iSeamlessnessVisitor;