author | alwin <alwin> | 2003-12-19 02:35:50 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-19 02:35:50 (UTC) |
commit | ffc12a369b26b1c652213a48eb635ce24eab5458 (patch) (unidiff) | |
tree | a9751d94a6f6a128edd6270977ac872a97bebe2f /noncore/net/mail/pop3wrapper.h | |
parent | 5b88f5d05b2f3f5d106b58b07bc7018f757cfc03 (diff) | |
download | opie-ffc12a369b26b1c652213a48eb635ce24eab5458.zip opie-ffc12a369b26b1c652213a48eb635ce24eab5458.tar.gz opie-ffc12a369b26b1c652213a48eb635ce24eab5458.tar.bz2 |
fetching body-structure/content mostly finished
hard-limit: no mail larger than 5MB will fetched
TODO: messages has to be cached in memory. otherwise on every
part fetch we must fetch the whole message again.
Idea: setup a content cache for imap, too.
Diffstat (limited to 'noncore/net/mail/pop3wrapper.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/pop3wrapper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/net/mail/pop3wrapper.h b/noncore/net/mail/pop3wrapper.h index a05021c..4171a76 100644 --- a/noncore/net/mail/pop3wrapper.h +++ b/noncore/net/mail/pop3wrapper.h | |||
@@ -8,6 +8,9 @@ class RecMail; | |||
8 | class RecBody; | 8 | class RecBody; |
9 | class encodedString; | 9 | class encodedString; |
10 | struct mailpop3; | 10 | struct mailpop3; |
11 | struct mailmessage; | ||
12 | struct mailmime; | ||
13 | struct mailmime_mechanism; | ||
11 | 14 | ||
12 | class POP3wrapper : public AbstractMail | 15 | class POP3wrapper : public AbstractMail |
13 | { | 16 | { |
@@ -40,6 +43,11 @@ protected: | |||
40 | QString parseGroup( mailimf_group *group ); | 43 | QString parseGroup( mailimf_group *group ); |
41 | QString parseAddressList( mailimf_address_list *list ); | 44 | QString parseAddressList( mailimf_address_list *list ); |
42 | QString parseDateTime( mailimf_date_time *date ); | 45 | QString parseDateTime( mailimf_date_time *date ); |
46 | |||
47 | static void traverseBody(RecBody&target,mailmessage*message,mailmime*mime,unsigned int current_rek=0); | ||
48 | static void fillSingleBody(RecPart&target,mailmessage*message,mailmime*mime); | ||
49 | static QString POP3wrapper::getencoding(mailmime_mechanism*aEnc); | ||
50 | |||
43 | POP3account *account; | 51 | POP3account *account; |
44 | mailpop3 *m_pop3; | 52 | mailpop3 *m_pop3; |
45 | QString msgTempName; | 53 | QString msgTempName; |