diff -r 208a4ba3894c -r 6832643895f7 harvesterplugins/messaging/email/src/cemailplugin.cpp --- a/harvesterplugins/messaging/email/src/cemailplugin.cpp Mon May 03 12:32:15 2010 +0300 +++ b/harvesterplugins/messaging/email/src/cemailplugin.cpp Fri May 14 15:53:17 2010 +0300 @@ -158,10 +158,10 @@ if (!iIndexer[drive]) User::Leave(KErrGeneral); - //Complete harvesting here only for time being - //HarvestingCompleted(KErrNone); - // Reset the database + // Reset the database iIndexer[drive]->ResetL(); + iQEmailFetcher->StartHarvesting(); + #ifdef __PERFORMANCE_DATA iStartTime.UniversalTime(); #endif @@ -353,6 +353,15 @@ } // --------------------------------------------------------------------------- +// CEmailPlugin::HarvestingCompleted callback from email fetcher +// --------------------------------------------------------------------------- +// +void CEmailPlugin::HarvestingCompleted() + { + HarvestingCompleted(KErrNone); + } + +// --------------------------------------------------------------------------- // CEmailPlugin::HarvestingCompleted // --------------------------------------------------------------------------- //