equal
deleted
inserted
replaced
|
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 "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 // WAP Push Message Inline functions File for the Utility class |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @publishedPartner |
|
21 @released |
|
22 */ |
|
23 |
|
24 #include <msvapi.h> |
|
25 |
|
26 inline const TMsvEntry& CPushMsgEntryBase::Entry() const |
|
27 /** |
|
28 Gets the object's current message server index entry. |
|
29 |
|
30 @return |
|
31 Message server index entry |
|
32 */ |
|
33 { |
|
34 return iEntry; |
|
35 } |
|
36 |
|
37 |
|
38 inline TInt CPushMsgEntryBase::Status() const |
|
39 /** |
|
40 Gets the Status value for the Push Message entry. |
|
41 |
|
42 @return |
|
43 Status value: a TPushMsgStatus value |
|
44 */ |
|
45 { |
|
46 //The status value is one from an enumerated set. It is used to set Bits 0-3 |
|
47 //of the iMtmData1 member of TMsvEntry. A bitwise AND is performed with iMtmData1 |
|
48 //and a mask with value 0x000F to extract the status value. |
|
49 |
|
50 return iEntry.MtmData1() & KPushMaskOnlyStatus;//bitwise & to get Bits 0-3 |
|
51 } |