315 |
315 |
316 RImplInfoPtrArray implInfoArray; |
316 RImplInfoPtrArray implInfoArray; |
317 TBool ret( EFalse ); |
317 TBool ret( EFalse ); |
318 |
318 |
319 // Use ECom to read information about existing interface implementations |
319 // Use ECom to read information about existing interface implementations |
320 _LIT8( KEmptyString, "" ); |
320 #ifndef EXTENDED_FEATURE_MANAGER_TEST |
|
321 _LIT8( KResolverString, "" ); |
|
322 #else |
|
323 _LIT8( KResolverString, "efmtestplugin" ); //In test server we only want test plugins. |
|
324 #endif |
321 TEComResolverParams resolverParams; |
325 TEComResolverParams resolverParams; |
322 resolverParams.SetDataType (KEmptyString); |
326 resolverParams.SetDataType (KResolverString); |
323 resolverParams.SetWildcardMatch (ETrue); |
327 resolverParams.SetWildcardMatch (ETrue); |
324 |
328 |
325 TCleanupItem cleanupItem( ResetAndDestroyArray, &implInfoArray ); |
329 TCleanupItem cleanupItem( ResetAndDestroyArray, &implInfoArray ); |
326 CleanupStack::PushL( cleanupItem ); |
330 CleanupStack::PushL( cleanupItem ); |
327 |
331 |
328 TIMESTAMP( "CFeatMgrServer::LoadPluginsL - ListImplementationsL start: " ) |
332 TIMESTAMP( "CFeatMgrServer::LoadPluginsL - ListImplementationsL start: " ) |
329 REComSession::ListImplementationsL( KFeatureInfoPluginInterfaceUid, |
333 REComSession::ListImplementationsL( KFeatureInfoPluginInterfaceUid, |
|
334 resolverParams, |
330 #ifndef EXTENDED_FEATURE_MANAGER_TEST |
335 #ifndef EXTENDED_FEATURE_MANAGER_TEST |
331 resolverParams, |
|
332 |
|
333 KRomOnlyResolverUid, |
336 KRomOnlyResolverUid, |
334 #endif |
337 #endif |
335 implInfoArray); |
338 implInfoArray); |
336 TIMESTAMP( "CFeatMgrServer::LoadPluginsL - ListImplementationsL end: " ) |
339 TIMESTAMP( "CFeatMgrServer::LoadPluginsL - ListImplementationsL end: " ) |
337 |
340 |