equal
deleted
inserted
replaced
57 EXPORT_C MFactoryQuery::TMatchResult XConnectionProviderInfoQuery::Match(TFactoryObjectInfo& aProviderInfo) |
57 EXPORT_C MFactoryQuery::TMatchResult XConnectionProviderInfoQuery::Match(TFactoryObjectInfo& aProviderInfo) |
58 { |
58 { |
59 CConnectionProviderBase* prov = static_cast<CConnectionProviderBase*>(aProviderInfo.iInfo.iFactoryObject); |
59 CConnectionProviderBase* prov = static_cast<CConnectionProviderBase*>(aProviderInfo.iInfo.iFactoryObject); |
60 const TProviderInfo& thePI = static_cast<const TProviderInfoExt&>(prov->AccessPointConfig().FindExtensionL( |
60 const TProviderInfo& thePI = static_cast<const TProviderInfoExt&>(prov->AccessPointConfig().FindExtensionL( |
61 STypeId::CreateSTypeId(TProviderInfoExt::EUid, TProviderInfoExt::ETypeId))).iProviderInfo; |
61 STypeId::CreateSTypeId(TProviderInfoExt::EUid, TProviderInfoExt::ETypeId))).iProviderInfo; |
62 TBool isMatch = (thePI.TierId() == iProviderInfo.TierId()) && (thePI.APId() == iProviderInfo.APId()); |
62 TBool isMatch = (thePI.APId() == iAPid); |
|
63 LOG(ESockLog::Printf(KESockCtrlFactTag, _L("XConnectionProviderInfoQuery::Match %08x:\tiAPid is = %08x THePI.APId = %08x"), |
|
64 this, iAPid, thePI.APId())); |
63 return (isMatch ? MFactoryQuery::EMatch : MFactoryQuery::EContinue); |
65 return (isMatch ? MFactoryQuery::EMatch : MFactoryQuery::EContinue); |
64 } |
66 } |
65 |
67 |
66 |
68 |
67 EXPORT_C CConnectionFactoryContainer* CConnectionFactoryContainer::NewL() |
69 EXPORT_C CConnectionFactoryContainer* CConnectionFactoryContainer::NewL() |