application/src/PodcastSettingsView.cpp
changeset 163 f94dbd678dda
parent 126 c2f1ea38ec70
child 367 4b75876aa85a
equal deleted inserted replaced
162:d15654dbe9b8 163:f94dbd678dda
   379 		switch(aSettingId)
   379 		switch(aSettingId)
   380 			{
   380 			{
   381 			case EPodcastSettingShowDir:
   381 			case EPodcastSettingShowDir:
   382 				DP("EPodcastSettingShowDir");
   382 				DP("EPodcastSettingShowDir");
   383 				return new (ELeave) CAknTextSettingItem(aSettingId, iShowDir);
   383 				return new (ELeave) CAknTextSettingItem(aSettingId, iShowDir);
       
   384 				break;
   384 			case EPodcastSettingAutoUpdate:
   385 			case EPodcastSettingAutoUpdate:
   385 				DP("EPodcastSettingAutoUpdate");
   386 				DP("EPodcastSettingAutoUpdate");
   386 				iSettingAutoUpdate = new (ELeave) CAknEnumeratedTextPopupSettingItem(aSettingId, iAutoUpdate);
   387 				iSettingAutoUpdate = new (ELeave) CAknEnumeratedTextPopupSettingItem(aSettingId, iAutoUpdate);
   387 				return iSettingAutoUpdate;
   388 				return iSettingAutoUpdate;
       
   389 				break;
   388 			case EPodcastSettingConnection:
   390 			case EPodcastSettingConnection:
   389 				DP("EPodcastSettingConnection");
   391 				DP("EPodcastSettingConnection");
   390 				return new (ELeave) CConnectionSetting (aSettingId, iConnection, iPodcastModel);
   392 				return new (ELeave) CConnectionSetting (aSettingId, iConnection, iPodcastModel);
       
   393 				break;
   391 			case EPodcastSettingIAPList:
   394 			case EPodcastSettingIAPList:
   392 				DP("EPodcastSettingIAPList");
   395 				DP("EPodcastSettingIAPList");
   393 				iSettingIAP = new (ELeave) CIapSetting (aSettingId, iIap, iPodcastModel);
   396 				iSettingIAP = new (ELeave) CIapSetting (aSettingId, iIap, iPodcastModel);
   394 				return iSettingIAP;
   397 				return iSettingIAP;
       
   398 				break;
   395 			case EPodcastSettingAutoDownload:
   399 			case EPodcastSettingAutoDownload:
   396 				DP("EPodcastSettingAutoDownload");
   400 				DP("EPodcastSettingAutoDownload");
   397 				iSettingAutoDownload = new (ELeave) CAknBinaryPopupSettingItem (aSettingId, iAutoDownload);
   401 				iSettingAutoDownload = new (ELeave) CAknBinaryPopupSettingItem (aSettingId, iAutoDownload);
   398 				return iSettingAutoDownload;
   402 				return iSettingAutoDownload;
       
   403 				break;
   399 			default:
   404 			default:
   400 				return CAknSettingItemList::CreateSettingItemL(aSettingId);
   405 				return CAknSettingItemList::CreateSettingItemL(aSettingId);
   401 			}
   406 				break;
   402 		//DP("CreateSettingItemL END");
   407 			}
   403 		//return NULL;
   408 		DP("CreateSettingItemL END");
       
   409 		return NULL;	
   404 		}
   410 		}
   405 	
   411 	
   406 	TFileName iShowDir;
   412 	TFileName iShowDir;
   407 	
   413 	
   408 	TInt iAutoUpdate;
   414 	TInt iAutoUpdate;