gsprofilesrv_plat/profiles_engine_api/inc/ProfileEngineDomainCRKeys.h
changeset 0 8c5d936e5675
child 24 8ee96d21d9bf
equal deleted inserted replaced
-1:000000000000 0:8c5d936e5675
       
     1 /*
       
     2 * Copyright (c) 2002 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 engine domain Central Repository keys.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef PROFILEENGINEDOMAINCRKEYS_H
       
    21 #define PROFILEENGINEDOMAINCRKEYS_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32std.h>
       
    25 #include <ProfileEngineSDKCRKeys.h>
       
    26 
       
    27 // CONSTANTS
       
    28 
       
    29 /**
       
    30  * Default ringing tone for all profiles. String value. Read-only.
       
    31  * This ringing tone is used if some error condition prevents using the user-set
       
    32  * ringing tone for alerting of incoming call.
       
    33  *
       
    34  * Central Repository file of the key: KCRUidProfileEngine.
       
    35  *
       
    36  */
       
    37 const TUint32 KProEngDefaultRingingTone = 0x7F000004;
       
    38 
       
    39 /**
       
    40  * Default message alert tone for all profiles. String value. Read-only.
       
    41  * This alert tone is used if some error condition prevents using the user-set
       
    42  * alert tone for alerting of incoming message.
       
    43  *
       
    44  * Central Repository file of the key: KCRUidProfileEngine.
       
    45  *
       
    46  */
       
    47 const TUint32 KProEngDefaultMessageTone = 0x7F000006;
       
    48 
       
    49 /**
       
    50  * Default Instant Message alert tone for all profiles. String value. Read-only.
       
    51  * @deprecated IM does not use Profiles-dependent alert tone anymore.
       
    52  *
       
    53  * Central Repository file of the key: KCRUidProfileEngine.
       
    54  *
       
    55  */
       
    56 const TUint32 KProEngDefaultImTone = 0x7F00000C;
       
    57 
       
    58 /**
       
    59  * This integer indicates the maximum file size (kilo bytes) of ring tone
       
    60  * files that can be selected as voice call ringing tone.
       
    61  *
       
    62  * Central Repository file of the key: KCRUidProfileEngine.
       
    63  *
       
    64  * Possible values:
       
    65  *
       
    66  * 0   switches off file size checking. I.e. then all files can be selected.
       
    67  * >0  max size. For example 100 would set the maximum file size as 100 kB.
       
    68  *
       
    69  */
       
    70 const TUint32 KProEngRingingToneMaxSize = 0x80000103;
       
    71 
       
    72 
       
    73 
       
    74 /**
       
    75  * Profiles local variation CR file.
       
    76  */
       
    77 const TUid KCRUidProfilesLV = {0x101F8799};
       
    78 
       
    79 /**
       
    80  * Standard bitmask type of key used for local variation of Profiles.
       
    81  * One bit is used to control one feature. If the bit is on (= 1) the feature
       
    82  * is enabled and if the bit is off the feature is off.
       
    83  * The meaning of each bit are defined in ProfilesVariant.hrh.
       
    84  *
       
    85  * Central Repository file of the key: KCRUidProfilesLV.
       
    86  *
       
    87  * Integer value.
       
    88  *
       
    89  * @since 3.0
       
    90  *
       
    91  * Default values:
       
    92  * S60 3.1: 1 (KProEngFeatureIdVTRingingTone enabled)
       
    93  * S60 3.2: 1
       
    94  * S60 4.0: 1
       
    95  */
       
    96 const TUint32 KProfilesLVFlags             = 0x00000000;
       
    97 
       
    98 /**
       
    99  * Standard bitmask type of key used for local variation of Profiles Tones View
       
   100  * (in General Settings). One bit is used to control one feature. If the bit is
       
   101  * on (= 1) the feature is enabled and if the bit is off the feature is off.
       
   102  * The meanings for each bit used are defined in the end of this file.
       
   103  *
       
   104  * Central Repository file of the key: KCRUidProfilesLV.
       
   105  *
       
   106  * Integer value.
       
   107  *
       
   108  * @since 3.1
       
   109  *
       
   110  * Default values:
       
   111  * S60 3.1: 0 (KTonesViewFeatureIdHac disabled)
       
   112  * S60 3.2: 1 (KTonesViewFeatureIdHac enabled)
       
   113  */
       
   114 const TUint32 KProEngTonesViewLVFlags = 0x00000001;
       
   115 
       
   116 /**
       
   117  * This key defines the set of MIME-types that are not allowed as alert tones.
       
   118  * When the user is trying to set an alert tone, this list must be checked
       
   119  * first before the following 2 lists and act accordingly. Trying to set a tone
       
   120  * of a type given in this list as alert tone should result in an error note: 
       
   121  * "Not allowed" or similar.
       
   122  *
       
   123  * Central Repository file of the key: KCRUidProfilesLV.
       
   124  *
       
   125  * String value.
       
   126  *
       
   127  * Possible values: space separated list of MIME-types to be blocked.
       
   128  *
       
   129  * Default value:""
       
   130  */
       
   131 const TUint32 KProEngBlockedTones = 0x00000002;
       
   132 
       
   133 /**
       
   134  * This key defines the set of MIME-types that are not allowed as alert tones
       
   135  * if the tone file in question is NOT DRM protected. Trying to set a tone of
       
   136  * a type given in this list as alert tone should result in an error note:
       
   137  * "Unprotected file. Cannot be selected as ringing tone." or similar.
       
   138  * Note, if a MIME-type is already included in KProEngBlockedTones, it should
       
   139  * not have to be included in this list.
       
   140  *
       
   141  * Central Repository file of the key: KCRUidProfilesLV.
       
   142  *
       
   143  * String value.
       
   144  *
       
   145  * Possible values: space separated list of MIME-types to be blocked.
       
   146  *
       
   147  * Default value:""
       
   148  */
       
   149 const TUint32 KProEngBlockedUnprotectedTones = 0x00000003;
       
   150 
       
   151 /**
       
   152  * This key defines the set of MIME-types that are not allowed as alert tones
       
   153  * if the tone file in question IS DRM protected. Trying to set a tone of a
       
   154  * type given in this list as alert tone should result in an error note:
       
   155  * "Protected file. Cannot be selected as ringing tone." or similar.
       
   156  * Note, if a MIME-type is already included in KProEngBlockedTones, it should
       
   157  * not have to be included in this list.
       
   158  *
       
   159  * Central Repository file of the key: KCRUidProfilesLV.
       
   160  *
       
   161  * String value.
       
   162  *
       
   163  * Possible values: space separated list of MIME-types to be blocked.
       
   164  *
       
   165  * Default value:""
       
   166  */
       
   167 const TUint32 KProEngBlockedProtectedTones = 0x00000004;
       
   168 
       
   169 /**
       
   170  * This key defines the set of MIME-types that are not allowed to be demo-played
       
   171  * in Tone Selection dialog.
       
   172  *
       
   173  * Central Repository file of the key: KCRUidProfilesLV.
       
   174  *
       
   175  * String value.
       
   176  *
       
   177  * Possible values: space separated list of MIME-types to be blocked. If the
       
   178  * list is empty, the demo-play of tones are not blocked at all (if the MIME
       
   179  * type is otherwise supported by MMF).
       
   180  */
       
   181 const TUint32 KProEngBlockedDemoPlayTones = 0x00000005;
       
   182 
       
   183 /**
       
   184  * This key defines the set of MIME-types that are to be excluded from the list
       
   185  * of tones in Tone Selection dialog. If the attempt to set the tone is carried
       
   186  * out by other means than using Tone Selection dialog, the behaviour will be
       
   187  * the same as with the tones in KProEngBlockedTones list.
       
   188  *
       
   189  * Central Repository file of the key: KCRUidProfilesLV.
       
   190  *
       
   191  * String value.
       
   192  *
       
   193  * Possible values: space separated list of MIME-types to be excluded/blocked.
       
   194  * If the list is empty, the demo-play of tones are not excluded at all (if the
       
   195  * MIME type is otherwise supported by MMF).
       
   196  */
       
   197 const TUint32 KProEngExcludedTones = 0x00000006;
       
   198 
       
   199 
       
   200 //
       
   201 // Bit definitions for KProEngTonesViewLVFlags
       
   202 //
       
   203 
       
   204 /**
       
   205  * This bit indicates whether HAC hearing aid compatibility support for 
       
   206  * size architecture feature is enabled.
       
   207  * @since 3.1
       
   208  */
       
   209 const TUint32 KTonesViewFeatureIdHac = 0x00000001;
       
   210 
       
   211 #endif      // PROFILEENGINEDOMAINCRKEYS_H
       
   212 
       
   213 // End of File