# HG changeset patch # User Brendan Donegan # Date 1272802463 -3600 # Node ID ba4dba32295b714b96523accbf273b7276a1464b # Parent 6e40b14bb2cd1120e8b5d8b6de2d6ee90cef11d4 Commented out lines causing warnings in RVCT. diff -r 6e40b14bb2cd -r ba4dba32295b application/src/PodcastFeedView.cpp --- a/application/src/PodcastFeedView.cpp Sat May 01 21:58:19 2010 +0100 +++ b/application/src/PodcastFeedView.cpp Sun May 02 13:14:23 2010 +0100 @@ -37,11 +37,11 @@ const TInt KMaxFeedNameLength = 100; const TInt KMaxUnplayedFeedsLength =64; const TInt KADayInHours = 24; -const TInt KDefaultGran = 5; -const TInt KNumberOfFilesMaxLength = 4; +//const TInt KDefaultGran = 5; +//const TInt KNumberOfFilesMaxLength = 4; #define KMaxMessageLength 200 #define KMaxTitleLength 100 -const TInt KMimeBufLength = 100; +//const TInt KMimeBufLength = 100; _LIT(KFeedFormat, "%d\t%S\t%S%S"); enum diff -r 6e40b14bb2cd -r ba4dba32295b application/src/PodcastSearchView.cpp --- a/application/src/PodcastSearchView.cpp Sat May 01 21:58:19 2010 +0100 +++ b/application/src/PodcastSearchView.cpp Sun May 02 13:14:23 2010 +0100 @@ -39,13 +39,13 @@ #include const TInt KMaxFeedNameLength = 100; -const TInt KDefaultGran = 5; -const TInt KNumberOfFilesMaxLength = 4; +//const TInt KDefaultGran = 5; +//const TInt KNumberOfFilesMaxLength = 4; #define KMaxMessageLength 200 #define KMaxTitleLength 100 -const TInt KMimeBufLength = 100; +//const TInt KMimeBufLength = 100; -_LIT(KUnknownUpdateDateString, "?/?"); +//_LIT(KUnknownUpdateDateString, "?/?"); _LIT(KSearchResultFormat, "%d\t%S\t%S"); CPodcastSearchView* CPodcastSearchView::NewL(CPodcastModel& aPodcastModel) diff -r 6e40b14bb2cd -r ba4dba32295b application/src/PodcastSettingsView.cpp --- a/application/src/PodcastSettingsView.cpp Sat May 01 21:58:19 2010 +0100 +++ b/application/src/PodcastSettingsView.cpp Sun May 02 13:14:23 2010 +0100 @@ -381,32 +381,26 @@ case EPodcastSettingShowDir: DP("EPodcastSettingShowDir"); return new (ELeave) CAknTextSettingItem(aSettingId, iShowDir); - break; case EPodcastSettingAutoUpdate: DP("EPodcastSettingAutoUpdate"); iSettingAutoUpdate = new (ELeave) CAknEnumeratedTextPopupSettingItem(aSettingId, iAutoUpdate); return iSettingAutoUpdate; - break; case EPodcastSettingConnection: DP("EPodcastSettingConnection"); return new (ELeave) CConnectionSetting (aSettingId, iConnection, iPodcastModel); - break; case EPodcastSettingIAPList: DP("EPodcastSettingIAPList"); iSettingIAP = new (ELeave) CIapSetting (aSettingId, iIap, iPodcastModel); return iSettingIAP; - break; case EPodcastSettingAutoDownload: DP("EPodcastSettingAutoDownload"); iSettingAutoDownload = new (ELeave) CAknBinaryPopupSettingItem (aSettingId, iAutoDownload); return iSettingAutoDownload; - break; default: return CAknSettingItemList::CreateSettingItemL(aSettingId); - break; } - DP("CreateSettingItemL END"); - return NULL; + //DP("CreateSettingItemL END"); + //return NULL; } TFileName iShowDir; @@ -543,6 +537,7 @@ } break; case EPodcastResetDb: + { CAknQueryDialog* dlg= new(ELeave) CAknQueryDialog(); CleanupStack::PushL(dlg); @@ -555,9 +550,12 @@ iPodcastModel.DropDB(); AppUi()->Exit(); } + } break; default: + { AppUi()->HandleCommandL(aCommand); + } break; } } diff -r 6e40b14bb2cd -r ba4dba32295b application/src/PodcastShowsView.cpp --- a/application/src/PodcastShowsView.cpp Sat May 01 21:58:19 2010 +0100 +++ b/application/src/PodcastShowsView.cpp Sun May 02 13:14:23 2010 +0100 @@ -38,8 +38,8 @@ _LIT(KShowsSizeFormatS60, "%.1f MB"); _LIT(KShowFormat, "%d\t%S\t%S%S\t"); -_LIT(KShowErrorFormat, "%d\t%S\t%S\t"); -_LIT(KShowQueueFormat, "%d\t%S\t%S%S\t"); +//_LIT(KShowErrorFormat, "%d\t%S\t%S\t"); +//_LIT(KShowQueueFormat, "%d\t%S\t%S%S\t"); // these must correspond with TShowsIconIndex