Diffstat (limited to 'noncore/net/mail/imapwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/imapwrapper.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/noncore/net/mail/imapwrapper.h b/noncore/net/mail/imapwrapper.h index 90f3004..f809edb 100644 --- a/noncore/net/mail/imapwrapper.h +++ b/noncore/net/mail/imapwrapper.h @@ -9,2 +9,5 @@ struct mailimap_body_type_1part; struct mailimap_body_type_text; +struct mailimap_body_type_basic; +struct mailimap_body_type_mpart; +struct mailimap_body_fields; struct mailimap_msg_att; @@ -12,2 +15,3 @@ class RecMail; class RecBody; +class RecPart; @@ -29,4 +33,13 @@ protected: void logout(); + void searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription,RecBody&target_body); - void fillPlainBody(const RecMail&mail,RecBody&target_body, mailimap_body_type_text * text_body); + void searchBodyText(const RecMail&mail,mailimap_body_type_mpart*mailDescription,RecBody&target_body,int current_recursion); + + void fillPlainBody(const RecMail&mail,RecBody&target_body); + 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); + + /* just helpers */ + static void fillBodyFields(RecPart&target_part,mailimap_body_fields*which); static QStringList address_list_to_stringlist(clist*list); |