web_plat/cod_handler_api/inc/HttpDownloadData.h
changeset 38 6297cdf66332
parent 37 cb62a4f66ebe
child 65 5bfc169077b2
equal deleted inserted replaced
37:cb62a4f66ebe 38:6297cdf66332
   220         */
   220         */
   221         inline TInt DownloadedSize() const { return iDownloadedSize; }
   221         inline TInt DownloadedSize() const { return iDownloadedSize; }
   222         
   222         
   223         /**
   223         /**
   224         * Get Destination Removable.
   224         * Get Destination Removable.
   225         * @return iDesRemovable.
   225         * @return iDesRemovableStatus.
   226         */
   226         */
   227         inline TBool DesRemovable() const { return iDesRemovable; }
   227         inline TBool DesRemovable() const { return ( KDriveAttRemovable == iDesRemovableStatus ) ? ETrue : EFalse ; }
   228         
   228         
   229         /**
   229         /**
   230         * Get Last Error Id.
   230         * Get Last Error Id.
   231         * @return iLastErrorId.
   231         * @return iLastErrorId.
   232         */
   232         */
   384         
   384         
   385         /**
   385         /**
   386         * Set destination removable attribute.
   386         * Set destination removable attribute.
   387         * @param aDesRemovable Whether removable media drive.
   387         * @param aDesRemovable Whether removable media drive.
   388         */
   388         */
   389         virtual void SetDesRemovable( TBool aDesRemovable ) = 0;
   389         virtual void SetDesRemovable( TInt32 aDesRemovable ) = 0;
   390         
   390         
   391         /**
   391         /**
   392         * Set last error id attribute.
   392         * Set last error id attribute.
   393         * @param aLastErrorId Last error ID.
   393         * @param aLastErrorId Last error ID.
   394         */
   394         */
   426         HBufC8* iRedirUrl;			///< Media Redirected-URL.
   426         HBufC8* iRedirUrl;			///< Media Redirected-URL.
   427         TInt iMethod;				///< Media Request-Method.
   427         TInt iMethod;				///< Media Request-Method.
   428         TBool iRedirected;			///< Is Redirected?
   428         TBool iRedirected;			///< Is Redirected?
   429         HBufC* iDestFilename;		///< Media Destination Filename.
   429         HBufC* iDestFilename;		///< Media Destination Filename.
   430         TInt iDownloadedSize;       ///<The media track downloaded size.Should be equal to iSize when download completed successfully
   430         TInt iDownloadedSize;       ///<The media track downloaded size.Should be equal to iSize when download completed successfully
   431         TBool iDesRemovable;		///< Is file stored on removable media?
   431         TInt32 iDesRemovableStatus; ///< Is file stored on removable media?
   432         TInt iLastErrorId;			///< THttpDownloadMgrError.
   432         TInt iLastErrorId;			///< THttpDownloadMgrError.
   433         TInt iGlobalErrorId;		///< Global Error Id.
   433         TInt iGlobalErrorId;		///< Global Error Id.
   434         TBool iPausable;			///< Is Media-Download Pausable?
   434         TBool iPausable;			///< Is Media-Download Pausable?
   435         HBufC* iTempFilename;		///< Media Temp Filename.
   435         HBufC* iTempFilename;		///< Media Temp Filename.
   436         TInt iStatusCode;
   436         TInt iStatusCode;