|
1 /* |
|
2 * Copyright (c) 2003 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: Profiles subsystem local variation |
|
15 * |
|
16 * The file contains values for Central Repository keys specifying |
|
17 * Profiles specific software settings. |
|
18 * |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 #ifndef PROFILESVARIANT_HRH |
|
25 #define PROFILESVARIANT_HRH |
|
26 |
|
27 |
|
28 /** |
|
29 * User's guide to Profiles variation: |
|
30 * Central Repository file: KCRUidProfilesLV (101F8799.txt) |
|
31 * How to use: |
|
32 * CRepository* cenrep = CRepository::NewLC( KCRUidProfilesLV ); |
|
33 * // if value fetch fails, assume all variated features are off: |
|
34 * TInt featureBitmask( 0 ); |
|
35 * cenrep->Get( KProfilesLVFlags, featureBitmask ); |
|
36 * |
|
37 * // |
|
38 * // Get the value once and save it for later use. |
|
39 * // No need to access Central Repository every time when a value is needed |
|
40 * |
|
41 * if ( featureBitmask & KProEngFeatureXxx ) |
|
42 * { |
|
43 * // This feature is ON, so act accordingly |
|
44 * } |
|
45 */ |
|
46 |
|
47 |
|
48 |
|
49 /** |
|
50 * If KProEngFeatureIdVTRingingTone is on, Profiles supports setting of a |
|
51 * dedicated ringing tone for a video call. |
|
52 */ |
|
53 #define KProEngFeatureIdVTRingingTone 0x01 |
|
54 |
|
55 /** |
|
56 * If KProEngFeatureIdForceSilentMode is enabled, no other sounds than the |
|
57 * camera shutter and video recorder start tones can be heard in silent |
|
58 * profile. Also the tone settings of the silent profile will be hidden. |
|
59 */ |
|
60 #define KProEngFeatureIdForceSilentMode 0x02 |
|
61 |
|
62 /** |
|
63 * If KProEngFeatureIdTimedProfiles is enabled, Profiles supports timed |
|
64 * profiles. |
|
65 */ |
|
66 #define KProEngFeatureIdTimedProfiles 0x04 |
|
67 |
|
68 /** |
|
69 * If KProEngFeatureIdTTSRingingTone is enabled, Profiles supports |
|
70 * text-to-speech feature (aka "Say caller's name"). |
|
71 * Feature dependency to __SIND (Speaker Independent Name Dialing). |
|
72 * Must be disabled when SIND is disabled. |
|
73 */ |
|
74 #define KProEngFeatureIdTTSRingingTone 0x08 |
|
75 |
|
76 #endif // PROFILESVARIANT_HRH |
|
77 |