messagingfw/wappushfw/MiscPushMsgUtils/inc/CMultiPartPushMsgEntry.inl
changeset 22 bde600d88860
parent 0 8e480a14352b
equal deleted inserted replaced
21:08008ce8a6df 22:bde600d88860
       
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @publishedPartner
       
    19  @released
       
    20 */
       
    21 
       
    22 #include <msvapi.h>
       
    23 
       
    24 
       
    25 /** 
       
    26 Gets the Content Type of the message.
       
    27 
       
    28 If Content Type does not exist, a null descriptor is returned.
       
    29 
       
    30 @return 
       
    31 The Content Type of the message.
       
    32 */
       
    33 inline const TDesC& CMultiPartPushMsgEntry::ContentType() const
       
    34 	{
       
    35 	if (iContentType)
       
    36 		return *iContentType;
       
    37 	else
       
    38 		return KNullDesC;
       
    39 	}
       
    40 
       
    41 
       
    42 /**
       
    43 Sets the time that the message was sent.
       
    44 
       
    45 @param aTime
       
    46 The time that the message was sent.
       
    47 */
       
    48 inline void	 CMultiPartPushMsgEntry::SetTimeSent(const TTime& aTime)
       
    49 	{
       
    50 	iTimeSent=aTime;
       
    51 	}
       
    52 
       
    53 
       
    54 /**
       
    55 Gets the time that the message was sent.
       
    56 
       
    57 @return 
       
    58 The time that the message was sent
       
    59 */
       
    60 inline const TTime& CMultiPartPushMsgEntry::TimeSent() const 
       
    61 	{
       
    62 	return iTimeSent;
       
    63 	}
       
    64