radioengine/utils/api/radiointernalcrkeys.h
changeset 13 46974bebc798
child 28 075425b8d9a4
equal deleted inserted replaced
0:f3d95d9c00ab 13:46974bebc798
       
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef RADIOINTERNALCRKEYS_H
       
    19 #define RADIOINTERNALCRKEYS_H
       
    20 
       
    21 #include <e32cmn.h>
       
    22 
       
    23 /** The UID of the category we use. Must be the same as Visual Radio's UID3 ( SID ). */
       
    24 const TUid KRadioCRUid = { 0x101FF976 };
       
    25 
       
    26 /**
       
    27 * The service mode of Visual Radio.
       
    28 *
       
    29 * @see TVRCRServiceMode
       
    30 */
       
    31 const TUint32 KRadioCRServiceMode = 0x00000000;
       
    32 
       
    33 /**
       
    34 * Possible Visual Radio service modes.
       
    35 */
       
    36 enum TVRCRServiceMode
       
    37     {
       
    38     EVRCRServiceNone,   /**< Visual Radio has neither SDS nor visual service enabled. */
       
    39     EVRCRServiceSds,    /**< Visual Radio has SDS service enabled. */
       
    40     };
       
    41 
       
    42 /////////////////////////////////////////////////////////////////////////////////////
       
    43 // When adding a new key, add it also to CVRRepositoryManager::CheckRepositoryKeysL()
       
    44 // to make sure that SIS installation updates cenrep keys.
       
    45 /////////////////////////////////////////////////////////////////////////////////////
       
    46 
       
    47 // APPLICATION SETTINGS
       
    48 
       
    49 /** The base value for application setting keys. */
       
    50 const TUint32 KRadioCRApplicationSettingsBase                  = { 0x00000010 };
       
    51 
       
    52 /** The key associated with the active focus location setting. */
       
    53 const TUint32 KRadioCRActiveFocusLocation                      = { KRadioCRApplicationSettingsBase + 0x00000000 };
       
    54 
       
    55 /** Removed. Do not use. */
       
    56 const TUint32 KRadioCRRemoved1                                 = { KRadioCRApplicationSettingsBase + 0x00000001 };
       
    57 
       
    58 /** Removed. Do not use. */
       
    59 const TUint32 KRadioCRRemoved2                                 = { KRadioCRApplicationSettingsBase + 0x00000002 };
       
    60 
       
    61 /** The key associated with the http cache limit setting. */
       
    62 const TUint32 KRadioCRUiFlags                                  = { KRadioCRApplicationSettingsBase + 0x00000003 };
       
    63 
       
    64 /** Removed. Do not use. */
       
    65 const TUint32 KRadioCRRemoved3                                 = { KRadioCRApplicationSettingsBase + 0x00000004 };
       
    66 
       
    67 /** Removed. Do not use. */
       
    68 const TUint32 KRadioCRRemoved4                                 = { KRadioCRApplicationSettingsBase + 0x00000005 };
       
    69 
       
    70 /** Removed. Do not use. */
       
    71 const TUint32 KRadioCRRemoved5                                 = { KRadioCRApplicationSettingsBase + 0x00000006 };
       
    72 
       
    73 /** Removed. Do not use. */
       
    74 const TUint32 KRadioCRRemoved6                                 = { KRadioCRApplicationSettingsBase + 0x00000007 };
       
    75 
       
    76 /** Removed. Do not use. */
       
    77 const TUint32 KRadioCRRemoved7                                 = { KRadioCRApplicationSettingsBase + 0x0000000B };
       
    78 
       
    79 /** Removed. Do not use. */
       
    80 const TUint32 KRadioCRRemoved8                                 = { KRadioCRApplicationSettingsBase + 0x0000000C };
       
    81 
       
    82 /** Removed. Do not use. */
       
    83 const TUint32 KRadioCRRemoved9                                 = { KRadioCRApplicationSettingsBase + 0x0000000D };
       
    84 
       
    85 /** Removed. Do not use. */
       
    86 const TUint32 KRadioCRRemoved10                                = { KRadioCRApplicationSettingsBase + 0x0000000E };
       
    87 
       
    88 /** Removed. Do not use. */
       
    89 const TUint32 KRadioCRRemoved11                                = { KRadioCRApplicationSettingsBase + 0x0000000F };
       
    90 
       
    91 /* The key associated with the application launch count setting */
       
    92 const TUint32 KRadioCRLaunchCount                              = { KRadioCRApplicationSettingsBase + 0x00000010 };
       
    93 
       
    94 /* The key associated with the application offline mode usability. */
       
    95 const TUint32 KRadioCROfflineModeFunctionality                 = { KRadioCRApplicationSettingsBase + 0x00000011 };
       
    96 
       
    97 /** Removed. Do not use. */
       
    98 const TUint32 KRadioCRRemoved12                                = { KRadioCRApplicationSettingsBase + 0x00000012 };
       
    99 
       
   100 /* User audio history */
       
   101 const TUint32 KRadioCRAudioPlayHistory                         = { KRadioCRApplicationSettingsBase + 0x00000014 };
       
   102 
       
   103 
       
   104 /**
       
   105 * Removed. Do not use.
       
   106 */
       
   107 enum TVRCRRemoved
       
   108     {
       
   109     EVRCRRemoved13,
       
   110     EVRCRRemoved14
       
   111     };
       
   112 
       
   113 
       
   114 // RADIO SETTINGS
       
   115 
       
   116 /** The base value for radio setting keys. */
       
   117 const TUint32 KRadioCRRadioSettingsBase                        = { 0x00000100 };
       
   118 
       
   119 /** The key associated with the headset volume setting. */
       
   120 const TUint32 KRadioCRHeadsetVolume                            = { KRadioCRRadioSettingsBase + 0x00000000 };
       
   121 
       
   122 /** The key associated with the speaker volume setting. */
       
   123 const TUint32 KRadioCRSpeakerVolume                            = { KRadioCRRadioSettingsBase + 0x00000001 };
       
   124 
       
   125 /** The key associated with the output mode setting. */
       
   126 const TUint32 KRadioCROutputMode                               = { KRadioCRRadioSettingsBase + 0x00000002 };
       
   127 
       
   128 /** The key associated with the audio route setting. */
       
   129 const TUint32 KRadioCRAudioRoute                               = { KRadioCRRadioSettingsBase + 0x00000003 };
       
   130 
       
   131 /** The key associated with the headset volume mute setting. */
       
   132 const TUint32 KRadioCRHeadsetMuteState                         = { KRadioCRRadioSettingsBase + 0x00000004 };
       
   133 
       
   134 /** The key associated with the speaker volume mute setting. */
       
   135 const TUint32 KRadioCRSpeakerMuteState                         = { KRadioCRRadioSettingsBase + 0x00000005 };
       
   136 
       
   137 /** The key associated with the radio power state. */
       
   138 const TUint32 KRadioCRVisualRadioPowerState                    = { KRadioCRRadioSettingsBase + 0x00000006 };
       
   139 
       
   140 /** The key associated with the tuned frequency setting.  */
       
   141 const TUint32 KRadioCRTunedFrequency                           = { KRadioCRRadioSettingsBase + 0x00000007 };
       
   142 
       
   143 /** The key associated with the default minimum volume level setting.  */
       
   144 const TUint32 KRadioCRDefaultMinVolumeLevel                    = { KRadioCRRadioSettingsBase + 0x00000008 };
       
   145 
       
   146 /** The key associated with the current region setting. */
       
   147 const TUint32 KRadioCRCurrentRegion                            = { KRadioCRRadioSettingsBase + 0x0000000A };
       
   148 
       
   149 /** Removed. Do not use. */
       
   150 const TUint32 KRadioCRRemoved15                                = { KRadioCRRadioSettingsBase + 0x0000000B };
       
   151 
       
   152 /** The key associated with the RDS support setting */
       
   153 const TUint32 KRadioCRRdsSupport                               = { KRadioCRRadioSettingsBase + 0x0000000C };
       
   154 
       
   155 /** The key associated with the alternate frequency search setting */
       
   156 const TUint32 KRadioCRRdsAfSearch                              = { KRadioCRRadioSettingsBase + 0x0000000D };
       
   157 
       
   158 /*** Region Japan allowed. */
       
   159 const TUint32 KRadioCRRegionAllowedJapan                       = { KRadioCRRadioSettingsBase + 0x0000000E };
       
   160 
       
   161 /*** Region America allowed. */
       
   162 const TUint32 KRadioCRRegionAllowedAmerica                     = { KRadioCRRadioSettingsBase + 0x0000000F };
       
   163 
       
   164 /*** Region Other allowed. */
       
   165 const TUint32 KRadioCRRegionAllowedDefault                     = { KRadioCRRadioSettingsBase + 0x00000010 };
       
   166 
       
   167 /*** Default region. */
       
   168 const TUint32 KRadioCRDefaultRegion                            = { KRadioCRRadioSettingsBase + 0x00000011 };
       
   169 
       
   170 
       
   171 // PRESET SETTINGS
       
   172 
       
   173 /** The base value for preset setting keys. */
       
   174 const TUint32 KRadioCRPresetSettingsBase                       = { 0x00001000 };
       
   175 
       
   176 /** The key associated with the maximum preset count setting. */
       
   177 const TUint32 KRadioCRPresetCount                              = { KRadioCRPresetSettingsBase + 0x00000000 };
       
   178 
       
   179 // CORE SETTINGS
       
   180 
       
   181 /** The base value for core setting keys. */
       
   182 const TUint32 KRadioCRCoreSettingsBase                         = { 0x00010000 };
       
   183 
       
   184 /** The key associated with the global name server address setting. */
       
   185 const TUint32 KRadioCRGlobalNameServer                         = { KRadioCRCoreSettingsBase + 0x00000000 };
       
   186 
       
   187 /** The key associated with the default global name server address setting. */
       
   188 const TUint32 KRadioCRDefaultGlobalNameServer                  = { KRadioCRCoreSettingsBase + 0x00000001 };
       
   189 
       
   190 /** The key associated with the local name server address setting. */
       
   191 const TUint32 KRadioCRLocalNameServer                          = { KRadioCRCoreSettingsBase + 0x00000002 };
       
   192 
       
   193 /** The key associated with the default local name server address setting. */
       
   194 const TUint32 KRadioCRDefaultLocalNameServer                   = { KRadioCRCoreSettingsBase + 0x00000003 };
       
   195 
       
   196 /** The key associated with the directory server url setting. */
       
   197 const TUint32 KRadioCRDirectoryServerUrl                       = { KRadioCRCoreSettingsBase + 0x00000004 };
       
   198 
       
   199 /** The key associated with the directory server base url setting. */
       
   200 const TUint32 KRadioCRDirectoryServerBaseUrl                   = { KRadioCRCoreSettingsBase + 0x00000005 };
       
   201 
       
   202 /** The key associated with the directory server country code setting. */
       
   203 const TUint32 KRadioCRDirectoryServerCountryCode               = { KRadioCRCoreSettingsBase + 0x00000006 };
       
   204 
       
   205 /** The key associated with the directory server network id setting. */
       
   206 const TUint32 KRadioCRDirectoryServerNetworkId                 = { KRadioCRCoreSettingsBase + 0x00000007 };
       
   207 
       
   208 /** The key associated with the default directory server url setting. */
       
   209 const TUint32 KRadioCRDefaultDirectoryServerUrl                = { KRadioCRCoreSettingsBase + 0x00000008 };
       
   210 
       
   211 /** The key associated with the default directory server base url setting. */
       
   212 const TUint32 KRadioCRDefaultDirectoryServerBaseUrl            = { KRadioCRCoreSettingsBase + 0x00000009 };
       
   213 
       
   214 /** The key associated with the internet access point setting. */
       
   215 const TUint32 KRadioCRInternetAccessPoint                      = { KRadioCRCoreSettingsBase + 0x0000000A };
       
   216 
       
   217 /** The key associated with the default internet access point setting. */
       
   218 const TUint32 KRadioCRDefaultInternetAccessPoint               = { KRadioCRCoreSettingsBase + 0x0000000B };
       
   219 
       
   220 /** The key associated with application id setting.  */
       
   221 const TUint32 KRadioCRApplicationId                            = { KRadioCRCoreSettingsBase + 0x0000000C };
       
   222 
       
   223 /** The key associated with the network id setting. */
       
   224 const TUint32 KRadioCRNetworkId                                = { KRadioCRCoreSettingsBase + 0x0000000D };
       
   225 
       
   226 /** The key associated with the subscriber id setting. */
       
   227 const TUint32 KRadioCRSubscriberId                             = { KRadioCRCoreSettingsBase + 0x0000000E };
       
   228 
       
   229 /** The key associated with the connection destination setting. */
       
   230 const TUint32 KRadioCRConnectionDestinationId                  = { KRadioCRCoreSettingsBase + 0x0000000F };
       
   231 
       
   232 /** The key associated with the country code setting. */
       
   233 const TUint32 KRadioCRCountryCode                              = { KRadioCRCoreSettingsBase + 0x00000010 };
       
   234 
       
   235 #endif // RADIOINTERNALCRKEYS_H