1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/mw/cmgenconnsettings.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,80 @@
1.4 +/*
1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description: General connectivity settings.
1.18 +*
1.19 +*/
1.20 +#ifndef CMGENCONNSETTINGS_H
1.21 +#define CMGENCONNSETTINGS_H
1.22 +
1.23 +
1.24 +// Usage types for WLAN
1.25 +enum TCmUsageOfWlan
1.26 + {
1.27 + // Known WLANs will be used, and they will be switched to
1.28 + // if they become available during existing connections.
1.29 + ECmUsageOfWlanKnown,
1.30 + // Known and new WLANs will be used.
1.31 + ECmUsageOfWlanKnownAndNew,
1.32 + // WLANs will be used but they will not be switched to
1.33 + // from existing connections.
1.34 + ECmUsageOfWlanManual
1.35 + };
1.36 +
1.37 +// Cellular data usage values
1.38 +enum TCmCellularDataUsage
1.39 + {
1.40 + // Cellular data connection is not used automatically but a confirmation
1.41 + // is requested from the user.
1.42 + ECmCellularDataUsageConfirm,
1.43 + // Cellular data connection is automatically used without querying
1.44 + // permission from the user.
1.45 + ECmCellularDataUsageAutomatic,
1.46 + // Cellular data usage is disabled. Only WLAN will be used.
1.47 + ECmCellularDataUsageDisabled
1.48 + };
1.49 +
1.50 +// DEPRECATED enumeration which will be removed within few weeks.
1.51 +// DO NOT USE THESE VALUES.
1.52 +// Functionality related to these values is broken although it compiles.
1.53 +enum TCmSeamlessnessValue
1.54 + {
1.55 + ECmSeamlessnessNotRoamedTo, // DO NOT USE
1.56 + ECmSeamlessnessConfirmFirst, // DO NOT USE
1.57 + ECmSeamlessnessShowprogress, // DO NOT USE
1.58 + ECmSeamlessnessFullySeamless, // DO NOT USE
1.59 + ECmSeamlessnessDisabled // DO NOT USE
1.60 + };
1.61 +
1.62 +// Table for connection settings other than default connection
1.63 +struct TCmGenConnSettings
1.64 + {
1.65 + // WLAN usage.
1.66 + TCmUsageOfWlan iUsageOfWlan;
1.67 + // Cellular data usage in home country.
1.68 + TCmCellularDataUsage iCellularDataUsageHome;
1.69 + // Cellular data usage abroad.
1.70 + TCmCellularDataUsage iCellularDataUsageVisitor;
1.71 +
1.72 + // DEPRECATED variable that will be removed within few weeks.
1.73 + // DO NOT USE THESE VARIABLES.
1.74 + // Functionality related to this variable is broken although it compiles.
1.75 + TCmSeamlessnessValue iSeamlessnessHome;
1.76 + // DEPRECATED variable that will be removed within few weeks.
1.77 + // DO NOT USE THESE VARIABLES.
1.78 + // Functionality related to this variable is broken although it compiles.
1.79 + TCmSeamlessnessValue iSeamlessnessVisitor;
1.80 + };
1.81 +
1.82 +#endif
1.83 +