messagingfw/wappushfw/MiscPushMsgUtils/inc/CUnknownPushMsgEntry.inl
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     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 @return 
       
    29 The Content Type of the message. 
       
    30 */
       
    31 inline const TDesC& CUnknownPushMsgEntry::ContentType() const
       
    32 	{
       
    33 	if (iContentType)
       
    34 		return *iContentType;
       
    35 	else
       
    36 		return KNullDesC;
       
    37 	}
       
    38 
       
    39 
       
    40 /**
       
    41 Sets the time that the message was sent. 
       
    42 
       
    43 @param aTime
       
    44 The time the message was sent.
       
    45 */
       
    46 inline void	CUnknownPushMsgEntry::SetTimeSent(const TTime& aTime)
       
    47 	{
       
    48 	iTimeSent=aTime;
       
    49 	}
       
    50 
       
    51 
       
    52 /**
       
    53 Gets the time that the message was sent. 
       
    54 
       
    55 @return 
       
    56 The time the message was sent
       
    57 */
       
    58 inline const TTime& CUnknownPushMsgEntry::TimeSent()  const
       
    59 	{
       
    60 	return iTimeSent;
       
    61 	}