|
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 |
|
5 * under the terms of the License "Symbian Foundation License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * This contains the class for CExpPop3MailInfo |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 /** |
|
25 @file |
|
26 */ |
|
27 |
|
28 #ifndef __CEXPMAILINFO_H__ |
|
29 #define __CEXPMAILINFO_H__ |
|
30 |
|
31 |
|
32 // Epoc include |
|
33 #include <e32base.h> |
|
34 |
|
35 /** |
|
36 This class holds the information of number of lines, description etc... of a message. |
|
37 */ |
|
38 class CExpPop3MailInfo : public CBase |
|
39 { |
|
40 public: |
|
41 CExpPop3MailInfo() { } |
|
42 |
|
43 virtual ~CExpPop3MailInfo() { } |
|
44 |
|
45 inline TInt GetNumLinesBodyText() const; |
|
46 inline void SetNumLinesBodyText(TInt aLinesBodyText); |
|
47 |
|
48 inline TInt GetNumAttachments() const; |
|
49 inline void SetNumAttachments(TInt aNumAttachments); |
|
50 |
|
51 inline TInt GetNumLinesHtml() const; |
|
52 inline void SetNumLinesHtml(TInt aNumLinesHtml); |
|
53 |
|
54 inline TBool GetFooterExpected() const; |
|
55 inline void SetFooterExpected(TBool aFooterExpected); |
|
56 |
|
57 inline TInt GetFooterSize() const; |
|
58 inline void SetFooterSize(TBool aFooterSize); |
|
59 |
|
60 inline TDesC& GetDescription(); |
|
61 inline void SetDescription(TDesC& aDesc); |
|
62 |
|
63 private: |
|
64 TInt iLinesBodyText; |
|
65 TInt iNumAttachments; |
|
66 TInt iNumLinesHtml; |
|
67 TBool iFooterExpected; |
|
68 TBuf<64> iDescription; |
|
69 TInt iFooterSize; |
|
70 }; |
|
71 |
|
72 |
|
73 #include "CExpMailInfo.inl" |
|
74 |
|
75 #endif // __CEXPMAILINFO_H__ |