1 /* |
|
2 * Copyright (c) 2005-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: Map and Navigation Application Services |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MN_APP_SERVICES_HRH |
|
20 #define MN_APP_SERVICES_HRH |
|
21 |
|
22 /** /file |
|
23 * @brief Defines constants common for |
|
24 * Map and Navigation FW .H and .RH files. |
|
25 * |
|
26 * MapView application service features. Any combination of these can be defined in SERVICE_INFO |
|
27 * for @ref KMnAppMapViewService. |
|
28 * - @ref KMnSvcFeatureShowMap |
|
29 * - @ref KMnSvcFeatureSelectFromMap |
|
30 * |
|
31 * Navigation application service features. Any combination of these can be defined in SERVICE_INFO |
|
32 * for @ref KMnAppNavigationService. |
|
33 * - @ref KMnSvcFeatureNavigateTo |
|
34 * |
|
35 * Geocoding application service features. Any combination of these can be defined in SERVICE_INFO |
|
36 * for @ref KMnAppGeocodingService. |
|
37 * - @ref KMnSvcFeatureCoordToAddr |
|
38 * - @ref KMnSvcFeatureAddrToCoord |
|
39 * - @ref KMnSvcFeaturePlainAddrToCoord |
|
40 * |
|
41 * Map Image application service features. Any combination of these can be defined in SERVICE_INFO |
|
42 * for @ref KMnAppMapImageService. |
|
43 * - @ref KMnSvcFeatureVectorMap |
|
44 * - @ref KMnSvcFeatureSatelliteImage |
|
45 */ |
|
46 |
|
47 // --------------------------------------------------------------------------- |
|
48 // MapView application service features. |
|
49 // --------------------------------------------------------------------------- |
|
50 // |
|
51 |
|
52 /** Displaying map with landmarks and current location. |
|
53 * If specified, it means that Provider Application implements: |
|
54 * - CMnMapViewServiceBase::HandleShowMapL() |
|
55 * - CMnMapViewServiceBase::HandleShowCurrentLocationL() |
|
56 */ |
|
57 #define KMnSvcFeatureShowMap 0x01 |
|
58 |
|
59 /** Selecting location from map |
|
60 * If specified, it means that Provider Application implements: |
|
61 * - CMnMapViewServiceBase::HandleSelectFromMapL() |
|
62 */ |
|
63 #define KMnSvcFeatureSelectFromMap 0x02 |
|
64 |
|
65 // --------------------------------------------------------------------------- |
|
66 // Navigation application service features. |
|
67 // --------------------------------------------------------------------------- |
|
68 // |
|
69 |
|
70 /** Basic navigation. |
|
71 * If specified, it means that Provider Application implements: |
|
72 * - CMnNavigationServiceBase::HandleNavigateToL() |
|
73 */ |
|
74 #define KMnSvcFeatureNavigateTo 0x01 |
|
75 |
|
76 // --------------------------------------------------------------------------- |
|
77 // Geocoding application service features. |
|
78 // --------------------------------------------------------------------------- |
|
79 // |
|
80 |
|
81 /** Coordinate to Address conversion. |
|
82 * If specified, it means that Provider Application implements: |
|
83 * - CMnGeocodingServiceBase::HandleFindAddressByCoordinateL() |
|
84 */ |
|
85 #define KMnSvcFeatureCoordToAddr 0x01 |
|
86 |
|
87 /** Address to Coordinate conversion. |
|
88 * If specified, it means that Provider Application implements: |
|
89 * - CMnGeocodingServiceBase::HandleFindCoordinateByAddressL(const CPosLandmark&) |
|
90 */ |
|
91 #define KMnSvcFeatureAddrToCoord 0x02 |
|
92 |
|
93 /** Plain-string-address to Coordinate conversion. |
|
94 * If specified, it means that Provider Application implements: |
|
95 * - CMnGeocodingServiceBase::HandleFindCoordinateByAddressL(const TDesC&) |
|
96 */ |
|
97 #define KMnSvcFeaturePlainAddrToCoord 0x04 |
|
98 |
|
99 // --------------------------------------------------------------------------- |
|
100 // MapImage application service features. |
|
101 // --------------------------------------------------------------------------- |
|
102 // |
|
103 |
|
104 /** Rendering of scalable vector-based map. |
|
105 * If specified, it means that Provider Application implements |
|
106 * CMnMapImageServiceBase::HandleRenderingL() and supports image type |
|
107 * CMnMapImage::ETypeVectorMap |
|
108 */ |
|
109 #define KMnSvcFeatureVectorMap 0x01 |
|
110 |
|
111 /** Rendering of map image from satellite photos of Earth. |
|
112 * If specified, it means that Provider Application implements |
|
113 * CMnMapImageServiceBase::HandleRenderingL() and supports image type |
|
114 * CMnMapImage::ETypeSatelliteImage |
|
115 */ |
|
116 #define KMnSvcFeatureSatelliteImage 0x02 |
|
117 |
|
118 #endif // MN_APP_SERVICES_HRH |
|
119 |
|
120 |
|