S60 3rd Edition SDK for Symbian OS
Example Applications Guide

LandmarksCommonData.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : LandmarksCommonData.h
00004 *  Part of     : Landmark Reference Application
00005 *  Interface   : -
00006 *  Description : Contains data and definitions used by several classes
00007 *  Version     : 1.0
00008 *
00009 *  Copyright (c) 2004-2006 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #ifndef __LANDMARKS_COMMON_DATA_H__
00017 #define __LANDMARKS_COMMON_DATA_H__
00018 
00019 // INCLUDES
00020 #include <gulicon.h>
00021 #include <AknIconUtils.h>
00022 
00023 // DATA TYPES
00024 typedef CArrayPtr<CGulIcon> CIconList;
00025 
00026 // CONSTANTS
00027 _LIT(KTab, "\t");
00028 _LIT(KWildCard, "*");
00029 _LIT(KLandmarksMbmFileName, "\\resource\\apps\\LmRefApp.mbm");
00030 
00031 _LIT(KLatLongFormat, "%g");
00032 _LIT(KListBoxLatLongFormat, "%S%d%c %d' %.3f\"");
00033 _LIT(KPositiveSign, "+");
00034 _LIT(KNegativeSign, "-");
00035 
00036 const TInt KMinutesPerDegree = 60;
00037 const TInt KSecondsPerMinute = 60;
00038 const TInt KDegreeSign = 0x00B0;
00039 
00040 const TInt KNrOfDecimals = 2;
00041 const TInt KNrOfItemsDisplayed = 5;
00042 const TInt KGranularity = 8;
00043 
00044 const TReal KDbUsageLimit = 0.8;
00045 
00046 const TInt KDefaultGlobalIconIndex = 0;     // see CreateIconListL()
00047 const TInt KDefaultUserIconIndex = 1;
00048 
00049 #endif // __LANDMARKS_COMMON_DATA_H__
00050 
00051 // End of File
00052 

© Nokia 2006

Back to top