524 XQSERVICE_DEBUG_PRINT("compare name is: %s", qPrintable(sn)); |
524 XQSERVICE_DEBUG_PRINT("compare name is: %s", qPrintable(sn)); |
525 XQSERVICE_DEBUG_PRINT("requested name: %s", qPrintable(serviceName)); |
525 XQSERVICE_DEBUG_PRINT("requested name: %s", qPrintable(serviceName)); |
526 if ((!serviceName.compare(sn,Qt::CaseInsensitive)) || |
526 if ((!serviceName.compare(sn,Qt::CaseInsensitive)) || |
527 (deprNameExists && !serviceName.compare(snDeprecated,Qt::CaseInsensitive))) |
527 (deprNameExists && !serviceName.compare(snDeprecated,Qt::CaseInsensitive))) |
528 { |
528 { |
|
529 TUid appUid = implArray[ii].Uid(); |
529 if (!firstUidPicked) |
530 if (!firstUidPicked) |
530 { |
531 { |
531 aAppUid = implArray[ii].Uid(); |
532 aAppUid = appUid; |
532 firstUidPicked = ETrue; |
533 firstUidPicked = ETrue; |
|
534 XQSERVICE_DEBUG_PRINT("First service found UID3=%x", appUid.iUid); |
533 } |
535 } |
534 XQSERVICE_DEBUG_PRINT("Service found %x", aAppUid); |
536 XQSERVICE_DEBUG_PRINT("Service found UID3=%x", appUid.iUid); |
535 // Add impl. UID to interface |
537 // Add impl. UID to interface |
536 interface.setProperty(XQAiwInterfaceDescriptor::ImplementationId, (int)aAppUid.iUid); |
538 interface.setProperty(XQAiwInterfaceDescriptor::ImplementationId, (int)appUid.iUid); |
537 found = ETrue; |
539 found = ETrue; |
538 |
540 |
539 // Add the matched interface to result set |
541 // Add the matched interface to result set |
540 interfaces.append(interface); |
542 interfaces.append(interface); |
541 |
543 |