profilesservices/RingingTone3DPlugin/inc/tdaudioconstants.h
changeset 68 13e71d907dc3
parent 0 8c5d936e5675
equal deleted inserted replaced
40:6465d5bb863a 68:13e71d907dc3
       
     1 /*
       
     2 * Copyright (c) 2002-2006 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:  Common constants and enums used in all three implementations.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TDAUDIOCONSTANTS_H
       
    20 #define TDAUDIOCONSTANTS_H
       
    21 
       
    22 // CONSTANTS
       
    23 // Application UID, same UID is used for Central Repository.
       
    24 //const TUid KUid3DAudioRingingTone = { 0x10201AFD };
       
    25 //const TUid K3DAudioRepositoryUid = { 0x10201AFD };
       
    26 
       
    27 const TUid KUid3DAudioRingingTone = { 0x10208ADF };
       
    28 const TUid K3DAudioRepositoryUid = { 0x10208ADF };
       
    29 
       
    30 #ifdef __SERIES60_30__
       
    31 // Key to ringing tone in first profile (number 0)
       
    32 const TInt KProEngRingingTone = 0x00000004;
       
    33 
       
    34 // Multiplier for each profile.
       
    35 const TInt KProfileMultiplier = 0x01000000;
       
    36 
       
    37 #endif
       
    38 
       
    39 // Extension for not supported ringing tones.
       
    40 _LIT( KRngType, ".rng" );
       
    41 
       
    42 // Filename of "No-Sound" ringing tone.
       
    43 _LIT( KNoToneFileName, "Z:\\resource\\No_Sound.wav" );
       
    44 
       
    45 // Default velocity for all motion patterns.
       
    46 const TInt KMotionPatternDefaultVelocity = 5;
       
    47 
       
    48 // DATA TYPES
       
    49 // Keys to Central Repository.
       
    50 enum T3DAudioRepositoryKeys
       
    51 	{
       
    52 	E3DAudioRepositoryStatus = 0x1,
       
    53 	E3DAudioRepositoryPattern,
       
    54 	E3DAudioRepositoryVelocity,
       
    55 	E3DAudioRepositoryReverb,
       
    56 	E3DAudioRepositoryDoppler,
       
    57 	E3DAudioRepositoryDopplerAvailable,
       
    58 	E3DAudioRepositoryRingingToneInUse,
       
    59 	E3DAudioRepositoryProfileId,
       
    60 	
       
    61 	E3DAudioRepositoryLoadedPattern = 0x10,
       
    62 	E3DAudioRepositoryBlockCount,
       
    63 	E3DAudioRepositoryBlockStart = 0x20
       
    64 	};
       
    65 
       
    66 #endif // TDAUDIOCONSTANTS_H
       
    67 
       
    68 // End of File