application/src/PodcastQueueView.cpp
branchsymbian1
changeset 41 56821195bd44
parent 36 e010fc411ddc
child 45 56d4e0784e5d
equal deleted inserted replaced
40:bf37b9711f0a 41:56821195bd44
   247 			{
   247 			{
   248 			case KErrCouldNotConnect:
   248 			case KErrCouldNotConnect:
   249 				{
   249 				{
   250 				TBuf<KMaxMessageLength> message;
   250 				TBuf<KMaxMessageLength> message;
   251 				iEikonEnv->ReadResourceL(message, R_PODCAST_CONNECTION_ERROR);
   251 				iEikonEnv->ReadResourceL(message, R_PODCAST_CONNECTION_ERROR);
   252 				ShowErrorMessage(message);
   252 				ShowErrorMessageL(message);
   253 				}
   253 				}
   254 				break;
   254 				break;
   255 			default: // Do nothing
   255 			default: // Do nothing
   256 				break;
   256 				break;
   257 			}
   257 			}
   515 		case EPodcastRemoveAllDownloads:
   515 		case EPodcastRemoveAllDownloads:
   516 			{
   516 			{
   517 			TBuf<KMaxMessageLength> msg;
   517 			TBuf<KMaxMessageLength> msg;
   518 			iEikonEnv->ReadResourceL(msg, R_CLEAR_QUERY);
   518 			iEikonEnv->ReadResourceL(msg, R_CLEAR_QUERY);
   519 												
   519 												
   520 			if(ShowQueryMessage(msg))
   520 			if(ShowQueryMessageL(msg))
   521 				{
   521 				{
   522 				iPodcastModel.ShowEngine().RemoveAllDownloads();
   522 				iPodcastModel.ShowEngine().RemoveAllDownloadsL();
   523 				UpdateListboxItemsL();
   523 				UpdateListboxItemsL();
   524 				}
   524 				}
   525 			}
   525 			}
   526 			break;
   526 			break;
   527 		case EPodcastRemoveDownload:
   527 		case EPodcastRemoveDownload: