equal
deleted
inserted
replaced
280 @param aContentDescription Descriptor conatining the Content-Description mime header. |
280 @param aContentDescription Descriptor conatining the Content-Description mime header. |
281 */ |
281 */ |
282 EXPORT_C void CMsvMimeHeaders::SetContentDescriptionL(const TDesC8& aContentDescription) |
282 EXPORT_C void CMsvMimeHeaders::SetContentDescriptionL(const TDesC8& aContentDescription) |
283 { |
283 { |
284 delete iContentDescription; |
284 delete iContentDescription; |
|
285 iContentDescription = NULL; |
285 iContentDescription = aContentDescription.AllocL(); |
286 iContentDescription = aContentDescription.AllocL(); |
286 } |
287 } |
287 |
288 |
288 /** |
289 /** |
289 Gets the Content-Description mime header. |
290 Gets the Content-Description mime header. |
309 @param aContentBase Descriptor conatining the Content-Base mime header. |
310 @param aContentBase Descriptor conatining the Content-Base mime header. |
310 */ |
311 */ |
311 EXPORT_C void CMsvMimeHeaders::SetContentBaseL(const TDesC8& aContentBase) |
312 EXPORT_C void CMsvMimeHeaders::SetContentBaseL(const TDesC8& aContentBase) |
312 { |
313 { |
313 delete iContentBase; |
314 delete iContentBase; |
|
315 iContentBase = NULL; |
314 iContentBase = aContentBase.AllocL(); |
316 iContentBase = aContentBase.AllocL(); |
315 } |
317 } |
316 |
318 |
317 /** |
319 /** |
318 Gets the Content-Base mime header. |
320 Gets the Content-Base mime header. |
338 @param aContentLocation Descriptor conatining the Content-Base mime header. |
340 @param aContentLocation Descriptor conatining the Content-Base mime header. |
339 */ |
341 */ |
340 EXPORT_C void CMsvMimeHeaders::SetContentLocationL(const TDesC16& aContentLocation) |
342 EXPORT_C void CMsvMimeHeaders::SetContentLocationL(const TDesC16& aContentLocation) |
341 { |
343 { |
342 delete iContentLocation; |
344 delete iContentLocation; |
|
345 iContentLocation = NULL; |
343 iContentLocation = aContentLocation.AllocL(); |
346 iContentLocation = aContentLocation.AllocL(); |
344 } |
347 } |
345 |
348 |
346 /** |
349 /** |
347 Gets the Content-Location mime header. |
350 Gets the Content-Location mime header. |
367 @param aContentId Descriptor conatining the Content-Id mime header. |
370 @param aContentId Descriptor conatining the Content-Id mime header. |
368 */ |
371 */ |
369 EXPORT_C void CMsvMimeHeaders::SetContentIdL(const TDesC8& aContentId) |
372 EXPORT_C void CMsvMimeHeaders::SetContentIdL(const TDesC8& aContentId) |
370 { |
373 { |
371 delete iContentId; |
374 delete iContentId; |
|
375 iContentId = NULL; |
372 iContentId = aContentId.AllocL(); |
376 iContentId = aContentId.AllocL(); |
373 } |
377 } |
374 |
378 |
375 /** |
379 /** |
376 Gets the Content-Id mime header. |
380 Gets the Content-Id mime header. |
397 @param aContentType Descriptor conatining the Content-Type mime header. |
401 @param aContentType Descriptor conatining the Content-Type mime header. |
398 */ |
402 */ |
399 EXPORT_C void CMsvMimeHeaders::SetContentTypeL(const TDesC8& aContentType) |
403 EXPORT_C void CMsvMimeHeaders::SetContentTypeL(const TDesC8& aContentType) |
400 { |
404 { |
401 delete iContentType; |
405 delete iContentType; |
|
406 iContentType = NULL; |
402 iContentType = aContentType.AllocL(); |
407 iContentType = aContentType.AllocL(); |
403 } |
408 } |
404 |
409 |
405 /** |
410 /** |
406 Gets the Content-Type mime header. |
411 Gets the Content-Type mime header. |
428 @param aContentSubType Descriptor conatining the Content-SubType mime header. |
433 @param aContentSubType Descriptor conatining the Content-SubType mime header. |
429 */ |
434 */ |
430 EXPORT_C void CMsvMimeHeaders::SetContentSubTypeL(const TDesC8& aContentSubType) |
435 EXPORT_C void CMsvMimeHeaders::SetContentSubTypeL(const TDesC8& aContentSubType) |
431 { |
436 { |
432 delete iContentSubType; |
437 delete iContentSubType; |
|
438 iContentSubType = NULL; |
433 iContentSubType = aContentSubType.AllocL(); |
439 iContentSubType = aContentSubType.AllocL(); |
434 } |
440 } |
435 |
441 |
436 /** |
442 /** |
437 Gets the Content-SubType mime header. |
443 Gets the Content-SubType mime header. |
458 @param aContentId Descriptor conatining the Content-Disposition mime header. |
464 @param aContentId Descriptor conatining the Content-Disposition mime header. |
459 */ |
465 */ |
460 EXPORT_C void CMsvMimeHeaders::SetContentDispositionL(const TDesC8& aContentDisposition) |
466 EXPORT_C void CMsvMimeHeaders::SetContentDispositionL(const TDesC8& aContentDisposition) |
461 { |
467 { |
462 delete iContentDisposition; |
468 delete iContentDisposition; |
|
469 iContentDisposition = NULL; |
463 iContentDisposition = aContentDisposition.AllocL(); |
470 iContentDisposition = aContentDisposition.AllocL(); |
464 } |
471 } |
465 |
472 |
466 /** |
473 /** |
467 Gets the Content-Disposition mime header. |
474 Gets the Content-Disposition mime header. |
569 @param aSuggestedFilename Descriptor containing the suggested filename mime header data. |
576 @param aSuggestedFilename Descriptor containing the suggested filename mime header data. |
570 */ |
577 */ |
571 EXPORT_C void CMsvMimeHeaders::SetSuggestedFilenameL(const TDesC16& aSuggestedFilename) |
578 EXPORT_C void CMsvMimeHeaders::SetSuggestedFilenameL(const TDesC16& aSuggestedFilename) |
572 { |
579 { |
573 delete iSuggestedFilename; |
580 delete iSuggestedFilename; |
|
581 iSuggestedFilename = NULL; |
574 iSuggestedFilename = aSuggestedFilename.AllocL(); |
582 iSuggestedFilename = aSuggestedFilename.AllocL(); |
575 } |
583 } |
576 |
584 |
577 /** |
585 /** |
578 Gets the suggested filename mime header. |
586 Gets the suggested filename mime header. |
598 @param aSuggestedFilename Descriptor containing the suggested filename header data. |
606 @param aSuggestedFilename Descriptor containing the suggested filename header data. |
599 */ |
607 */ |
600 EXPORT_C void CMsvMimeHeaders::SetRelativePathL(const TDesC8& aRelativePath) |
608 EXPORT_C void CMsvMimeHeaders::SetRelativePathL(const TDesC8& aRelativePath) |
601 { |
609 { |
602 delete iRelativePath; |
610 delete iRelativePath; |
|
611 iRelativePath = NULL; |
603 iRelativePath = aRelativePath.AllocL(); |
612 iRelativePath = aRelativePath.AllocL(); |
604 } |
613 } |
605 |
614 |
606 /** |
615 /** |
607 Gets the relative path mime header. |
616 Gets the relative path mime header. |