|
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: TMnMapSelectionResultInfo class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MN_MAPSELECTIONRESULTINFO_H |
|
20 #define MN_MAPSELECTIONRESULTINFO_H |
|
21 |
|
22 #include <mnmapview.h> |
|
23 #include <EPos_Landmarks.h> |
|
24 |
|
25 class CPosLandmark; |
|
26 |
|
27 /** \internal |
|
28 * Contains information about result of CMnMapView::SelectFromMapL request |
|
29 */ |
|
30 class TMnMapSelectionResultInfo |
|
31 { |
|
32 public: |
|
33 /** Default constructor */ |
|
34 inline TMnMapSelectionResultInfo(); |
|
35 /** Initializes for CMnMapView::ESelectionLandmarkIndex result */ |
|
36 inline TMnMapSelectionResultInfo( TInt aLandmarkIndex ); |
|
37 /** Initializes for CMnMapView::ESelectionFreeLandmark result */ |
|
38 inline TMnMapSelectionResultInfo( const TDesC8& aLandmarkBuffer ); |
|
39 /** Initializes for CMnMapView::ESelectionLinkedLandmark result */ |
|
40 inline TMnMapSelectionResultInfo( TPosLmItemId aLandmarkId, const TDesC& aDbUri ); |
|
41 |
|
42 /** Type of result */ |
|
43 CMnMapView::TSelectionResultType iType; |
|
44 /** Index of landmark selected */ |
|
45 TInt iLandmarkIndex; |
|
46 /** ID of landmark selected */ |
|
47 TPosLmItemId iLandmarkId; |
|
48 /** Size of buffer required to receive landark from server */ |
|
49 TInt iLandmarkSize; |
|
50 /** Size of buffer required to receive dafabase URI server */ |
|
51 TInt iDbUriSize; |
|
52 }; |
|
53 |
|
54 #endif // MN_MAPSELECTIONRESULTINFO_H |
|
55 |