web_plat/cod_handler_api/inc/HttpDownloadData.h
branchRCL_3
changeset 94 919f36ff910f
parent 93 79859ed3eea9
--- a/web_plat/cod_handler_api/inc/HttpDownloadData.h	Tue Aug 31 16:17:46 2010 +0300
+++ b/web_plat/cod_handler_api/inc/HttpDownloadData.h	Wed Sep 01 12:28:30 2010 +0100
@@ -15,8 +15,6 @@
 *
 */
 
-
-
 #ifndef HTTPDOWNLOADDATA_H
 #define HTTPDOWNLOADDATA_H
 
@@ -224,9 +222,9 @@
         
         /**
         * Get Destination Removable.
-        * @return iDesRemovable.
+        * @return iDesRemovableStatus.
         */
-        inline TBool DesRemovable() const { return iDesRemovable; }
+        inline TBool DesRemovable() const { return ( KDriveAttRemovable == iDesRemovableStatus ) ? ETrue : EFalse ; }
         
         /**
         * Get Last Error Id.
@@ -388,7 +386,7 @@
         * Set destination removable attribute.
         * @param aDesRemovable Whether removable media drive.
         */
-        virtual void SetDesRemovable( TBool aDesRemovable ) = 0;
+        virtual void SetDesRemovable( TInt32 aDesRemovable ) = 0;
         
         /**
         * Set last error id attribute.
@@ -430,7 +428,7 @@
         TBool iRedirected;			///< Is Redirected?
         HBufC* iDestFilename;		///< Media Destination Filename.
         TInt iDownloadedSize;       ///<The media track downloaded size.Should be equal to iSize when download completed successfully
-        TBool iDesRemovable;		///< Is file stored on removable media?
+        TInt32 iDesRemovableStatus; ///< Is file stored on removable media?
         TInt iLastErrorId;			///< THttpDownloadMgrError.
         TInt iGlobalErrorId;		///< Global Error Id.
         TBool iPausable;			///< Is Media-Download Pausable?