ipcm_pub/connection_settings_api/inc/cmgenconnsettings.h
changeset 2 086aae6fc07e
parent 0 5a93021fdf25
child 13 68f0c7cd80ec
equal deleted inserted replaced
1:40cb640ef159 2:086aae6fc07e
    16 */
    16 */
    17 #ifndef CMGENCONNSETTINGS_H
    17 #ifndef CMGENCONNSETTINGS_H
    18 #define CMGENCONNSETTINGS_H
    18 #define CMGENCONNSETTINGS_H
    19 
    19 
    20 
    20 
    21 // Usage types for new WLAN
    21 // Usage types for WLAN
    22 enum TCmUsageOfWlan
    22 enum TCmUsageOfWlan
    23     {
    23     {
       
    24     // Known WLANs will be used, and they will be switched to
       
    25     // if they become available during existing connections.
    24     ECmUsageOfWlanKnown,
    26     ECmUsageOfWlanKnown,
    25     ECmUsageOfWlanKnownAndNew, // default 
    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.
    26     ECmUsageOfWlanManual   
    31     ECmUsageOfWlanManual   
    27     };
    32     };
    28 
    33 
    29 // Seamlessness values
    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.
    30 enum TCmSeamlessnessValue
    50 enum TCmSeamlessnessValue
    31         {
    51         {
    32         ECmSeamlessnessNotRoamedTo,   // IAP can be used in start, but not roamed to unless already active
    52         ECmSeamlessnessNotRoamedTo,   // DO NOT USE
    33         ECmSeamlessnessConfirmFirst,  // Confirm first
    53         ECmSeamlessnessConfirmFirst,  // DO NOT USE
    34         ECmSeamlessnessShowprogress,  // Show progress
    54         ECmSeamlessnessShowprogress,  // DO NOT USE
    35         ECmSeamlessnessFullySeamless, // Same as previous
    55         ECmSeamlessnessFullySeamless, // DO NOT USE
    36         ECmSeamlessnessDisabled       // IAP blacklisted and not used at all
    56         ECmSeamlessnessDisabled       // DO NOT USE
    37         };
    57         };
    38 
    58 
    39 // Table for connection settings other than default connection
    59 // Table for connection settings other than default connection
    40 struct TCmGenConnSettings
    60 struct TCmGenConnSettings
    41     {
    61     {
       
    62     // WLAN usage.
    42     TCmUsageOfWlan         iUsageOfWlan;
    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.
    43     TCmSeamlessnessValue   iSeamlessnessHome;
    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.
    44     TCmSeamlessnessValue   iSeamlessnessVisitor;
    76     TCmSeamlessnessValue   iSeamlessnessVisitor;
    45     };
    77     };
    46 
    78 
    47 #endif
    79 #endif
    48 
    80