gssettingsuis/Gs/Cenrep/SettingsPrivateCRKeys.h
changeset 68 13e71d907dc3
equal deleted inserted replaced
40:6465d5bb863a 68:13e71d907dc3
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Settings UIs private Central Repository keys.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SETTINGSPRIVATECRKEYS_H
       
    20 #define SETTINGSPRIVATECRKEYS_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32def.h>
       
    24 
       
    25 // CONSTANTS
       
    26 
       
    27 // ---------------------------------------------------------------------------
       
    28 /** Following keys belong to category KCRUidMiscSettings  */
       
    29 
       
    30 /**
       
    31 *
       
    32 * String value.
       
    33 */
       
    34 const TUint32 KWatchDogQuarantine               = 0x00000001;
       
    35 
       
    36 /**
       
    37 *
       
    38 * String value.
       
    39 */
       
    40 const TUint32 KWatchDogBlackList                = 0x00000002;
       
    41 const TUint32 KWatchDogGSRunning                = 0x00000003;
       
    42 const TUint32 KWatchDogCrashCounter             = 0x00000004;
       
    43 const TUint32 KWatchdogActivationLimit          = 0x00000005;
       
    44 const TUint32 KWatchdogMaxPluginBlackListedRuns = 0x00000006;
       
    45 
       
    46 
       
    47 // ---------------------------------------------------------------------------
       
    48 /** Following keys belong to category KCRUidNetworkSettings  */
       
    49 
       
    50 /**
       
    51 * This key is required for the programs to control if the "network mode"
       
    52 * item should be available in the UI.
       
    53 *
       
    54 * Possible integer values:
       
    55 * 0 = "network mode" item hidden
       
    56 * 1 = "network mode" item visible in GS
       
    57 */
       
    58 const TUint32 KSettingsNetworkMode  = 0x00000001;
       
    59 
       
    60 /**
       
    61 * This key is required for the programs to list the supported
       
    62 * network mode UI list items that will be visible from GS setting page.
       
    63 */
       
    64 const TUint32 KSettingsNetworkModeList = 0x00000002;
       
    65 
       
    66 /**
       
    67 * This key is required for the programs to set a default value to the
       
    68 * network mode UI list item visible from GS.
       
    69 * This value is used to display the selected item from associated setting page.
       
    70 *
       
    71 * Possible integer values:
       
    72 * 0 = Dual mode
       
    73 * 1 = UMTS
       
    74 * 2 = GSM
       
    75 */
       
    76 const TUint32 KSettingsNetworkModeValue = 0x00000003;
       
    77 
       
    78 /**
       
    79 * HSDPA Visibility
       
    80 *
       
    81 * Possible values:
       
    82 * 0 = Hide
       
    83 * 1 = Show
       
    84 */
       
    85 const TUint32 KSettingsHSDPAVisbility = 0x00000007;
       
    86 
       
    87 /**
       
    88 * HSDPA Value
       
    89 *
       
    90 * Possible values:
       
    91 * 0 = Disable
       
    92 * 1 = Enable
       
    93 */
       
    94 const TUint32 KSettingsHSDPAValue = 0x00000008;
       
    95 
       
    96 /**
       
    97 * This key is required for the programs to control if the network mode change 
       
    98 * automatically when powersaving mode active
       
    99 * Possible integer values:
       
   100 * 0 = "network mode" will not change to "2g"
       
   101 * 1 = "network mode" will change to "2g"
       
   102 */
       
   103 const TUint32 KPowersavingNetworkmode  = 0x00000009;
       
   104 
       
   105 // ---------------------------------------------------------------------------
       
   106 /** Following keys belong to category KCRUidPersonalizationSettings */
       
   107 
       
   108 /**
       
   109 * Background image.
       
   110 * Possible values are:
       
   111 * 0 = No image
       
   112 * 1 = Image used
       
   113 */
       
   114 const TUint32 KSettingsBackgroundImage = 0x00000001;
       
   115 
       
   116 /**
       
   117 * Background image path.
       
   118 * The value is a string which length can vary from 0 to maximum length.
       
   119 */
       
   120 const TUint32 KSettingsBackgroundImagePath = 0x00000002;
       
   121 
       
   122 /**
       
   123 * Hide/Unhide user welcome note item in UI.
       
   124 * 0 = Hide
       
   125 * 1 = Show
       
   126 */
       
   127 const TUint32 KSettingsWelcomeNoteSupported = 0x00000005;
       
   128 
       
   129 
       
   130 // ---------------------------------------------------------------------------
       
   131 /** Following keys belong to category KCRUidCdmaTelephonySettings  */
       
   132 
       
   133 /**
       
   134 * This key indicates whether the call guard is activated
       
   135 * for MO and MT calls.
       
   136 *
       
   137 * 0 = Disabled
       
   138 * 1 = Enabled
       
   139 */
       
   140 const TUint32 KSettingsCallGuard = 0x00000001;
       
   141 
       
   142 
       
   143 /**
       
   144 * This key indicates whether voice privacy settings
       
   145 * needs to be included and voice privacy status.
       
   146 *
       
   147 * Possible integer values:
       
   148 * 0 = Option 1 - {VP Menu excluded, VP Off}
       
   149 * 1 = Option 2 - {VP Menu excluded, VP On}
       
   150 * 2 = Option 3 - {VP Menu included, VP Off}
       
   151 * 3 = Option 4 - {VP Menu included, VP On}
       
   152 */
       
   153 const TUint32 KSettingsVoicePrivacy = 0x00000002;
       
   154 
       
   155 
       
   156 /**
       
   157 * This key indicates whether the distinctive ring tone
       
   158 * is enabled while roaming.
       
   159 *
       
   160 * 0 = Disabled
       
   161 * 1 = Enabled
       
   162 */
       
   163 const TUint32 KSettingsRoamingRingingTone = 0x00000003;
       
   164 
       
   165 
       
   166 // ---------------------------------------------------------------------------
       
   167 /** Following keys belong to category KCRUidSettingsVariation  */
       
   168 
       
   169 /**
       
   170 * Settings Variation API
       
   171 * Keys under this category are used in defining settings variation.
       
   172 */
       
   173 const TUid KCRUidSettingsVariation = {0x1020720A};
       
   174 
       
   175 /**
       
   176 * Settings Local Variation Flags. Values are defined in GeneralSettingsVariant.hrh.
       
   177 */
       
   178 const TUint32 KSettingsVariationFlags = 0x00000001;
       
   179 
       
   180  
       
   181 #endif      // SETTINGSPRIVATECRKEYS_H
       
   182 
       
   183 // End of file