ipsservices/ipssosplugin/src/ipsplgsosbaseplugin.cpp
changeset 74 6c59112cfd31
parent 68 83cc6bae1de8
child 76 38bf5461e270
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
   554 
   554 
   555 // ---------------------------------------------------------------------------
   555 // ---------------------------------------------------------------------------
   556 // ---------------------------------------------------------------------------
   556 // ---------------------------------------------------------------------------
   557 void CIpsPlgSosBasePlugin::GoOnlineL( const TFSMailMsgId& aMailBoxId )
   557 void CIpsPlgSosBasePlugin::GoOnlineL( const TFSMailMsgId& aMailBoxId )
   558     {
   558     {
   559     if ( !ConnOpRunning( aMailBoxId) )
   559     if ( iSyncStateHandler->GetCurrentSyncState(
       
   560             aMailBoxId) == Idle)
   560         {
   561         {
   561         // append mailbox id go online mailbox array
   562         // append mailbox id go online mailbox array
   562         RefreshNowL( aMailBoxId, *this, 0 );
   563         RefreshNowL( aMailBoxId, *this, 0 );
   563         }
   564         }
   564     }
   565     }
  2496                 GoOnlineL(aActiveMailboxId);
  2497                 GoOnlineL(aActiveMailboxId);
  2497                 }
  2498                 }
  2498             }
  2499             }
  2499         }
  2500         }
  2500     }
  2501     }
       
  2502 // <qmail>
       
  2503 // ---------------------------------------------------------------------------
       
  2504 // ---------------------------------------------------------------------------
       
  2505 TUid CIpsPlgSosBasePlugin::Id( ) const
       
  2506     {
       
  2507     return TUid::Uid( PluginId() );
       
  2508     }
  2501 // </qmail>
  2509 // </qmail>