Cleanup from the merge symbian1
authorBrendan Donegan <brendand@symbian.org>
Thu, 03 Jun 2010 23:38:58 +0100
branchsymbian1
changeset 148 e3f9b65d6910
parent 147 2e626f5a52c8
child 149 70b2f592a460
Cleanup from the merge
engine/inc/ShowEngine.h
engine/src/PodcastModel.cpp
engine/src/ShowEngine.cpp
--- a/engine/inc/ShowEngine.h	Thu Jun 03 22:18:04 2010 +0100
+++ b/engine/inc/ShowEngine.h	Thu Jun 03 23:38:58 2010 +0100
@@ -44,7 +44,7 @@
 	};
 
 class CShowEngine : public CBase, public MHttpClientObserver, public MMetaDataReaderObserver
-{
+	{
 public:
 	IMPORT_C static CShowEngine* NewL(CPodcastModel& aPodcastModel);
 	IMPORT_C virtual ~CShowEngine();
@@ -151,17 +151,17 @@
 
 	// The show we are currently downloading
 	CShowInfo* iShowDownloading;
-    	TUint iDownloadErrors;
+    TUint iDownloadErrors;
     
-    	CMetaDataReader* iMetaDataReader;
+    CMetaDataReader* iMetaDataReader;
     
-    	RApaLsSession iApaSession;
+    RApaLsSession iApaSession;
 	TBuf8<512> iRecogBuffer;
 	
 	sqlite3& iDB;
-    	TBuf<KDefaultSQLDataBufferLength> iSqlBuffer;
+    TBuf<KDefaultSQLDataBufferLength> iSqlBuffer;
    	TShowFilter iShowFilter;
-};
+	};
 
 #endif /*SHOWENGINE_H_*/
 
--- a/engine/src/PodcastModel.cpp	Thu Jun 03 22:18:04 2010 +0100
+++ b/engine/src/PodcastModel.cpp	Thu Jun 03 23:38:58 2010 +0100
@@ -226,7 +226,7 @@
 	return *iConnectionEngine;
 }
 
-EXPORT_C void CPodcastModel::PlayPausePodcastL(CShowInfo* aPodcast, TBool aPlayOnInit) 
+EXPORT_C void CPodcastModel::PlayPausePodcastL(CShowInfo* aPodcast, TBool /*aPlayOnInit*/) 
 	{
 	DP("CPodcastModel::PlayPausePodcastL BEGIN");
 	TRAPD(err, LaunchFileEmbeddedL(aPodcast->FileName()));
--- a/engine/src/ShowEngine.cpp	Thu Jun 03 22:18:04 2010 +0100
+++ b/engine/src/ShowEngine.cpp	Thu Jun 03 23:38:58 2010 +0100
@@ -1450,6 +1450,11 @@
 		}
 	}
 
+EXPORT_C void CShowEngine::SetShowFilter(TShowFilter aFilter)
+	{
+	iShowFilter = aFilter;
+	}
+
 EXPORT_C void CShowEngine::MoveDownloadUpL(TUint aUid)
 	{
 	DP("CShowEngine::MoveDownLoadUpL");