equal
deleted
inserted
replaced
262 * Get TempPath Filename. |
262 * Get TempPath Filename. |
263 * @return iDestFilename. |
263 * @return iDestFilename. |
264 */ |
264 */ |
265 inline TPtrC TempFilename() const { return *iTempFilename; } |
265 inline TPtrC TempFilename() const { return *iTempFilename; } |
266 |
266 |
|
267 /** |
|
268 * Gets the StatusCode of Media Object |
|
269 * @ return iStatusCode |
|
270 */ |
|
271 inline TInt StatusCode () const { return iStatusCode; } |
267 public: // Setters |
272 public: // Setters |
268 |
273 |
269 /** |
274 /** |
270 * Set Name attribute. |
275 * Set Name attribute. |
271 * @param Name. |
276 * @param Name. |
401 * Set Pausable attribute. |
406 * Set Pausable attribute. |
402 * @param aPausable Whether download pausable or not. |
407 * @param aPausable Whether download pausable or not. |
403 */ |
408 */ |
404 virtual void SetPausable( TBool aPausable ) = 0; |
409 virtual void SetPausable( TBool aPausable ) = 0; |
405 |
410 |
|
411 /** |
|
412 * Set StatusCode attribute. |
|
413 * @param aStatusCode. |
|
414 * @return void. |
|
415 */ |
|
416 virtual void SetStatusCode( TInt aStatusCode ) = 0; |
406 protected: // data |
417 protected: // data |
407 |
418 |
408 HBufC* iName; ///< Media-Name. Owned. |
419 HBufC* iName; ///< Media-Name. Owned. |
409 HBufC8* iUrl; ///< Media-URL. Owned. |
420 HBufC8* iUrl; ///< Media-URL. Owned. |
410 TUint iSize; ///< Media-Size. |
421 TUint iSize; ///< Media-Size. |
422 TBool iDesRemovable; ///< Is file stored on removable media? |
433 TBool iDesRemovable; ///< Is file stored on removable media? |
423 TInt iLastErrorId; ///< THttpDownloadMgrError. |
434 TInt iLastErrorId; ///< THttpDownloadMgrError. |
424 TInt iGlobalErrorId; ///< Global Error Id. |
435 TInt iGlobalErrorId; ///< Global Error Id. |
425 TBool iPausable; ///< Is Media-Download Pausable? |
436 TBool iPausable; ///< Is Media-Download Pausable? |
426 HBufC* iTempFilename; ///< Media Temp Filename. |
437 HBufC* iTempFilename; ///< Media Temp Filename. |
|
438 TInt iStatusCode; |
427 }; |
439 }; |
428 |
440 |
429 |
441 |
430 /** |
442 /** |
431 * Download Data Base. |
443 * Download Data Base. |