--- a/application/src/PodcastSettingsView.cpp Sun Nov 14 13:06:35 2010 +0000
+++ b/application/src/PodcastSettingsView.cpp Mon Nov 15 13:59:40 2010 +0000
@@ -257,6 +257,9 @@
DP1("Download automatically: %d", iAutoDownload);
se.SetDownloadAutomatically(iAutoDownload);
+
+ DP1("Delete automatically: %d", iAutoDownload);
+ se.SetDeleteAutomatically((TAutoDeleteSetting)iAutoDelete);
se.SaveSettingsL();
DP("StoreSettings END");
}
@@ -376,6 +379,7 @@
}
iAutoDownload = se.DownloadAutomatically();
+ iAutoDelete = se.DeleteAutomatically();
switch(aSettingId)
{
@@ -402,6 +406,11 @@
iSettingAutoDownload = new (ELeave) CAknBinaryPopupSettingItem (aSettingId, iAutoDownload);
return iSettingAutoDownload;
break;
+ case EPodcastSettingAutoDelete:
+ DP("EPodcastSettingAutoDelete");
+ iSettingAutoDelete = new (ELeave) CAknEnumeratedTextPopupSettingItem (aSettingId, iAutoDelete);
+ return iSettingAutoDelete;
+ break;
default:
return CAknSettingItemList::CreateSettingItemL(aSettingId);
break;
@@ -418,6 +427,9 @@
TInt iAutoDownload;
CAknSettingItem *iSettingAutoDownload;
+ TInt iAutoDelete;
+ CAknSettingItem *iSettingAutoDelete;
+
TInt iConnection;
TInt iIap;