equal
deleted
inserted
replaced
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: Base classes for CodData IPC |
14 * Description: Base classes for CodData IPC |
15 * |
15 * |
16 */ |
16 */ |
|
17 |
|
18 |
17 |
19 |
18 #ifndef HTTPDOWNLOADDATA_H |
20 #ifndef HTTPDOWNLOADDATA_H |
19 #define HTTPDOWNLOADDATA_H |
21 #define HTTPDOWNLOADDATA_H |
20 |
22 |
21 // INCLUDES |
23 // INCLUDES |
220 */ |
222 */ |
221 inline TInt DownloadedSize() const { return iDownloadedSize; } |
223 inline TInt DownloadedSize() const { return iDownloadedSize; } |
222 |
224 |
223 /** |
225 /** |
224 * Get Destination Removable. |
226 * Get Destination Removable. |
225 * @return iDesRemovableStatus. |
227 * @return iDesRemovable. |
226 */ |
228 */ |
227 inline TBool DesRemovable() const { return ( KDriveAttRemovable == iDesRemovableStatus ) ? ETrue : EFalse ; } |
229 inline TBool DesRemovable() const { return iDesRemovable; } |
228 |
230 |
229 /** |
231 /** |
230 * Get Last Error Id. |
232 * Get Last Error Id. |
231 * @return iLastErrorId. |
233 * @return iLastErrorId. |
232 */ |
234 */ |
384 |
386 |
385 /** |
387 /** |
386 * Set destination removable attribute. |
388 * Set destination removable attribute. |
387 * @param aDesRemovable Whether removable media drive. |
389 * @param aDesRemovable Whether removable media drive. |
388 */ |
390 */ |
389 virtual void SetDesRemovable( TInt32 aDesRemovable ) = 0; |
391 virtual void SetDesRemovable( TBool aDesRemovable ) = 0; |
390 |
392 |
391 /** |
393 /** |
392 * Set last error id attribute. |
394 * Set last error id attribute. |
393 * @param aLastErrorId Last error ID. |
395 * @param aLastErrorId Last error ID. |
394 */ |
396 */ |
426 HBufC8* iRedirUrl; ///< Media Redirected-URL. |
428 HBufC8* iRedirUrl; ///< Media Redirected-URL. |
427 TInt iMethod; ///< Media Request-Method. |
429 TInt iMethod; ///< Media Request-Method. |
428 TBool iRedirected; ///< Is Redirected? |
430 TBool iRedirected; ///< Is Redirected? |
429 HBufC* iDestFilename; ///< Media Destination Filename. |
431 HBufC* iDestFilename; ///< Media Destination Filename. |
430 TInt iDownloadedSize; ///<The media track downloaded size.Should be equal to iSize when download completed successfully |
432 TInt iDownloadedSize; ///<The media track downloaded size.Should be equal to iSize when download completed successfully |
431 TInt32 iDesRemovableStatus; ///< Is file stored on removable media? |
433 TBool iDesRemovable; ///< Is file stored on removable media? |
432 TInt iLastErrorId; ///< THttpDownloadMgrError. |
434 TInt iLastErrorId; ///< THttpDownloadMgrError. |
433 TInt iGlobalErrorId; ///< Global Error Id. |
435 TInt iGlobalErrorId; ///< Global Error Id. |
434 TBool iPausable; ///< Is Media-Download Pausable? |
436 TBool iPausable; ///< Is Media-Download Pausable? |
435 HBufC* iTempFilename; ///< Media Temp Filename. |
437 HBufC* iTempFilename; ///< Media Temp Filename. |
436 TInt iStatusCode; |
438 TInt iStatusCode; |