epoc32/include/pushentry.inl
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 // Copyright (c) 2000-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // WAP Push Message Inline functions  File for the Utility class
    15 // 
    16 //
    17 
    18 
    19 
    20 /**
    21  @file
    22  @publishedPartner
    23  @released
    24 */
    25 
    26 #include <msvapi.h>
    27 
    28 inline const TMsvEntry& CPushMsgEntryBase::Entry() const
    29 /** 
    30 Gets the object's current message server index entry.
    31 
    32 @return 
    33 Message server index entry 
    34 */
    35 	{
    36 	return iEntry;
    37 	}
    38 
    39 
    40 inline TInt CPushMsgEntryBase::Status() const
    41 /** 
    42 Gets the Status value for the Push Message entry.
    43 
    44 @return 
    45 Status value: a TPushMsgStatus value 
    46 */
    47 	{
    48 	//The status value is one from an enumerated set. It is used to set Bits 0-3 
    49 	//of the iMtmData1 member of TMsvEntry. A bitwise AND is performed with iMtmData1 
    50 	//and a mask with value 0x000F to extract the status value.
    51 
    52 	return iEntry.MtmData1() & KPushMaskOnlyStatus;//bitwise & to get Bits 0-3
    53 	}