Diffstat (limited to 'noncore/net/mail/libmailwrapper/imapwrapper.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.h b/noncore/net/mail/libmailwrapper/imapwrapper.h index 90f3004..f809edb 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.h +++ b/noncore/net/mail/libmailwrapper/imapwrapper.h | |||
@@ -7,9 +7,13 @@ | |||
7 | struct mailimap; | 7 | struct mailimap; |
8 | struct mailimap_body_type_1part; | 8 | struct mailimap_body_type_1part; |
9 | struct mailimap_body_type_text; | 9 | struct mailimap_body_type_text; |
10 | struct mailimap_body_type_basic; | ||
11 | struct mailimap_body_type_mpart; | ||
12 | struct mailimap_body_fields; | ||
10 | struct mailimap_msg_att; | 13 | struct mailimap_msg_att; |
11 | class RecMail; | 14 | class RecMail; |
12 | class RecBody; | 15 | class RecBody; |
16 | class RecPart; | ||
13 | 17 | ||
14 | class IMAPwrapper : public QObject | 18 | class IMAPwrapper : public QObject |
15 | { | 19 | { |
@@ -27,8 +31,17 @@ protected: | |||
27 | RecMail*parse_list_result(mailimap_msg_att*); | 31 | RecMail*parse_list_result(mailimap_msg_att*); |
28 | void login(); | 32 | void login(); |
29 | void logout(); | 33 | void logout(); |
34 | |||
30 | void searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription,RecBody&target_body); | 35 | void searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription,RecBody&target_body); |
31 | void fillPlainBody(const RecMail&mail,RecBody&target_body, mailimap_body_type_text * text_body); | 36 | void searchBodyText(const RecMail&mail,mailimap_body_type_mpart*mailDescription,RecBody&target_body,int current_recursion); |
37 | |||
38 | void fillPlainBody(const RecMail&mail,RecBody&target_body); | ||
39 | void fillSinglePart(RecPart&target_part,mailimap_body_type_1part*Description); | ||
40 | void fillSingleTextPart(RecPart&target_part,mailimap_body_type_text*which); | ||
41 | void fillSingleBasicPart(RecPart&target_part,mailimap_body_type_basic*which); | ||
42 | |||
43 | /* just helpers */ | ||
44 | static void fillBodyFields(RecPart&target_part,mailimap_body_fields*which); | ||
32 | static QStringList address_list_to_stringlist(clist*list); | 45 | static QStringList address_list_to_stringlist(clist*list); |
33 | 46 | ||
34 | private: | 47 | private: |