codhandler/codeng/src/DownloadDataClient.cpp
branchRCL_3
changeset 93 79859ed3eea9
parent 38 6297cdf66332
child 94 919f36ff910f
--- a/codhandler/codeng/src/DownloadDataClient.cpp	Thu Aug 19 10:58:56 2010 +0300
+++ b/codhandler/codeng/src/DownloadDataClient.cpp	Tue Aug 31 16:17:46 2010 +0300
@@ -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);