epoc32/include/mw/cmgenconnsettings.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2 * Copyright (c) 2009 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:  General connectivity settings.
    15 *
    16 */
    17 #ifndef CMGENCONNSETTINGS_H
    18 #define CMGENCONNSETTINGS_H
    19 
    20 
    21 // Usage types for WLAN
    22 enum TCmUsageOfWlan
    23     {
    24     // Known WLANs will be used, and they will be switched to
    25     // if they become available during existing connections.
    26     ECmUsageOfWlanKnown,
    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.
    31     ECmUsageOfWlanManual   
    32     };
    33 
    34 // Cellular data usage values
    35 enum TCmCellularDataUsage
    36     {
    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
    45     };
    46 
    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
    51         {
    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
    57         };
    58 
    59 // Table for connection settings other than default connection
    60 struct TCmGenConnSettings
    61     {
    62     // WLAN usage.
    63     TCmUsageOfWlan         iUsageOfWlan;
    64     // Cellular data usage in home country.
    65     TCmCellularDataUsage   iCellularDataUsageHome;
    66     // Cellular data usage abroad.
    67     TCmCellularDataUsage   iCellularDataUsageVisitor;
    68 
    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;
    77     };
    78 
    79 #endif
    80