engine/inc/SettingsEngine.h
branchnewlist
changeset 349 4538abb763e4
parent 2 29cda98b007e
child 364 998e9d114bd5
--- a/engine/inc/SettingsEngine.h	Sun Nov 14 13:06:35 2010 +0000
+++ b/engine/inc/SettingsEngine.h	Mon Nov 15 13:59:40 2010 +0000
@@ -48,6 +48,14 @@
 	EAutoUpdatePeriod4=1440
 	};
 
+enum TAutoDeleteSetting
+	{
+	EAutoDeleteOff,
+	EAutoDeleteAfter1Day,	
+	EAutoDeleteAfter7Days,
+	EAutoDeleteAfter3Days
+	};
+
 class CSettingsEngine : public CBase
 	{
 	public:
@@ -87,6 +95,9 @@
 			
 		IMPORT_C void SaveSettingsL();
 
+		IMPORT_C TAutoDeleteSetting DeleteAutomatically();
+		IMPORT_C void SetDeleteAutomatically(TAutoDeleteSetting aAutoDeleteOn);
+
 	private:
 		CSettingsEngine(CPodcastModel& aPodcastModel);
 		void ConstructL();
@@ -104,7 +115,8 @@
 		TInt iMaxListItems;
 		TTime iUpdateFeedTime;
 		TBool iDownloadSuspended;
-
+		TAutoDeleteSetting iDeleteAutomatically;
+		
 		// Other member variables		
 		CPodcastModel &iPodcastModel; 	// reference to the model
 	};