upnpavcontroller/upnpavcontrollerhelper/src/upnpdownloaditemresolver.cpp
changeset 34 eab116a48b80
parent 0 7f85d04be362
equal deleted inserted replaced
33:6ac064bb53eb 34:eab116a48b80
   570                        &UPnPItemUtility::FindAttributeByNameL( 
   570                        &UPnPItemUtility::FindAttributeByNameL( 
   571                                               aRes, KAttributeProtocolInfo );
   571                                               aRes, KAttributeProtocolInfo );
   572     // parse protocol info
   572     // parse protocol info
   573     CUpnpDlnaProtocolInfo* pInfo = NULL;
   573     CUpnpDlnaProtocolInfo* pInfo = NULL;
   574     pInfo = CUpnpDlnaProtocolInfo::NewL( attr->Value() );
   574     pInfo = CUpnpDlnaProtocolInfo::NewL( attr->Value() );
       
   575     CleanupStack::PushL( pInfo );
   575     
   576     
   576     //if DLNA compliant item
   577     //if DLNA compliant item
   577     if ( pInfo->PnParameter() != KNullDesC8() )
   578     if ( pInfo->PnParameter() != KNullDesC8() )
   578         {
   579         {
   579         if( !UPnPDlnaUtility::IsSupportedDlnaProfile( 
   580         if( !UPnPDlnaUtility::IsSupportedDlnaProfile( 
   588             {
   589             {
   589             User::Leave(KErrNotSupported);
   590             User::Leave(KErrNotSupported);
   590             }
   591             }
   591         
   592         
   592         }
   593         }
   593     }
   594     CleanupStack::PopAndDestroy( pInfo );
   594 
   595     }
   595 
   596 
   596 
   597 
       
   598