browserutilities/downloadmgr/DownloadMgrServEng/Src/DownloadDataServ.cpp
changeset 65 5bfc169077b2
parent 38 6297cdf66332
child 94 919f36ff910f
--- a/browserutilities/downloadmgr/DownloadMgrServEng/Src/DownloadDataServ.cpp	Tue Feb 02 00:56:45 2010 +0200
+++ b/browserutilities/downloadmgr/DownloadMgrServEng/Src/DownloadDataServ.cpp	Fri Mar 19 09:52:28 2010 +0200
@@ -15,12 +15,16 @@
 *
 */
 
+
+
 // INCLUDE FILES
 #include <s32mem.h>
 #include "DownloadDataServ.h"
 
+
 // CONSTANTS
 
+
 // ---------------------------------------------------------
 // CMediaDataServ::NewL()
 // Two-phase Constructor - Creates object from stream
@@ -252,10 +256,10 @@
 // CMediaDataServ::SetDesRemovable()
 // ---------------------------------------------------------
 //
-void CMediaDataServ::SetDesRemovable( TInt32 aDesRemovable )
-    {
-    iDesRemovableStatus = aDesRemovable;
-    }
+void CMediaDataServ::SetDesRemovable( TBool aDesRemovable )
+	{
+	iDesRemovable = aDesRemovable;
+	}
 
 // ---------------------------------------------------------
 // CMediaDataServ::SetLastErrorId()
@@ -376,7 +380,7 @@
     iRedirected = aStream.ReadInt32L();
     iDestFilename = HBufC::NewL(aStream, KMaxFileName);
     iDownloadedSize = aStream.ReadInt32L();
-    iDesRemovableStatus = aStream.ReadInt32L();
+    iDesRemovable = aStream.ReadInt32L();
     iLastErrorId = aStream.ReadInt32L();
     iGlobalErrorId = aStream.ReadInt32L();
     iPausable = aStream.ReadInt32L();