equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: ?Description |
14 * Description: ?Description |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
|
18 |
|
19 |
18 // INCLUDE FILES |
20 // INCLUDE FILES |
19 #include <s32mem.h> |
21 #include <s32mem.h> |
20 #include "DownloadDataServ.h" |
22 #include "DownloadDataServ.h" |
21 |
23 |
|
24 |
22 // CONSTANTS |
25 // CONSTANTS |
|
26 |
23 |
27 |
24 // --------------------------------------------------------- |
28 // --------------------------------------------------------- |
25 // CMediaDataServ::NewL() |
29 // CMediaDataServ::NewL() |
26 // Two-phase Constructor - Creates object from stream |
30 // Two-phase Constructor - Creates object from stream |
27 // --------------------------------------------------------- |
31 // --------------------------------------------------------- |
250 |
254 |
251 // --------------------------------------------------------- |
255 // --------------------------------------------------------- |
252 // CMediaDataServ::SetDesRemovable() |
256 // CMediaDataServ::SetDesRemovable() |
253 // --------------------------------------------------------- |
257 // --------------------------------------------------------- |
254 // |
258 // |
255 void CMediaDataServ::SetDesRemovable( TInt32 aDesRemovable ) |
259 void CMediaDataServ::SetDesRemovable( TBool aDesRemovable ) |
256 { |
260 { |
257 iDesRemovableStatus = aDesRemovable; |
261 iDesRemovable = aDesRemovable; |
258 } |
262 } |
259 |
263 |
260 // --------------------------------------------------------- |
264 // --------------------------------------------------------- |
261 // CMediaDataServ::SetLastErrorId() |
265 // CMediaDataServ::SetLastErrorId() |
262 // --------------------------------------------------------- |
266 // --------------------------------------------------------- |
263 // |
267 // |
374 iRedirUrl = HBufC8::NewL(aStream, COD_URL_MAX_LEN); |
378 iRedirUrl = HBufC8::NewL(aStream, COD_URL_MAX_LEN); |
375 iMethod = aStream.ReadInt32L(); |
379 iMethod = aStream.ReadInt32L(); |
376 iRedirected = aStream.ReadInt32L(); |
380 iRedirected = aStream.ReadInt32L(); |
377 iDestFilename = HBufC::NewL(aStream, KMaxFileName); |
381 iDestFilename = HBufC::NewL(aStream, KMaxFileName); |
378 iDownloadedSize = aStream.ReadInt32L(); |
382 iDownloadedSize = aStream.ReadInt32L(); |
379 iDesRemovableStatus = aStream.ReadInt32L(); |
383 iDesRemovable = aStream.ReadInt32L(); |
380 iLastErrorId = aStream.ReadInt32L(); |
384 iLastErrorId = aStream.ReadInt32L(); |
381 iGlobalErrorId = aStream.ReadInt32L(); |
385 iGlobalErrorId = aStream.ReadInt32L(); |
382 iPausable = aStream.ReadInt32L(); |
386 iPausable = aStream.ReadInt32L(); |
383 |
387 |
384 |
388 |