Diffstat (limited to 'noncore/net/mail/libmailwrapper/pop3wrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/pop3wrapper.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/pop3wrapper.h b/noncore/net/mail/libmailwrapper/pop3wrapper.h index b17928e..a31a145 100644 --- a/noncore/net/mail/libmailwrapper/pop3wrapper.h +++ b/noncore/net/mail/libmailwrapper/pop3wrapper.h | |||
@@ -1,11 +1,13 @@ | |||
1 | #ifndef __POP3WRAPPER | 1 | #ifndef __POP3WRAPPER |
2 | #define __POP3WRAPPER | 2 | #define __POP3WRAPPER |
3 | 3 | ||
4 | #include "mailwrapper.h" | 4 | #include "mailwrapper.h" |
5 | #include "abstractmail.h" | 5 | #include "abstractmail.h" |
6 | #include <qmap.h> | ||
7 | #include <qstring.h> | ||
6 | 8 | ||
7 | class RecMail; | 9 | class RecMail; |
8 | class RecBody; | 10 | class RecBody; |
9 | class encodedString; | 11 | class encodedString; |
10 | struct mailpop3; | 12 | struct mailpop3; |
11 | struct mailmessage; | 13 | struct mailmessage; |
@@ -41,18 +43,21 @@ protected: | |||
41 | QString parseMailboxList( mailimf_mailbox_list *list ); | 43 | QString parseMailboxList( mailimf_mailbox_list *list ); |
42 | QString parseMailbox( mailimf_mailbox *box ); | 44 | QString parseMailbox( mailimf_mailbox *box ); |
43 | QString parseGroup( mailimf_group *group ); | 45 | QString parseGroup( mailimf_group *group ); |
44 | QString parseAddressList( mailimf_address_list *list ); | 46 | QString parseAddressList( mailimf_address_list *list ); |
45 | QString parseDateTime( mailimf_date_time *date ); | 47 | QString parseDateTime( mailimf_date_time *date ); |
46 | 48 | ||
47 | static void traverseBody(RecBody&target,mailmessage*message,mailmime*mime,unsigned int current_rek=0); | 49 | void cleanUpCache(); |
50 | |||
51 | void traverseBody(RecBody&target,mailmessage*message,mailmime*mime,unsigned int current_rek=0); | ||
48 | static void fillSingleBody(RecPart&target,mailmessage*message,mailmime*mime); | 52 | static void fillSingleBody(RecPart&target,mailmessage*message,mailmime*mime); |
49 | static void fillParameters(RecPart&target,clist*parameters); | 53 | static void fillParameters(RecPart&target,clist*parameters); |
50 | static QString POP3wrapper::getencoding(mailmime_mechanism*aEnc); | 54 | static QString POP3wrapper::getencoding(mailmime_mechanism*aEnc); |
51 | 55 | ||
52 | POP3account *account; | 56 | POP3account *account; |
53 | mailpop3 *m_pop3; | 57 | mailpop3 *m_pop3; |
54 | QString msgTempName; | 58 | QString msgTempName; |
55 | unsigned int last_msg_id; | 59 | unsigned int last_msg_id; |
60 | QMap<QString,encodedString*> bodyCache; | ||
56 | }; | 61 | }; |
57 | 62 | ||
58 | #endif | 63 | #endif |