codhandler/codeng/src/DownloadDataClient.cpp
changeset 65 5bfc169077b2
parent 38 6297cdf66332
child 94 919f36ff910f
--- a/codhandler/codeng/src/DownloadDataClient.cpp	Tue Feb 02 00:56:45 2010 +0200
+++ b/codhandler/codeng/src/DownloadDataClient.cpp	Fri Mar 19 09:52:28 2010 +0200
@@ -17,6 +17,7 @@
 *
 */
 
+
 // INCLUDE FILES
 
 #include <s32mem.h>
@@ -26,8 +27,10 @@
 
 // ================= CONSTANTS =======================
 
+
 // ================= MEMBER FUNCTIONS =======================
 
+    
 // ---------------------------------------------------------
 // CMediaDataClient::NewL()
 // ---------------------------------------------------------
@@ -105,7 +108,7 @@
     bytes += sizeof(iRedirected);
     bytes += iDestFilename->Size();
     bytes += sizeof(iDownloadedSize);
-    bytes += sizeof(iDesRemovableStatus);
+    bytes += sizeof(iDesRemovable);
     bytes += sizeof(iLastErrorId);
     bytes += sizeof(iGlobalErrorId);
     bytes += sizeof(iPausable);
@@ -304,10 +307,10 @@
 // CMediaDataClient::SetDesRemovable()
 // ---------------------------------------------------------
 //
-void CMediaDataClient::SetDesRemovable( TInt32 aDesRemovable )
-    {
-    iDesRemovableStatus = aDesRemovable;
-    }
+void CMediaDataClient::SetDesRemovable( TBool aDesRemovable )
+	{
+	iDesRemovable = aDesRemovable;
+	}
 
 // ---------------------------------------------------------
 // CMediaDataClient::SetLastErrorId()
@@ -499,7 +502,7 @@
     aStream.WriteInt32L(iDownloadedSize);
     
     // iDesRemovable
-    aStream.WriteInt32L(iDesRemovableStatus);
+    aStream.WriteInt32L(iDesRemovable);
     
     // iLastErrorId
     aStream.WriteInt32L(iLastErrorId);