719
|
1 |
/**
|
|
2 |
* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
872
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
719
|
6 |
* which accompanies this distribution, and is available
|
872
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
719
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
/**
|
|
24 |
@file
|
|
25 |
|
|
26 |
Gets Number Of Lines Of Body Text
|
|
27 |
|
|
28 |
@return
|
|
29 |
Returns Number Of Lines Of Body Text
|
|
30 |
*/
|
|
31 |
inline TInt CExpPop3MailInfo::GetNumLinesBodyText() const
|
|
32 |
{
|
|
33 |
return iLinesBodyText;
|
|
34 |
}
|
|
35 |
|
|
36 |
/**
|
|
37 |
Sets Number Of Lines Of Body Text
|
|
38 |
|
|
39 |
@param aLinesBodyText
|
|
40 |
Count of Lines of Body Text
|
|
41 |
*/
|
|
42 |
inline void CExpPop3MailInfo::SetNumLinesBodyText(TInt aLinesBodyText)
|
|
43 |
{
|
|
44 |
iLinesBodyText = aLinesBodyText;
|
|
45 |
}
|
|
46 |
|
|
47 |
/**
|
|
48 |
Gets Number Of Attachments
|
|
49 |
|
|
50 |
@return
|
|
51 |
Returns Number Of Attachments
|
|
52 |
*/
|
|
53 |
inline TInt CExpPop3MailInfo::GetNumAttachments() const
|
|
54 |
{
|
|
55 |
return iNumAttachments;
|
|
56 |
}
|
|
57 |
|
|
58 |
/**
|
|
59 |
Sets Number Of Attachments
|
|
60 |
|
|
61 |
@param aNumAttachments
|
|
62 |
Count of Number of Attachments
|
|
63 |
*/
|
|
64 |
inline void CExpPop3MailInfo::SetNumAttachments(TInt aNumAttachments)
|
|
65 |
{
|
|
66 |
iNumAttachments = aNumAttachments;
|
|
67 |
}
|
|
68 |
|
|
69 |
/**
|
|
70 |
Gets Number Of Html Lines
|
|
71 |
|
|
72 |
@return
|
|
73 |
Returns Number Of Html Lines
|
|
74 |
*/
|
|
75 |
inline TInt CExpPop3MailInfo::GetNumLinesHtml() const
|
|
76 |
{
|
|
77 |
return iNumLinesHtml;
|
|
78 |
}
|
|
79 |
|
|
80 |
/**
|
|
81 |
Sets Number Of Lines Of HTML
|
|
82 |
|
|
83 |
@param aLinesHtml
|
|
84 |
Count of Lines of HTML
|
|
85 |
*/
|
|
86 |
inline void CExpPop3MailInfo::SetNumLinesHtml(TInt aNumLinesHtml)
|
|
87 |
{
|
|
88 |
iNumLinesHtml = aNumLinesHtml;
|
|
89 |
}
|
|
90 |
|
|
91 |
/**
|
|
92 |
Gets Flag status for FooterExpected
|
|
93 |
|
|
94 |
@return
|
|
95 |
Returns Value of FooterExpected
|
|
96 |
*/
|
|
97 |
inline TBool CExpPop3MailInfo::GetFooterExpected() const
|
|
98 |
{
|
|
99 |
return iFooterExpected;
|
|
100 |
}
|
|
101 |
|
|
102 |
/**
|
|
103 |
Sets if Footer is Expected
|
|
104 |
|
|
105 |
@param aFooterExpected
|
|
106 |
Sets ETrue if Footer Expected
|
|
107 |
*/
|
|
108 |
inline void CExpPop3MailInfo::SetFooterExpected(TBool aFooterExpected)
|
|
109 |
{
|
|
110 |
iFooterExpected = aFooterExpected;
|
|
111 |
}
|
|
112 |
|
|
113 |
/**
|
|
114 |
Gets Size of Footer
|
|
115 |
|
|
116 |
@return
|
|
117 |
Returns Size of Footer
|
|
118 |
*/
|
|
119 |
inline TInt CExpPop3MailInfo::GetFooterSize() const
|
|
120 |
{
|
|
121 |
return iFooterSize;
|
|
122 |
}
|
|
123 |
|
|
124 |
/**
|
|
125 |
Sets Footer Size
|
|
126 |
|
|
127 |
@param aFooterSize
|
|
128 |
Sets Footer Size
|
|
129 |
*/
|
|
130 |
inline void CExpPop3MailInfo::SetFooterSize(TBool aFooterSize)
|
|
131 |
{
|
|
132 |
iFooterSize = aFooterSize;
|
|
133 |
}
|
|
134 |
|
|
135 |
/**
|
|
136 |
Gets Description
|
|
137 |
|
|
138 |
@return
|
|
139 |
Returns Description
|
|
140 |
*/
|
|
141 |
inline TDesC& CExpPop3MailInfo::GetDescription()
|
|
142 |
{
|
|
143 |
return iDescription;
|
|
144 |
}
|
|
145 |
|
|
146 |
/**
|
|
147 |
Sets Description
|
|
148 |
|
|
149 |
@param aDesc
|
|
150 |
Sets Description
|
|
151 |
*/
|
|
152 |
inline void CExpPop3MailInfo::SetDescription(TDesC& aDesc)
|
|
153 |
{
|
|
154 |
iDescription.Copy(aDesc);
|
|
155 |
}
|