--- a/harvester/common/src/harvesterplugin.cpp Wed Jun 23 18:41:19 2010 +0300
+++ b/harvester/common/src/harvesterplugin.cpp Tue Jul 06 14:44:37 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
// ---------------------------------------------------------------------------
//