From 8bd5873a04bc8c506694d00be4111549d969fd2a Mon Sep 17 00:00:00 2001 From: alwin Date: Fri, 02 Jan 2004 01:12:52 +0000 Subject: - some more usefull failure message while login - cleaned up the code for parsing mails, use only one routine, message/rfc822 parts are parsed, too. --- (limited to 'noncore/net/mail/libmailwrapper/imapwrapper.h') diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.h b/noncore/net/mail/libmailwrapper/imapwrapper.h index 9b20288..e5846f8 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.h +++ b/noncore/net/mail/libmailwrapper/imapwrapper.h @@ -7,6 +7,7 @@ #include struct mailimap; +struct mailimap_body; struct mailimap_body_type_1part; struct mailimap_body_type_text; struct mailimap_body_type_basic; @@ -47,13 +48,11 @@ protected: virtual QString fetchTextPart(const RecMail&mail,const QValueList&path,bool internal_call=false,const QString&enc=""); virtual encodedString*fetchRawPart(const RecMail&mail,const QValueList&path,bool internal_call); - void searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription,RecBody&target_body); - void searchBodyText(const RecMail&mail,mailimap_body_type_mpart*mailDescription,RecBody&target_body,int current_recursion=0,QValueListrecList=QValueList()); - void fillSinglePart(RecPart&target_part,mailimap_body_type_1part*Description); void fillSingleTextPart(RecPart&target_part,mailimap_body_type_text*which); void fillSingleBasicPart(RecPart&target_part,mailimap_body_type_basic*which); void fillSingleMsgPart(RecPart&target_part,mailimap_body_type_msg*which); + void traverseBody(const RecMail&mail,mailimap_body*body,RecBody&target_body,int current_recursion,QValueListrecList,int current_count=0); /* just helpers */ static void fillBodyFields(RecPart&target_part,mailimap_body_fields*which); -- cgit v0.9.0.2