equal
deleted
inserted
replaced
338 { |
338 { |
339 iEngine->ShutDownEnginesL(); |
339 iEngine->ShutDownEnginesL(); |
340 return; |
340 return; |
341 } |
341 } |
342 |
342 |
|
343 const TDesC* showText = &KSavingText; |
343 TBool finished(EFalse); |
344 TBool finished(EFalse); |
344 TBool retval(ETrue); |
345 TBool retval(ETrue); |
345 switch(aUserData) |
346 switch(aUserData) |
346 { |
347 { |
347 case ECreatorCalendarDelete: |
348 case ECreatorCalendarDelete: |
348 iEntriesToBeCreated = 1; |
349 iEntriesToBeCreated = 1; |
|
350 showText = &KDeletingText; |
349 finished = ETrue; |
351 finished = ETrue; |
350 break; |
352 break; |
351 case ECreatorCalendarStart: |
353 case ECreatorCalendarStart: |
352 if( iCommand == ECmdCreateCalendarEntryEvents || iCommand == ECmdCreateCalendarEntryAppointments ) |
354 if( iCommand == ECmdCreateCalendarEntryEvents || iCommand == ECmdCreateCalendarEntryAppointments ) |
353 { |
355 { |
404 else if( finished ) |
406 else if( finished ) |
405 { |
407 { |
406 // add this command to command array |
408 // add this command to command array |
407 iEngine->AppendToCommandArrayL(iCommand, NULL, iEntriesToBeCreated); |
409 iEngine->AppendToCommandArrayL(iCommand, NULL, iEntriesToBeCreated); |
408 // started exucuting commands |
410 // started exucuting commands |
409 iEngine->ExecuteFirstCommandL( KSavingText ); |
411 iEngine->ExecuteFirstCommandL( *showText ); |
410 } |
412 } |
411 } |
413 } |
412 |
414 |
413 //---------------------------------------------------------------------------- |
415 //---------------------------------------------------------------------------- |
414 |
416 |