From ffc12a369b26b1c652213a48eb635ce24eab5458 Mon Sep 17 00:00:00 2001 From: alwin Date: Fri, 19 Dec 2003 02:35:50 +0000 Subject: 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. --- (limited to 'noncore/net/mail/pop3wrapper.h') 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; class RecBody; class encodedString; struct mailpop3; +struct mailmessage; +struct mailmime; +struct mailmime_mechanism; class POP3wrapper : public AbstractMail { @@ -40,6 +43,11 @@ protected: QString parseGroup( mailimf_group *group ); QString parseAddressList( mailimf_address_list *list ); QString parseDateTime( mailimf_date_time *date ); + + static void traverseBody(RecBody&target,mailmessage*message,mailmime*mime,unsigned int current_rek=0); + static void fillSingleBody(RecPart&target,mailmessage*message,mailmime*mime); + static QString POP3wrapper::getencoding(mailmime_mechanism*aEnc); + POP3account *account; mailpop3 *m_pop3; QString msgTempName; -- cgit v0.9.0.2