|
1 /* |
|
2 * Copyright (c) 2002-2004 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: Contains data and definitions used by several classes |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __LANDMARKS_COMMON_DATA_H__ |
|
20 #define __LANDMARKS_COMMON_DATA_H__ |
|
21 |
|
22 |
|
23 #include <gulicon.h> |
|
24 #include <AknIconUtils.h> |
|
25 |
|
26 // DATA TYPES |
|
27 typedef CArrayPtr<CGulIcon> CIconList; |
|
28 |
|
29 |
|
30 _LIT(KTab, "\t"); |
|
31 _LIT(KWildCard, "*"); |
|
32 _LIT(KLandmarksMbmFileName, "\\resource\\apps\\LmRefApp.mbm"); |
|
33 |
|
34 _LIT(KLatLongFormat, "%g"); |
|
35 _LIT(KListBoxLatLongFormat, "%S%d%c %d' %.3f\""); |
|
36 _LIT(KPositiveSign, "+"); |
|
37 _LIT(KNegativeSign, "-"); |
|
38 |
|
39 const TInt KMinutesPerDegree = 60; |
|
40 const TInt KSecondsPerMinute = 60; |
|
41 const TInt KDegreeSign = 0x00B0; |
|
42 |
|
43 const TInt KNrOfDecimals = 2; |
|
44 const TInt KNrOfItemsDisplayed = 5; |
|
45 const TInt KGranularity = 8; |
|
46 |
|
47 const TReal KDbUsageLimit = 0.8; |
|
48 |
|
49 const TInt KDefaultGlobalIconIndex = 0; // see CreateIconListL() |
|
50 const TInt KDefaultUserIconIndex = 1; |
|
51 |
|
52 #endif // __LANDMARKS_COMMON_DATA_H__ |
|
53 |