2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Profiles Engine enumerations TProfileKeypadVolume,
15 * TProfileRingingType, TDefaultProfileId and
16 * TProfileRingingVolume
21 #ifndef __PROFILE_HRH__
22 #define __PROFILE_HRH__
27 * Ringing type of an alert tone. This affects how the tone is actually played
28 * when a call or a message arrives.
30 enum TProfileRingingType
32 /** The tone is played in a loop.
34 EProfileRingingTypeRinging = 0,
36 * The tone is played in a loop. On the 1st round, the volume is gradually
37 * increment from the lowest level to the set level.
39 EProfileRingingTypeAscending = 1,
40 /** The tone is played only once.
42 EProfileRingingTypeRingingOnce = 2,
44 * The phone only beeps once instead of playing the tone if one has been set.
46 EProfileRingingTypeBeepOnce = 3,
47 /** The phone is silent.
49 EProfileRingingTypeSilent = 4
53 * Available volume levels for keypad tones.
55 enum TProfileKeypadVolume
57 EProfileKeypadVolumeOff = 0,
58 EProfileKeypadVolumeLevel1 = 1,
59 EProfileKeypadVolumeLevel2 = 2,
60 EProfileKeypadVolumeLevel3 = 3
64 * Default profile identifiers. Default profiles are those pre-installed in the
67 enum TDefaultProfileId
69 EProfileGeneralId = 0,
71 EProfileMeetingId = 2,
72 EProfileOutdoorId = 3,
74 EProfileOffLineId = 5, ///< Use this only if Off-Line Profile is supported
75 EProfileDriveId = 6 ///< Use this only if Drive Profile is supported
79 * Available volume levels for alert tones.
81 enum TProfileRingingVolume
83 EProfileRingingVolumeLevel1 = 1,
84 EProfileRingingVolumeLevel2 = 2,
85 EProfileRingingVolumeLevel3 = 3,
86 EProfileRingingVolumeLevel4 = 4,
87 EProfileRingingVolumeLevel5 = 5,
88 EProfileRingingVolumeLevel6 = 6,
89 EProfileRingingVolumeLevel7 = 7,
90 EProfileRingingVolumeLevel8 = 8,
91 EProfileRingingVolumeLevel9 = 9,
92 EProfileRingingVolumeLevel10 = 10
95 #endif // __PROFILE_HRH__