It provides functionality for viewing and editing landmark data. By default all the fields are shown, but user can customize the total number of displayable fields. It also supports mechanism to disable map and navigation related menu option.
|
Public Types |
| enum | _TLmkEditorAttributes {
ELmkOnlyName = 0x0000,
ELmkCategory = 0x0001,
ELmkStreet = 0x0002,
ELmkCity = 0x0004,
ELmkStateProvince = 0x0008,
ELmkCountry = 0x0010,
ELmkPostalZIP = 0x0020,
ELmkLatitude = 0x0040,
ELmkLongitude = 0x0080,
ELmkPositionAccuracy = 0x0100,
ELmkAltitude = 0x0200,
ELmkAltitudeAccuracy = 0x0400,
ELmkAll = 0xFFFF,
ELmkDescription = 0x0800,
ELmkPhoneNumber = 0x1000,
ELmkWebAddress = 0x2000
} |
| enum | _TLmkEditorMode { ELmkEditor,
ELmkViewer
} |
Public Member Functions |
| IMPORT_C | ~CLmkEditorDlg () |
| | Destructor.
|
| IMPORT_C void | SetMopParent (MObjectProvider *aParent) |
| | This method sets the context - that is, the enclosing parent control - for this control.
|
| IMPORT_C void | SetHelpContext (TCoeHelpContext aContext) |
| | This method sets help context.
|
| IMPORT_C TInt | ExecuteLD () |
| | This function launches the landmark dialog.It launches the dialog either in viewer or editor mode , depending upon the flag set.
|
| IMPORT_C void | DisableMapAndNavigationMenuOptions () |
| | This function when invoked, disables the Map and Navigation related Menu Options This needs to be invoked before ExecuteLD().By default, the Map and Navigation menu options are enabled and are shown.
|
Static Public Member Functions |
| static IMPORT_C CLmkEditorDlg * | NewL (CPosLandmarkDatabase &aDb, TPosLmItemId aLandmarkId, TLmkEditorParams &aParams) |
| | This is a static function, which create and returns, an instance of this class, based on landmark id, which exists in landmark database.
|
| static IMPORT_C CLmkEditorDlg * | NewL (CPosLandmarkDatabase &aDb, CPosLandmark &aLandmark, TLmkEditorParams &aParams) |
| | This is a static function, which create and returns, an instance of this class, based on landmark object, which does not exist in landmark database.
|
Data Structures |
| class | TLmkEditorParams |
| | This class is a wrapper, around the flags _TLmkEditorAttributes and _TLmkEditorMode. More...
|
|
|
Defines the flag for displaying landmark fields on the viewer/editor dialog. Any combination of these flags,will display those fields,when viewer/editor is launched. By default the flag is set as ELmkAll.This flag is set in class TLmkEditorParams. - Enumerator:
-
| ELmkOnlyName |
This flag allows Name field of the landmark, to be shown. | | ELmkCategory |
This flag allows the Category/Categories field of the landmark , to be shown. | | ELmkStreet |
This flag allows the Street name field of the landmark,to be shown. | | ELmkCity |
This flag allows the City name field to be shown, where the landmark belongs. | | ELmkStateProvince |
This flag allows the State name field to be shown,where the landmark belongs. | | ELmkCountry |
This flag allows the Country name field to be shown, where landmark belongs. | | ELmkPostalZIP |
This flag allows the Postal Zip field of the landmark, to be shown. | | ELmkLatitude |
This flag allows the Latitude field of the landmark, to be shown. | | ELmkLongitude |
This flag allows the Longitude field of the landmark, to be shown. | | ELmkPositionAccuracy |
This flag allows the Position accuracy field of the landmark, to be shown.It specifies the horizontal accuracy of the landmark related to Longitude and Latitude values. | | ELmkAltitude |
This flag allows the Altitude field of the landmark, to be shown.
It specifies the vertical position of the landmark. | | ELmkAltitudeAccuracy |
This flag allows the Altitude accuracy field of the landmark, to be shown.It specifies the vertical accuracy of the landmark related to Landmark's Altitude value. | | ELmkAll |
This flag allows All fields of the landmark, to be shown. | | ELmkDescription |
| | ELmkPhoneNumber |
This flag allows the Phone number field of the landmark, to be shown. | | ELmkWebAddress |
This flag allows the Web address field of the landmark, to be shown. |
|