upnpsharing/upnpcontentserver/src/upnpselectionreader.cpp
changeset 32 3785f754ee62
parent 0 7f85d04be362
child 38 5360b7ddc251
equal deleted inserted replaced
27:03808033c9a2 32:3785f754ee62
   178 void CUpnpSelectionReader::FetchCollectionsL( CDesCArray* 
   178 void CUpnpSelectionReader::FetchCollectionsL( CDesCArray* 
   179                                               aSettingsTextArray )
   179                                               aSettingsTextArray )
   180     {
   180     {
   181     __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ );
   181     __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ );
   182 
   182 
   183     if ( !aSettingsTextArray )
   183 /*    if ( !aSettingsTextArray )
   184         {
   184         {
   185         User::Leave( KErrGeneral );
   185         User::Leave( KErrGeneral );
   186         }
   186         }
   187     // This is for IsItemSharedL
   187     // This is for IsItemSharedL
   188     iMediaType = EImageAndVideo;
   188     iMediaType = EImageAndVideo;
   253         }
   253         }
   254 
   254 
   255     iContainerCount = aSettingsTextArray->MdcaCount();
   255     iContainerCount = aSettingsTextArray->MdcaCount();
   256 
   256 
   257     CleanupStack::PopAndDestroy( sharedStuff );
   257     CleanupStack::PopAndDestroy( sharedStuff );
   258     __LOG8_1( "%s end.", __PRETTY_FUNCTION__ );
   258     __LOG8_1( "%s end.", __PRETTY_FUNCTION__ );*/
   259     }
   259     }
   260 
   260 
   261 
   261 
   262 // --------------------------------------------------------------------------
   262 // --------------------------------------------------------------------------
   263 // CUpnpSelectionReader::FetchPlaylistsL()
   263 // CUpnpSelectionReader::FetchPlaylistsL()
   266 //
   266 //
   267 void CUpnpSelectionReader::FetchPlaylistsL( CDesCArray* aSettingsTextArray )
   267 void CUpnpSelectionReader::FetchPlaylistsL( CDesCArray* aSettingsTextArray )
   268     {
   268     {
   269     __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ );
   269     __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ );
   270 
   270 
   271     if ( !aSettingsTextArray )
   271  /*   if ( !aSettingsTextArray )
   272         {
   272         {
   273         User::Leave( KErrGeneral );
   273         User::Leave( KErrGeneral );
   274         }
   274         }
   275 
   275 
   276     // This is for IsItemSharedL
   276     // This is for IsItemSharedL
   341         iSelectedMusic->Reset();
   341         iSelectedMusic->Reset();
   342         // if no albums were shared mark only "share nothing"
   342         // if no albums were shared mark only "share nothing"
   343         iSelectedMusic->AppendL( KShareNoneIndex );
   343         iSelectedMusic->AppendL( KShareNoneIndex );
   344         }
   344         }
   345     iContainerCount = aSettingsTextArray->MdcaCount();
   345     iContainerCount = aSettingsTextArray->MdcaCount();
   346     CleanupStack::PopAndDestroy( sharedStuff );
   346     CleanupStack::PopAndDestroy( sharedStuff );*/
   347     __LOG8_1( "%s end.", __PRETTY_FUNCTION__ );
   347     __LOG8_1( "%s end.", __PRETTY_FUNCTION__ );
   348     }
   348     }
   349 
   349 
   350 
   350 
   351 // --------------------------------------------------------------------------
   351 // --------------------------------------------------------------------------