merge
authorteknolog
Sat, 01 May 2010 12:49:47 +0100
changeset 75 5382889bbbb4
parent 74 add4bcf06298 (diff)
parent 73 4abf603ec3e6 (current diff)
child 78 6e40b14bb2cd
merge
--- a/application/group/Podcast.mmp	Thu Apr 29 14:23:30 2010 +0100
+++ b/application/group/Podcast.mmp	Sat May 01 12:49:47 2010 +0100
@@ -97,3 +97,4 @@
 LIBRARY ws32.lib 
 LIBRARY hlplch.lib
 LIBRARY bitgdi.lib 
+LIBRARY cmmanager.lib 
Binary file application/sis/podcatcher_udeb.sis has changed
Binary file application/sis/podcatcher_udeb_signed.sis has changed
Binary file application/sis/podcatcher_urel.sis has changed
Binary file application/sis/podcatcher_urel_signed.sis has changed
--- a/engine/group/engine.mmp	Thu Apr 29 14:23:30 2010 +0100
+++ b/engine/group/engine.mmp	Sat May 01 12:49:47 2010 +0100
@@ -28,7 +28,6 @@
 SYSTEMINCLUDE \epoc32\include\platform\mw
 SYSTEMINCLUDE \epoc32\include\stdapis
 
-// Engine
 SOURCE			HttpClient.cpp
 SOURCE			HttpEventHandler.cpp 
 SOURCE			FeedParser.cpp 
--- a/engine/src/PodcastModel.cpp	Thu Apr 29 14:23:30 2010 +0100
+++ b/engine/src/PodcastModel.cpp	Sat May 01 12:49:47 2010 +0100
@@ -72,21 +72,25 @@
 {
 	DP("CPodcastModel::ConstructL BEGIN");
 	User::LeaveIfError(iFsSession.Connect());
-	
 	iCommDB = CCommsDatabase::NewL (EDatabaseTypeUnspecified);
-	//iCommDB ->ShowHiddenRecords(); // magic
 	iIapNameArray = new (ELeave) CDesCArrayFlat(KDefaultGranu);
 	iSNAPNameArray = new (ELeave) CDesCArrayFlat(KDefaultGranu);
-	iCmManager.OpenL();
+
 	iImageHandler = CImageHandler::NewL(FsSession(), *this);
+
+	TRAPD(err,iCmManager.OpenL());
+	DP1("iCmManager.OpenL(),err=%d;", err);
 	
-	UpdateIAPListL();
-	UpdateSNAPListL();
+	if (err == KErrNone)
+		{
+		UpdateIAPListL();
+		UpdateSNAPListL();
+		}
 	
 	iSettingsEngine = CSettingsEngine::NewL(*this);
 	iConnectionEngine = CConnectionEngine::NewL(*this);	
 	
-	TRAPD(err, OpenDBL());
+	TRAP(err, OpenDBL());
 	
 	if (err != KErrNone)
 		{