diff -r 4b22a598b890 -r c9bf25a20c9f creator/engine/inc/creator_modulebase.h --- a/creator/engine/inc/creator_modulebase.h Thu May 27 12:52:19 2010 +0300 +++ b/creator/engine/inc/creator_modulebase.h Fri Jun 11 13:39:09 2010 +0300 @@ -48,6 +48,7 @@ class CCommandParser; _LIT(KSavingText, "Saving"); +_LIT(KDeletingText, "Deleting"); class MCreatorModuleBase { @@ -77,7 +78,10 @@ ECreatorModuleStart }; - CCreatorModuleBase(){ } + CCreatorModuleBase() + { + iEntriesToBeCreated = 1; + } virtual TBool AskDataFromUserL(TInt aCommand) { @@ -94,12 +98,13 @@ iEngine->ShutDownEnginesL(); return; } - + const TDesC* showText = &KSavingText; TBool finished(EFalse); TBool retval(ETrue); switch(aUserData) { case ECreatorModuleDelete: + showText = &KDeletingText; iEntriesToBeCreated = 1; finished = ETrue; break; @@ -120,7 +125,7 @@ // add this command to command array iEngine->AppendToCommandArrayL(iCommand, NULL, iEntriesToBeCreated); // started exucuting commands - iEngine->ExecuteFirstCommandL( KSavingText ); + iEngine->ExecuteFirstCommandL( *showText ); } }