application/data/PodcastSettingsView.ra
branchRCL_3
changeset 368 b131f7696342
parent 140 68b48f53a8ec
--- a/application/data/PodcastSettingsView.ra	Sun Nov 14 13:05:37 2010 +0000
+++ b/application/data/PodcastSettingsView.ra	Tue Nov 16 10:26:34 2010 +0000
@@ -28,11 +28,6 @@
     {
     items =
         {        
-		/*MENU_ITEM
-			{
-			command = EPodcastResetDb;
-			txt = STRING_r_podcast_setting_reset_db;
-			},*/
 		MENU_ITEM
 			{
 			command = EPodcastHelp;
@@ -41,7 +36,6 @@
 		};
     }
 
-
 RESOURCE AVKON_VIEW r_podcast_settingsview
 {
 	menubar = r_podcast_settingsview_menubar;
@@ -75,6 +69,13 @@
 				},
 			AVKON_SETTING_ITEM
 			{
+				identifier = EPodcastSettingAutoDelete;
+				setting_page_resource = r_podcast_autodelete_page_resource;
+				associated_resource = r_podcast_autodelete_texts;
+				name = STRING_r_podcast_setting_autodelete;
+			},
+			AVKON_SETTING_ITEM
+			{
 				identifier = EPodcastSettingConnection;
 				setting_page_resource = r_podcast_connection_page_resource;
 				associated_resource = r_podcast_connection_texts;
@@ -173,6 +174,44 @@
     };
 }
 
+RESOURCE AVKON_SETTING_PAGE r_podcast_autodelete_page_resource
+{
+    label= STRING_r_podcast_setting_autodelete;
+    type = EAknCtPopupSettingList;
+    editor_resource_id = r_setting_autodelete_popup_list_entry;
+}
+
+RESOURCE POPUP_SETTING_LIST r_setting_autodelete_popup_list_entry
+{
+}
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_podcast_autodelete_texts
+{
+    flags = 0;
+    setting_texts_resource = r_podcast_autodelete_closed;
+    popped_up_texts_resource = r_podcast_autodelete_opened;
+}
+
+RESOURCE ARRAY r_podcast_autodelete_closed
+{
+    items =
+    {
+	AVKON_ENUMERATED_TEXT { value=0; text=STRING_podcast_autodelete_option1; },
+    AVKON_ENUMERATED_TEXT { value=1; text=STRING_podcast_autodelete_option2; },
+    AVKON_ENUMERATED_TEXT { value=2; text=STRING_podcast_autodelete_option3; }   
+    };
+}
+
+RESOURCE ARRAY r_podcast_autodelete_opened
+{
+    items =
+    {
+        LBUF { txt=STRING_podcast_autodelete_option1; },
+        LBUF { txt=STRING_podcast_autodelete_option2; },
+        LBUF { txt=STRING_podcast_autodelete_option3; }
+    };
+}
+
 RESOURCE AVKON_SETTING_PAGE r_podcast_autoupdate_page_resource
 {
     label= STRING_r_podcast_setting_autoupdate;