contextframework/cfw/src/cfcontextsourcemanager/CFContextSourceManager.cpp
changeset 28 b0b858956ed5
parent 0 2e3d3ce01487
equal deleted inserted replaced
21:c4cbaa4fb734 28:b0b858956ed5
   475 // ---------------------------------------------------------------------------
   475 // ---------------------------------------------------------------------------
   476 //
   476 //
   477 void CCFContextSourceManager::UpdatePlugInsL()
   477 void CCFContextSourceManager::UpdatePlugInsL()
   478 	{
   478 	{
   479     FUNC_LOG;
   479     FUNC_LOG;
   480 
   480 	if (!iUpdatePluginsAllowed){return;}
   481     // List all plugins
   481     // List all plugins
   482     RImplInfoPtrArray implInfoArray;
   482     RImplInfoPtrArray implInfoArray;
   483     CleanupResetAndDestroyPushL( implInfoArray );
   483     CleanupResetAndDestroyPushL( implInfoArray );
   484     REComSession::ListImplementationsL( KContextSourcePlugInInterface,
   484     REComSession::ListImplementationsL( KContextSourcePlugInInterface,
   485         implInfoArray );
   485         implInfoArray );
   782 // ---------------------------------------------------------------------------
   782 // ---------------------------------------------------------------------------
   783 //
   783 //
   784 void CCFContextSourceManager::InitLoadingPluginsPhaseL()
   784 void CCFContextSourceManager::InitLoadingPluginsPhaseL()
   785     {
   785     {
   786     FUNC_LOG;
   786     FUNC_LOG;
   787 
   787 	iUpdatePluginsAllowed = ETrue;
   788     UpdatePlugInsL();
   788     UpdatePlugInsL();
   789     }
   789     }
   790 
   790 
   791 // ---------------------------------------------------------------------------
   791 // ---------------------------------------------------------------------------
   792 // CCFContextSourceManager::LoadPluginL
   792 // CCFContextSourceManager::LoadPluginL