equal
deleted
inserted
replaced
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 #include <epos_cposlandmarkdatabase.h> |
19 #include <EPos_CPosLandmarkDatabase.h> |
20 #include <epos_cposlmcategorymanager.h> |
20 #include <EPos_CPosLmCategoryManager.h> |
21 #include <lbsposition.h> |
21 #include <lbsposition.h> |
22 |
22 |
23 #include "engine.h" |
23 #include "engine.h" |
24 #include "enginewrapper.h" |
24 #include "enginewrapper.h" |
25 #include "creator_landmark.h" |
25 #include "creator_landmark.h" |
351 } |
351 } |
352 |
352 |
353 /** |
353 /** |
354 * |
354 * |
355 */ |
355 */ |
356 TBool CCreatorLandmarks::AskDataFromUserL(TInt aCommand, TInt& aNumberOfEntries) |
356 TBool CCreatorLandmarks::AskDataFromUserL(TInt aCommand) |
357 { |
357 { |
358 LOGSTRING("Creator: CCreatorLandmarks::AskDataFromUserL"); |
358 LOGSTRING("Creator: CCreatorLandmarks::AskDataFromUserL"); |
|
359 |
|
360 CCreatorModuleBase::AskDataFromUserL( aCommand ); |
|
361 |
359 if ( aCommand == ECmdDeleteLandmarks ) |
362 if ( aCommand == ECmdDeleteLandmarks ) |
360 { |
363 { |
361 return iEngine->GetEngineWrapper()->YesNoQueryDialog( _L("Delete all Landmarks?") ); |
364 return iEngine->GetEngineWrapper()->YesNoQueryDialog( _L("Delete all Landmarks?"), this, ECreatorModuleDelete ); |
362 } |
365 } |
363 else if ( aCommand == ECmdDeleteCreatorLandmarks ) |
366 else if ( aCommand == ECmdDeleteCreatorLandmarks ) |
364 { |
367 { |
365 return iEngine->GetEngineWrapper()->YesNoQueryDialog( _L("Delete all Landmarks created with Creator?") ); |
368 return iEngine->GetEngineWrapper()->YesNoQueryDialog( _L("Delete all Landmarks created with Creator?"), this, ECreatorModuleDelete ); |
366 } |
369 } |
367 return iEngine->GetEngineWrapper()->EntriesQueryDialog(aNumberOfEntries, _L("How many landmarks to create?")); |
370 return iEngine->GetEngineWrapper()->EntriesQueryDialog(&iEntriesToBeCreated, _L("How many landmarks to create?"), EFalse, this, ECreatorModuleStart ); |
368 } |
371 } |
369 |
372 |
370 /** |
373 /** |
371 * Convert global category id to local category id |
374 * Convert global category id to local category id |
372 */ |
375 */ |