diff -r 9422ed56ee45 -r 63c982fb92f2 harvester/common/src/harvesterplugin.cpp --- a/harvester/common/src/harvesterplugin.cpp Mon Jun 21 16:09:02 2010 +0300 +++ b/harvester/common/src/harvesterplugin.cpp Thu Jul 15 19:07:24 2010 +0300 @@ -65,7 +65,7 @@ iDtor_ID_Key( KNullUid ), iOriginPropertyDef( NULL ), iTitlePropertyDef( NULL ), - iHarvesting( NULL ) + iHarvesting( EFalse ) { } @@ -132,6 +132,11 @@ { case EHarvesterIdle: { + if( iHarvesting ) + { + TRAP_IGNORE( iFactory->SendHarvestingStatusEventL( EFalse ) ); + iHarvesting = EFalse; + } } break; @@ -332,6 +337,19 @@ } // --------------------------------------------------------------------------- +// PluginInIdleState +// --------------------------------------------------------------------------- +// +EXPORT_C TBool CHarvesterPlugin::PluginInIdleState() + { + if( iState == EHarvesterIdle ) + { + return ETrue; + } + return EFalse; + } + +// --------------------------------------------------------------------------- // E32Dll // --------------------------------------------------------------------------- //