codhandler/codeng/src/DownloadDataClient.cpp
changeset 27 6297cdf66332
parent 26 cb62a4f66ebe
child 48 79859ed3eea9
equal deleted inserted replaced
26:cb62a4f66ebe 27:6297cdf66332
   103     bytes += iRedirUrl->Size();
   103     bytes += iRedirUrl->Size();
   104     bytes += sizeof(iMethod);
   104     bytes += sizeof(iMethod);
   105     bytes += sizeof(iRedirected);
   105     bytes += sizeof(iRedirected);
   106     bytes += iDestFilename->Size();
   106     bytes += iDestFilename->Size();
   107     bytes += sizeof(iDownloadedSize);
   107     bytes += sizeof(iDownloadedSize);
   108     bytes += sizeof(iDesRemovable);
   108     bytes += sizeof(iDesRemovableStatus);
   109     bytes += sizeof(iLastErrorId);
   109     bytes += sizeof(iLastErrorId);
   110     bytes += sizeof(iGlobalErrorId);
   110     bytes += sizeof(iGlobalErrorId);
   111     bytes += sizeof(iPausable);
   111     bytes += sizeof(iPausable);
   112     bytes += iTempFilename->Size();
   112     bytes += iTempFilename->Size();
   113     
   113     
   302 
   302 
   303 // ---------------------------------------------------------
   303 // ---------------------------------------------------------
   304 // CMediaDataClient::SetDesRemovable()
   304 // CMediaDataClient::SetDesRemovable()
   305 // ---------------------------------------------------------
   305 // ---------------------------------------------------------
   306 //
   306 //
   307 void CMediaDataClient::SetDesRemovable( TBool aDesRemovable )
   307 void CMediaDataClient::SetDesRemovable( TInt32 aDesRemovable )
   308 	{
   308     {
   309 	iDesRemovable = aDesRemovable;
   309     iDesRemovableStatus = aDesRemovable;
   310 	}
   310     }
   311 
   311 
   312 // ---------------------------------------------------------
   312 // ---------------------------------------------------------
   313 // CMediaDataClient::SetLastErrorId()
   313 // CMediaDataClient::SetLastErrorId()
   314 // ---------------------------------------------------------
   314 // ---------------------------------------------------------
   315 //
   315 //
   497     
   497     
   498     // iDownloadedSize
   498     // iDownloadedSize
   499     aStream.WriteInt32L(iDownloadedSize);
   499     aStream.WriteInt32L(iDownloadedSize);
   500     
   500     
   501     // iDesRemovable
   501     // iDesRemovable
   502     aStream.WriteInt32L(iDesRemovable);
   502     aStream.WriteInt32L(iDesRemovableStatus);
   503     
   503     
   504     // iLastErrorId
   504     // iLastErrorId
   505     aStream.WriteInt32L(iLastErrorId);
   505     aStream.WriteInt32L(iLastErrorId);
   506     
   506     
   507     // iGlobalErrorId
   507     // iGlobalErrorId