harvester/common/src/harvesterplugin.cpp
changeset 36 aa5a574040a4
parent 23 33ae025ac1e8
child 43 c5e73110f733
child 54 a3cc46f37772
equal deleted inserted replaced
35:f727727520eb 36:aa5a574040a4
    63 	iQueue( NULL ),
    63 	iQueue( NULL ),
    64 	iBlacklist( NULL ),
    64 	iBlacklist( NULL ),
    65     iDtor_ID_Key( KNullUid ),
    65     iDtor_ID_Key( KNullUid ),
    66     iOriginPropertyDef( NULL ),
    66     iOriginPropertyDef( NULL ),
    67     iTitlePropertyDef( NULL ),
    67     iTitlePropertyDef( NULL ),
    68     iHarvesting( NULL )
    68     iHarvesting( EFalse )
    69 	{
    69 	{
    70 	}
    70 	}
    71 
    71 
    72 // ---------------------------------------------------------------------------
    72 // ---------------------------------------------------------------------------
    73 // ListImplementationsL
    73 // ListImplementationsL
   130     {
   130     {
   131     switch( iState )
   131     switch( iState )
   132         {
   132         {
   133         case EHarvesterIdle:
   133         case EHarvesterIdle:
   134             {
   134             {
       
   135             if( iHarvesting )
       
   136                 {
       
   137                 TRAP_IGNORE( iFactory->SendHarvestingStatusEventL( EFalse ) );
       
   138                 iHarvesting = EFalse;     
       
   139                 }
   135             }
   140             }
   136             break;
   141             break;
   137             
   142             
   138         case EHarvesterGathering:
   143         case EHarvesterGathering:
   139             {
   144             {
   330     {
   335     {
   331     iFactory = &aFactory;
   336     iFactory = &aFactory;
   332     }
   337     }
   333 
   338 
   334 // ---------------------------------------------------------------------------
   339 // ---------------------------------------------------------------------------
       
   340 // PluginInIdleState
       
   341 // ---------------------------------------------------------------------------
       
   342 //
       
   343 EXPORT_C TBool CHarvesterPlugin::PluginInIdleState()
       
   344     {
       
   345     if( iState == EHarvesterIdle )
       
   346         {
       
   347         return ETrue;
       
   348         }
       
   349     return EFalse;
       
   350     }
       
   351 
       
   352 // ---------------------------------------------------------------------------
   335 // E32Dll
   353 // E32Dll
   336 // ---------------------------------------------------------------------------
   354 // ---------------------------------------------------------------------------
   337 //
   355 //
   338 GLDEF_C TInt E32Dll()
   356 GLDEF_C TInt E32Dll()
   339 	{
   357 	{