equal
deleted
inserted
replaced
128 // get mailbox from plugin |
128 // get mailbox from plugin |
129 mailBox = plugin->GetMailBoxByUidL(aMailBoxId); |
129 mailBox = plugin->GetMailBoxByUidL(aMailBoxId); |
130 } |
130 } |
131 else |
131 else |
132 { |
132 { |
133 iFWImplementation->GetPluginManager().RecheckPlugins(); |
133 iFWImplementation->GetPluginManager().RecheckPluginsL(); |
134 plugin = iFWImplementation->GetPluginManager().GetPluginByUid(aMailBoxId); |
134 plugin = iFWImplementation->GetPluginManager().GetPluginByUid(aMailBoxId); |
135 if(plugin) |
135 if(plugin) |
136 { |
136 { |
137 // get mailbox from plugin |
137 // get mailbox from plugin |
138 mailBox = plugin->GetMailBoxByUidL(aMailBoxId); |
138 mailBox = plugin->GetMailBoxByUidL(aMailBoxId); |
249 |
249 |
250 // <cmail> |
250 // <cmail> |
251 CFSMailBox *mailBox = NULL; |
251 CFSMailBox *mailBox = NULL; |
252 // </cmail> |
252 // </cmail> |
253 |
253 |
254 iFWImplementation->GetPluginManager().RecheckPlugins(); |
254 // it is ok to ignore leave of this, because calling this we just ensure |
|
255 // that all plugins are loaded and if not then it tries to load missing ones. |
|
256 // Anyway we have to continue even not all plugins are loaded. |
|
257 TRAP_IGNORE( iFWImplementation->GetPluginManager().RecheckPluginsL() ); |
255 |
258 |
256 if(aPlugin.IsNullId()) |
259 if(aPlugin.IsNullId()) |
257 { |
260 { |
258 for(TInt i=0;i<iFWImplementation->GetPluginManager().GetPluginCount();i++) |
261 for(TInt i=0;i<iFWImplementation->GetPluginManager().GetPluginCount();i++) |
259 { |
262 { |
581 plugin->PrepareMrDescriptionL( aMailBoxId, aMessageId ); |
584 plugin->PrepareMrDescriptionL( aMailBoxId, aMessageId ); |
582 } |
585 } |
583 } |
586 } |
584 |
587 |
585 // ----------------------------------------------------------------------------- |
588 // ----------------------------------------------------------------------------- |
|
589 // CFSMailClient::AreAllPluginsLoaded |
|
590 // ----------------------------------------------------------------------------- |
|
591 EXPORT_C TBool CFSMailClient::AreAllPluginsLoaded( ) |
|
592 { |
|
593 TBool result = EFalse; |
|
594 TRAP_IGNORE( result = iFWImplementation->GetPluginManager().RecheckPluginsL( ) ); |
|
595 return result; |
|
596 } |
|
597 |
|
598 // ----------------------------------------------------------------------------- |
586 // CFSMailClient::Close |
599 // CFSMailClient::Close |
587 // ----------------------------------------------------------------------------- |
600 // ----------------------------------------------------------------------------- |
588 EXPORT_C void CFSMailClient::Close() |
601 EXPORT_C void CFSMailClient::Close() |
589 { |
602 { |
590 FUNC_LOG; |
603 FUNC_LOG; |