locationlandmarksrefappfors60/Inc/LandmarksCommonData.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 09:48:36 +0300
branchRCL_3
changeset 16 8173571d354e
parent 0 522cd55cc3d7
permissions -rw-r--r--
Revision: 201030 Kit: 201033

/*
* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Contains data and definitions used by several classes
*
*/


#ifndef __LANDMARKS_COMMON_DATA_H__
#define __LANDMARKS_COMMON_DATA_H__


#include <gulicon.h>
#include <AknIconUtils.h>

// DATA TYPES
typedef CArrayPtr<CGulIcon> CIconList;


_LIT(KTab, "\t");
_LIT(KWildCard, "*");
_LIT(KLandmarksMbmFileName, "\\resource\\apps\\LmRefApp.mbm");

_LIT(KLatLongFormat, "%g");
_LIT(KListBoxLatLongFormat, "%S%d%c %d' %.3f\"");
_LIT(KPositiveSign, "+");
_LIT(KNegativeSign, "-");

const TInt KMinutesPerDegree = 60;
const TInt KSecondsPerMinute = 60;
const TInt KDegreeSign = 0x00B0;

const TInt KNrOfDecimals = 2;
const TInt KNrOfItemsDisplayed = 5;
const TInt KGranularity = 8;

const TReal KDbUsageLimit = 0.8;

const TInt KDefaultGlobalIconIndex = 0;     // see CreateIconListL()
const TInt KDefaultUserIconIndex = 1;

#endif // __LANDMARKS_COMMON_DATA_H__