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 FM Radio's UID3 ( SID ). */ |
|
24 const TUid KRadioCRUid = { 0x2002FF52 }; |
|
25 |
|
26 |
|
27 // APPLICATION SETTINGS |
|
28 |
|
29 /** The base value for application setting keys. */ |
|
30 const TUint32 KRadioCRApplicationSettingsBase = { 0x100 }; |
|
31 |
|
32 /** The key associated with the http cache limit setting. */ |
|
33 const TUint32 KRadioCRUiFlags = { KRadioCRApplicationSettingsBase + 0x0 }; |
|
34 |
|
35 /* The key associated with the application launch count setting */ |
|
36 const TUint32 KRadioCRLaunchCount = { KRadioCRApplicationSettingsBase + 0x1 }; |
|
37 |
|
38 |
|
39 // RADIO SETTINGS |
|
40 |
|
41 /** The base value for radio setting keys. */ |
|
42 const TUint32 KRadioCRRadioSettingsBase = { 0x200 }; |
|
43 |
|
44 /** The key associated with the headset volume setting. */ |
|
45 const TUint32 KRadioCRHeadsetVolume = { KRadioCRRadioSettingsBase + 0x0 }; |
|
46 |
|
47 /** The key associated with the speaker volume setting. */ |
|
48 const TUint32 KRadioCRSpeakerVolume = { KRadioCRRadioSettingsBase + 0x1 }; |
|
49 |
|
50 /** The key associated with the output mode setting. */ |
|
51 const TUint32 KRadioCROutputMode = { KRadioCRRadioSettingsBase + 0x2 }; |
|
52 |
|
53 /** The key associated with the audio route setting. */ |
|
54 const TUint32 KRadioCRAudioRoute = { KRadioCRRadioSettingsBase + 0x3 }; |
|
55 |
|
56 /** The key associated with the headset volume mute setting. */ |
|
57 const TUint32 KRadioCRHeadsetMuteState = { KRadioCRRadioSettingsBase + 0x4 }; |
|
58 |
|
59 /** The key associated with the speaker volume mute setting. */ |
|
60 const TUint32 KRadioCRSpeakerMuteState = { KRadioCRRadioSettingsBase + 0x5 }; |
|
61 |
|
62 /** The key associated with the radio power state. */ |
|
63 const TUint32 KRadioCRRadioPowerState = { KRadioCRRadioSettingsBase + 0x6 }; |
|
64 |
|
65 /** The key associated with the tuned frequency setting. */ |
|
66 const TUint32 KRadioCRTunedFrequency = { KRadioCRRadioSettingsBase + 0x7 }; |
|
67 |
|
68 /** The key associated with the default minimum volume level setting. */ |
|
69 const TUint32 KRadioCRDefaultMinVolumeLevel = { KRadioCRRadioSettingsBase + 0x8 }; |
|
70 |
|
71 /** The key associated with the current region setting. */ |
|
72 const TUint32 KRadioCRCurrentRegion = { KRadioCRRadioSettingsBase + 0x9 }; |
|
73 |
|
74 /*** Region Japan allowed. */ |
|
75 const TUint32 KRadioCRRegionAllowedJapan = { KRadioCRRadioSettingsBase + 0xA }; |
|
76 |
|
77 /*** Default region. */ |
|
78 const TUint32 KRadioCRDefaultRegion = { KRadioCRRadioSettingsBase + 0xB }; |
|
79 |
|
80 /** The key associated with the network id setting. */ |
|
81 const TUint32 KRadioCRNetworkId = { KRadioCRRadioSettingsBase + 0xC }; |
|
82 |
|
83 /** The key associated with the country code setting. */ |
|
84 const TUint32 KRadioCRCountryCode = { KRadioCRRadioSettingsBase + 0xD }; |
|
85 |
|
86 #endif // RADIOINTERNALCRKEYS_H |
|