|
1 /* |
|
2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Inline methods for CUniHeaders |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // --------------------------------------------------------- |
|
22 // CUniHeaders::ToRecipients |
|
23 // --------------------------------------------------------- |
|
24 // |
|
25 inline const CDesCArray& CUniHeaders::ToRecipients() const |
|
26 { |
|
27 return *iToArray; |
|
28 } |
|
29 |
|
30 // --------------------------------------------------------- |
|
31 // CUniHeaders::CcRecipients |
|
32 // --------------------------------------------------------- |
|
33 // |
|
34 inline const CDesCArray& CUniHeaders::CcRecipients() const |
|
35 { |
|
36 return *iCcArray; |
|
37 } |
|
38 |
|
39 // --------------------------------------------------------- |
|
40 // CUniHeaders::BccRecipients |
|
41 // --------------------------------------------------------- |
|
42 // |
|
43 inline const CDesCArray& CUniHeaders::BccRecipients() const |
|
44 { |
|
45 return *iBccArray; |
|
46 } |
|
47 |
|
48 // --------------------------------------------------------- |
|
49 // CUniHeaders::MessageTypeSetting |
|
50 // --------------------------------------------------------- |
|
51 // |
|
52 inline TInt32 CUniHeaders::MessageTypeSetting() const |
|
53 { |
|
54 return iMessageTypeSetting; |
|
55 } |
|
56 |
|
57 // --------------------------------------------------------- |
|
58 // CUniHeaders::SetMessageTypeSetting |
|
59 // --------------------------------------------------------- |
|
60 // |
|
61 inline void CUniHeaders::SetMessageTypeSetting( TInt32 aSetting ) |
|
62 { |
|
63 iMessageTypeSetting = aSetting; |
|
64 } |
|
65 |
|
66 // --------------------------------------------------------- |
|
67 // CUniHeaders::MessageTypeLocked |
|
68 // --------------------------------------------------------- |
|
69 // |
|
70 inline TInt32 CUniHeaders::MessageTypeLocking() const |
|
71 { |
|
72 return iMessageTypeLocking; |
|
73 } |
|
74 |
|
75 // --------------------------------------------------------- |
|
76 // CUniHeaders::SetMessageTypeLocked |
|
77 // --------------------------------------------------------- |
|
78 // |
|
79 inline void CUniHeaders::SetMessageTypeLocking( TInt32 aLocking ) |
|
80 { |
|
81 iMessageTypeLocking = aLocking; |
|
82 } |
|
83 |
|
84 // --------------------------------------------------------- |
|
85 // CUniHeaders::MessageRoot |
|
86 // --------------------------------------------------------- |
|
87 // |
|
88 inline TMsvAttachmentId CUniHeaders::MessageRoot() const |
|
89 { |
|
90 return iMessageRoot; |
|
91 } |
|
92 |
|
93 // --------------------------------------------------------- |
|
94 // CUniHeaders::SetMessageRoot |
|
95 // --------------------------------------------------------- |
|
96 // |
|
97 inline void CUniHeaders::SetMessageRoot( TMsvAttachmentId aRoot ) |
|
98 { |
|
99 iMessageRoot = aRoot; |
|
100 } |
|
101 |
|
102 // End of File |