mpxplugins/viewplugins/views/podcastview/src/mpxpodcastcollectionviewimp.cpp
branchRCL_3
changeset 15 a1247965635c
parent 14 c54d95799c80
child 21 cb96c29156b2
equal deleted inserted replaced
14:c54d95799c80 15:a1247965635c
  1239     TInt aResourceId,
  1239     TInt aResourceId,
  1240     CEikMenuPane& aMenuPane )
  1240     CEikMenuPane& aMenuPane )
  1241     {
  1241     {
  1242     MPX_FUNC("CMPXPodcastCollectionViewImp::HandleDynInitUpnpL()");
  1242     MPX_FUNC("CMPXPodcastCollectionViewImp::HandleDynInitUpnpL()");
  1243 
  1243 
  1244     if ( !IsUpnpVisible() )
  1244     if ( !IsUpnpVisibleL() )
  1245         {
  1245         {
  1246         GetCurrentPlayerDetails();
  1246         GetCurrentPlayerDetails();
  1247 
  1247 
  1248         if ( iCurrentPlayerType == EPbLocal )
  1248         if ( iCurrentPlayerType == EPbLocal )
  1249             {
  1249             {
  1312 // -----------------------------------------------------------------------------
  1312 // -----------------------------------------------------------------------------
  1313 // CMPXPodcastCollectionViewImp::IsUpnpVisible
  1313 // CMPXPodcastCollectionViewImp::IsUpnpVisible
  1314 // Checks if UPnP access point is defined
  1314 // Checks if UPnP access point is defined
  1315 // -----------------------------------------------------------------------------
  1315 // -----------------------------------------------------------------------------
  1316 //
  1316 //
  1317 TBool CMPXPodcastCollectionViewImp::IsUpnpVisible()
  1317 TBool CMPXPodcastCollectionViewImp::IsUpnpVisibleL()
  1318     {
  1318     {
  1319     MPX_FUNC( "CMPXPodcastCollectionViewImp::IsUpnpVisible" );
  1319     MPX_FUNC( "CMPXPodcastCollectionViewImp::IsUpnpVisibleL" );
  1320     
  1320     
  1321     TBool returnValue = EFalse;
  1321     TBool returnValue = EFalse;
  1322 #ifdef UPNP_INCLUDED
  1322 #ifdef UPNP_INCLUDED
  1323    	if ( iUpnpCopyCommand && iUpnpFrameworkSupport ) 	  
  1323    	if ( iUpnpCopyCommand && iUpnpFrameworkSupport ) 	  
  1324         {
  1324         {
  3852         }
  3852         }
  3853 
  3853 
  3854     if (!(aResourceId == R_AVKON_MENUPANE_MARKABLE_LIST && usbUnblockingStatus == EMPXUSBUnblockingPSStatusActive))
  3854     if (!(aResourceId == R_AVKON_MENUPANE_MARKABLE_LIST && usbUnblockingStatus == EMPXUSBUnblockingPSStatusActive))
  3855         {
  3855         {
  3856         // Custom handling of menu pane for markable lists
  3856         // Custom handling of menu pane for markable lists
  3857         iContainer->Common()->HandleMarkableListDynInitMenuPane(
  3857         iContainer->Common()->HandleMarkableListDynInitMenuPaneL(
  3858             aResourceId,
  3858             aResourceId,
  3859             aMenuPane );
  3859             aMenuPane );
  3860         }
  3860         }
  3861     }
  3861     }
  3862 
  3862