equal
deleted
inserted
replaced
1411 // CUpnpContentDirectory::ExportResourceL |
1411 // CUpnpContentDirectory::ExportResourceL |
1412 // ----------------------------------------------------------------------------- |
1412 // ----------------------------------------------------------------------------- |
1413 // |
1413 // |
1414 TUpnpErrorCode CUpnpContentDirectory::ExportResourceL( CUpnpAction*& aAction ) |
1414 TUpnpErrorCode CUpnpContentDirectory::ExportResourceL( CUpnpAction*& aAction ) |
1415 { |
1415 { |
1416 if ( iTransferController->IsMaxImportExportTransfers( ) ) |
1416 /* if ( iTransferController->IsMaxImportExportTransfers( ) ) |
1417 { |
1417 { |
1418 return ETransferBusy; |
1418 return ETransferBusy; |
1419 } |
1419 } |
1420 HBufC8* srcBuf = aAction->ArgumentValue( KSourceURI ).AllocLC( ); |
1420 HBufC8* srcBuf = aAction->ArgumentValue( KSourceURI ).AllocLC( ); |
1421 TPtr8 src(srcBuf->Des( )); |
1421 TPtr8 src(srcBuf->Des( )); |
1528 CleanupStack::PopAndDestroy( contentType ); |
1528 CleanupStack::PopAndDestroy( contentType ); |
1529 CleanupStack::PopAndDestroy( srcPath ); |
1529 CleanupStack::PopAndDestroy( srcPath ); |
1530 CleanupStack::PopAndDestroy( srcNoEsc ); |
1530 CleanupStack::PopAndDestroy( srcNoEsc ); |
1531 CleanupStack::PopAndDestroy( rscBean ); |
1531 CleanupStack::PopAndDestroy( rscBean ); |
1532 CleanupStack::PopAndDestroy( srcBuf ); |
1532 CleanupStack::PopAndDestroy( srcBuf ); |
1533 |
1533 */ |
1534 return EHttpOk; |
1534 return EHttpOk; |
1535 } |
1535 } |
1536 |
1536 |
1537 // ----------------------------------------------------------------------------- |
1537 // ----------------------------------------------------------------------------- |
1538 // CUpnpContentDirectory::StopTransferResourceL |
1538 // CUpnpContentDirectory::StopTransferResourceL |
2350 // in thumbnail save the information. |
2350 // in thumbnail save the information. |
2351 thumbCreator = CUpnpThumbnailCreator::NewLC( this ); |
2351 thumbCreator = CUpnpThumbnailCreator::NewLC( this ); |
2352 iThumbnailCreators.AppendL( thumbCreator ); |
2352 iThumbnailCreators.AppendL( thumbCreator ); |
2353 TInt index = iThumbnailCreators.Find( thumbCreator ); |
2353 TInt index = iThumbnailCreators.Find( thumbCreator ); |
2354 User::LeaveIfError( index ); |
2354 User::LeaveIfError( index ); |
2355 iThObjectIds.Insert( aObjectId, index ); |
2355 iThObjectIds.InsertL( aObjectId, index ); |
2356 CleanupStack::Pop( thumbCreator ); |
2356 CleanupStack::Pop( thumbCreator ); |
2357 } |
2357 } |
2358 return thumbCreator; |
2358 return thumbCreator; |
2359 } |
2359 } |
2360 |
2360 |