diff -r 3533d4323edc -r 968773a0b6ef emailservices/emailframework/src/CFSMailClient.cpp --- a/emailservices/emailframework/src/CFSMailClient.cpp Wed Sep 01 12:28:57 2010 +0100 +++ b/emailservices/emailframework/src/CFSMailClient.cpp Tue Sep 14 20:48:24 2010 +0300 @@ -130,7 +130,7 @@ } else { - iFWImplementation->GetPluginManager().RecheckPlugins(); + iFWImplementation->GetPluginManager().RecheckPluginsL(); plugin = iFWImplementation->GetPluginManager().GetPluginByUid(aMailBoxId); if(plugin) { @@ -251,7 +251,10 @@ CFSMailBox *mailBox = NULL; // - iFWImplementation->GetPluginManager().RecheckPlugins(); + // it is ok to ignore leave of this, because calling this we just ensure + // that all plugins are loaded and if not then it tries to load missing ones. + // Anyway we have to continue even not all plugins are loaded. + TRAP_IGNORE( iFWImplementation->GetPluginManager().RecheckPluginsL() ); if(aPlugin.IsNullId()) { @@ -583,6 +586,16 @@ } // ----------------------------------------------------------------------------- +// CFSMailClient::AreAllPluginsLoaded +// ----------------------------------------------------------------------------- +EXPORT_C TBool CFSMailClient::AreAllPluginsLoaded( ) + { + TBool result = EFalse; + TRAP_IGNORE( result = iFWImplementation->GetPluginManager().RecheckPluginsL( ) ); + return result; + } + +// ----------------------------------------------------------------------------- // CFSMailClient::Close // ----------------------------------------------------------------------------- EXPORT_C void CFSMailClient::Close()