eventsui/eventseditor/inc/evteditorconsts.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 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:   it will contain constans for engine/editor
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef EVTMGMTUICONSTS_H_
       
    21 #define EVTMGMTUICONSTS_H_
       
    22 
       
    23 /*
       
    24  *  constants used in editor/engine
       
    25  */
       
    26 
       
    27 /*
       
    28  * resource file containing all editor specific resources
       
    29  */
       
    30 _LIT( KEvtEditorResFileName, "evtmgmteditorui.rsc" );
       
    31 
       
    32 /*
       
    33  *  Mif containing all icons used in editor ui
       
    34  */
       
    35 _LIT( KEvtMgmtUiIconFileName, "evteditor.mif" );
       
    36 
       
    37 /*
       
    38  *  Maximum length of place attribute stored in local database
       
    39  */
       
    40 const TInt KPlaceMaxLength = 256;
       
    41 
       
    42 /*
       
    43  *  time out value for location acquisition
       
    44  *  If location is not retrived within this time period, it fails with time-out error
       
    45  */
       
    46 const TInt64 KLocAcqTimeOut = 1000000*2*60 ; //2 minutes
       
    47 
       
    48 /*
       
    49  * minimum value for radius in km
       
    50  */
       
    51 const TReal KMinRadiusInKm = 0.1;
       
    52 
       
    53 /*
       
    54  *  maximum value for radius in km 
       
    55  */
       
    56 const TReal KMaxRadiusInKm = 1.5;
       
    57 
       
    58 /*
       
    59  * Conversion from km to mile.
       
    60  */
       
    61 const TReal KUnitConversion = 0.621371192237;
       
    62 
       
    63 /*
       
    64  *  maximum limit for low accuracy
       
    65  * Required when place is set using 'Current Location'
       
    66  */
       
    67 const TInt KLowAccuracyMaxLimit = 500;
       
    68 
       
    69 /*
       
    70  * Maximum limit for medium accuracy
       
    71  * Required when place is set using 'Current Location'
       
    72  */
       
    73 const TInt KMediumAccuracyMaxLimit = 1500;
       
    74 
       
    75 /*
       
    76  *  prefix for tone recorded from eventsui application
       
    77  */
       
    78 //TODO: tone name should be changed acc to draft
       
    79  _LIT(KRecorderFile, "soundclip");
       
    80  
       
    81  /*
       
    82   *  file extention for tone recorded from eventsui application
       
    83   */
       
    84  _LIT(KRecorderFileEnd, ".amr");
       
    85  
       
    86 #endif /*EVTMGMTUICONSTS_H_*/