epoc32/include/mw/profile.hrh
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/profile.hrh	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/profile.hrh	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,98 @@
     1.4 -profile.hrh
     1.5 +/*
     1.6 +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:  Profiles Engine enumerations TProfileKeypadVolume,
    1.19 +*                TProfileRingingType, TDefaultProfileId and
    1.20 +*                TProfileRingingVolume
    1.21 +*
    1.22 +*/
    1.23 +
    1.24 +
    1.25 +#ifndef __PROFILE_HRH__
    1.26 +#define __PROFILE_HRH__
    1.27 +
    1.28 +// DATA TYPES
    1.29 +
    1.30 +/**
    1.31 +* Ringing type of an alert tone. This affects how the tone is actually played
    1.32 +* when a call or a message arrives.
    1.33 +*/
    1.34 +enum TProfileRingingType
    1.35 +    {
    1.36 +    /** The tone is played in a loop.
    1.37 +    */
    1.38 +    EProfileRingingTypeRinging      = 0,
    1.39 +    /**
    1.40 +    * The tone is played in a loop. On the 1st round, the volume is gradually
    1.41 +    * increment from the lowest level to the set level.
    1.42 +    */
    1.43 +    EProfileRingingTypeAscending    = 1,
    1.44 +    /** The tone is played only once.
    1.45 +    */
    1.46 +    EProfileRingingTypeRingingOnce  = 2,
    1.47 +    /**
    1.48 +    * The phone only beeps once instead of playing the tone if one has been set.
    1.49 +    */
    1.50 +    EProfileRingingTypeBeepOnce     = 3,
    1.51 +    /** The phone is silent.
    1.52 +    */
    1.53 +    EProfileRingingTypeSilent       = 4
    1.54 +    };
    1.55 +
    1.56 +/**
    1.57 +* Available volume levels for keypad tones.
    1.58 +*/
    1.59 +enum TProfileKeypadVolume
    1.60 +    {
    1.61 +    EProfileKeypadVolumeOff    = 0,
    1.62 +    EProfileKeypadVolumeLevel1 = 1,
    1.63 +    EProfileKeypadVolumeLevel2 = 2,
    1.64 +    EProfileKeypadVolumeLevel3 = 3
    1.65 +    };
    1.66 +
    1.67 +/**
    1.68 +* Default profile identifiers. Default profiles are those pre-installed in the
    1.69 +* phone.
    1.70 +*/
    1.71 +enum TDefaultProfileId
    1.72 +    {
    1.73 +    EProfileGeneralId   = 0,
    1.74 +    EProfileSilentId    = 1,
    1.75 +    EProfileMeetingId   = 2,
    1.76 +    EProfileOutdoorId   = 3,
    1.77 +    EProfilePagerId     = 4,
    1.78 +	EProfileOffLineId   = 5, ///< Use this only if Off-Line Profile is supported
    1.79 +	EProfileDriveId   = 6    ///< Use this only if Drive Profile is supported
    1.80 +    };
    1.81 +
    1.82 +/**
    1.83 +* Available volume levels for alert tones.
    1.84 +*/
    1.85 +enum TProfileRingingVolume
    1.86 +    {
    1.87 +    EProfileRingingVolumeLevel1 = 1,
    1.88 +    EProfileRingingVolumeLevel2 = 2,
    1.89 +    EProfileRingingVolumeLevel3 = 3,
    1.90 +    EProfileRingingVolumeLevel4 = 4,
    1.91 +    EProfileRingingVolumeLevel5 = 5,
    1.92 +    EProfileRingingVolumeLevel6 = 6,
    1.93 +    EProfileRingingVolumeLevel7 = 7,
    1.94 +    EProfileRingingVolumeLevel8 = 8,
    1.95 +    EProfileRingingVolumeLevel9 = 9,
    1.96 +    EProfileRingingVolumeLevel10 = 10
    1.97 +    };
    1.98 +
    1.99 +#endif // __PROFILE_HRH__
   1.100 +
   1.101 +// End of File
   1.102 +