Diffstat (limited to 'noncore/net/mail/libmailwrapper/imapwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.h b/noncore/net/mail/libmailwrapper/imapwrapper.h index e5846f8..7941046 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.h +++ b/noncore/net/mail/libmailwrapper/imapwrapper.h | |||
@@ -31,36 +31,37 @@ public: | |||
31 | virtual int deleteAllMail(const Folder*folder); | 31 | virtual int deleteAllMail(const Folder*folder); |
32 | 32 | ||
33 | virtual RecBody fetchBody(const RecMail&mail); | 33 | virtual RecBody fetchBody(const RecMail&mail); |
34 | virtual QString fetchTextPart(const RecMail&mail,const RecPart&part); | 34 | virtual QString fetchTextPart(const RecMail&mail,const RecPart&part); |
35 | virtual encodedString* fetchDecodedPart(const RecMail&mail,const RecPart&part); | 35 | virtual encodedString* fetchDecodedPart(const RecMail&mail,const RecPart&part); |
36 | virtual encodedString* fetchRawPart(const RecMail&mail,const RecPart&part); | 36 | virtual encodedString* fetchRawPart(const RecMail&mail,const RecPart&part); |
37 | 37 | ||
38 | virtual int createMbox(const QString&,const Folder*parentfolder=0,const QString& delemiter="/",bool getsubfolder=false); | 38 | virtual int createMbox(const QString&,const Folder*parentfolder=0,const QString& delemiter="/",bool getsubfolder=false); |
39 | virtual int deleteMbox(const Folder*folder); | 39 | virtual int deleteMbox(const Folder*folder); |
40 | 40 | ||
41 | static void imap_progress( size_t current, size_t maximum ); | 41 | static void imap_progress( size_t current, size_t maximum ); |
42 | 42 | ||
43 | protected: | 43 | protected: |
44 | RecMail*parse_list_result(mailimap_msg_att*); | 44 | RecMail*parse_list_result(mailimap_msg_att*); |
45 | void login(); | 45 | void login(); |
46 | void logout(); | 46 | void logout(); |
47 | 47 | ||
48 | virtual QString fetchTextPart(const RecMail&mail,const QValueList<int>&path,bool internal_call=false,const QString&enc=""); | 48 | virtual QString fetchTextPart(const RecMail&mail,const QValueList<int>&path,bool internal_call=false,const QString&enc=""); |
49 | virtual encodedString*fetchRawPart(const RecMail&mail,const QValueList<int>&path,bool internal_call); | 49 | virtual encodedString*fetchRawPart(const RecMail&mail,const QValueList<int>&path,bool internal_call); |
50 | 50 | ||
51 | void fillSinglePart(RecPart&target_part,mailimap_body_type_1part*Description); | 51 | void fillSinglePart(RecPart&target_part,mailimap_body_type_1part*Description); |
52 | void fillSingleTextPart(RecPart&target_part,mailimap_body_type_text*which); | 52 | void fillSingleTextPart(RecPart&target_part,mailimap_body_type_text*which); |
53 | void fillSingleBasicPart(RecPart&target_part,mailimap_body_type_basic*which); | 53 | void fillSingleBasicPart(RecPart&target_part,mailimap_body_type_basic*which); |
54 | void fillSingleMsgPart(RecPart&target_part,mailimap_body_type_msg*which); | 54 | void fillSingleMsgPart(RecPart&target_part,mailimap_body_type_msg*which); |
55 | void traverseBody(const RecMail&mail,mailimap_body*body,RecBody&target_body,int current_recursion,QValueList<int>recList,int current_count=0); | 55 | void fillMultiPart(RecPart&target_part,mailimap_body_type_mpart*which); |
56 | void traverseBody(const RecMail&mail,mailimap_body*body,RecBody&target_body,int current_recursion,QValueList<int>recList,int current_count=1); | ||
56 | 57 | ||
57 | /* just helpers */ | 58 | /* just helpers */ |
58 | static void fillBodyFields(RecPart&target_part,mailimap_body_fields*which); | 59 | static void fillBodyFields(RecPart&target_part,mailimap_body_fields*which); |
59 | static QStringList address_list_to_stringlist(clist*list); | 60 | static QStringList address_list_to_stringlist(clist*list); |
60 | 61 | ||
61 | 62 | ||
62 | IMAPaccount *account; | 63 | IMAPaccount *account; |
63 | mailimap *m_imap; | 64 | mailimap *m_imap; |
64 | }; | 65 | }; |
65 | 66 | ||
66 | #endif | 67 | #endif |