210 |
210 |
211 HBufC* LocalFilename()const { return iLocalFilename; }; |
211 HBufC* LocalFilename()const { return iLocalFilename; }; |
212 HBufC* DestFilename()const { return iDestFilename; }; |
212 HBufC* DestFilename()const { return iDestFilename; }; |
213 HBufC* DdFileName()const { return iDdFilename; }; |
213 HBufC* DdFileName()const { return iDdFilename; }; |
214 TBool DestFNameSet()const { return iDestFNameSet; }; |
214 TBool DestFNameSet()const { return iDestFNameSet; }; |
215 TBool RemovableDest()const { return iRemovableDest; }; |
215 TInt32 RemovableDest()const { return iRemovableStatus; }; |
216 TBool ProgressiveDownload()const { return iProgressiveDownload; } |
216 TBool ProgressiveDownload()const { return iProgressiveDownload; } |
217 TInt32 Length()const { return iLength; }; |
217 TInt32 Length()const { return iLength; }; |
218 TInt32 DownloadedSize()const { return iDownloadedSize; }; |
218 TInt32 DownloadedSize()const { return iDownloadedSize; }; |
219 TInt32 MoDownloadedSize()const{ return iMoDownloadedSize; }; |
219 TInt32 MoDownloadedSize()const{ return iMoDownloadedSize; }; |
220 RFile* File(){ return iFile; }; |
220 RFile* File(){ return iFile; }; |
221 |
221 |
222 void SetLength( TInt32 aLength ){ iLength = aLength; }; |
222 void SetLength( TInt32 aLength ){ iLength = aLength; }; |
223 void SetDownloadedSize( TInt32 aSize ){ iDownloadedSize = aSize; iBufferedSize = aSize; }; |
223 void SetDownloadedSize( TInt32 aSize ){ iDownloadedSize = aSize; iBufferedSize = aSize; }; |
224 void SetRemovableDest( TBool aRemovable ){ iRemovableDest = aRemovable; }; |
224 void SetRemovableDest( TInt32 aRemovable ){ iRemovableStatus = aRemovable; }; |
225 void SetLocalFilenameL(const TDesC16& aValue); |
225 void SetLocalFilenameL(const TDesC16& aValue); |
226 void SetPartialContentLength( TInt32 aLength ){ iPartialLength = aLength; }; |
226 void SetPartialContentLength( TInt32 aLength ){ iPartialLength = aLength; }; |
227 void SetMoDownloadedSize( TInt32 aMoSize ){ iMoDownloadedSize = aMoSize ;}; |
227 void SetMoDownloadedSize( TInt32 aMoSize ){ iMoDownloadedSize = aMoSize ;}; |
228 TBool RFileSetByClient()const { return iRFileSetByClient; }; |
228 TBool RFileSetByClient()const { return iRFileSetByClient; }; |
229 |
229 |
277 RWriteStream* iFotaStream; |
277 RWriteStream* iFotaStream; |
278 #endif |
278 #endif |
279 |
279 |
280 TBool iProgressiveDownload; // EDlAttrProgressive |
280 TBool iProgressiveDownload; // EDlAttrProgressive |
281 |
281 |
282 TBool iRemovableDest; |
282 TInt32 iRemovableStatus; |
|
283 |
283 HBufC* iDestFilename; // EDlAttrDestFilename |
284 HBufC* iDestFilename; // EDlAttrDestFilename |
284 TBool iDestFNameSet; // iDestFilename is set by client app -> |
285 TBool iDestFNameSet; // iDestFilename is set by client app -> |
285 // do not delete it in Reset() |
286 // do not delete it in Reset() |
286 RFile* iFile; // destination file |
287 RFile* iFile; // destination file |
287 |
288 |