browserutilities/downloadmgr/DownloadMgrServEng/Inc/HttpStorage.h
changeset 65 5bfc169077b2
parent 38 6297cdf66332
child 94 919f36ff910f
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
   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         TInt32  RemovableDest()const { return iRemovableStatus; };
   215         TBool   RemovableDest()const { return iRemovableDest; };
   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( TInt32 aRemovable ){ iRemovableStatus = aRemovable; };
   224         void    SetRemovableDest( TBool aRemovable ){ iRemovableDest = 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         TInt32  iRemovableStatus;
   282         TBool   iRemovableDest;
   283         
       
   284         HBufC*  iDestFilename;          // EDlAttrDestFilename
   283         HBufC*  iDestFilename;          // EDlAttrDestFilename
   285         TBool   iDestFNameSet;          // iDestFilename is set by client app -> 
   284         TBool   iDestFNameSet;          // iDestFilename is set by client app -> 
   286                                         // do not delete it in Reset()
   285                                         // do not delete it in Reset()
   287         RFile*  iFile;                  // destination file
   286         RFile*  iFile;                  // destination file
   288 
   287