author | alwin <alwin> | 2003-12-09 23:41:24 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-09 23:41:24 (UTC) |
commit | c361d36374d9c333ffe4b853067858df5636e1a5 (patch) (unidiff) | |
tree | ed99a2a14aba66f2caad15a3467291c12313d048 /noncore/net/mail/imapwrapper.h | |
parent | cf0db32ce938c3254a8153ec3ac390c7282af5d0 (diff) | |
download | opie-c361d36374d9c333ffe4b853067858df5636e1a5.zip opie-c361d36374d9c333ffe4b853067858df5636e1a5.tar.gz opie-c361d36374d9c333ffe4b853067858df5636e1a5.tar.bz2 |
all header stuff will be parsed now
RecMail got the unique message id for reply reference
Diffstat (limited to 'noncore/net/mail/imapwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/imapwrapper.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/mail/imapwrapper.h b/noncore/net/mail/imapwrapper.h index 1423faf..6565896 100644 --- a/noncore/net/mail/imapwrapper.h +++ b/noncore/net/mail/imapwrapper.h | |||
@@ -3,12 +3,13 @@ | |||
3 | 3 | ||
4 | #include <qlist.h> | 4 | #include <qlist.h> |
5 | #include "mailwrapper.h" | 5 | #include "mailwrapper.h" |
6 | 6 | ||
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 | class RecMail; | 10 | class RecMail; |
10 | class RecBody; | 11 | class RecBody; |
11 | 12 | ||
12 | class IMAPwrapper : public QObject | 13 | class IMAPwrapper : public QObject |
13 | { | 14 | { |
14 | Q_OBJECT | 15 | Q_OBJECT |
@@ -22,14 +23,15 @@ public: | |||
22 | static void imap_progress( size_t current, size_t maximum ); | 23 | static void imap_progress( size_t current, size_t maximum ); |
23 | 24 | ||
24 | protected: | 25 | protected: |
25 | RecMail*parse_list_result(mailimap_msg_att*); | 26 | RecMail*parse_list_result(mailimap_msg_att*); |
26 | void login(); | 27 | void login(); |
27 | void logout(); | 28 | void logout(); |
28 | QString searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription); | 29 | void searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription,RecBody&target_body); |
29 | QString getPlainBody(const RecMail&mail); | 30 | void fillPlainBody(const RecMail&mail,RecBody&target_body, mailimap_body_type_text * text_body); |
31 | QStringList address_list_to_stringlist(clist*list); | ||
30 | 32 | ||
31 | private: | 33 | private: |
32 | IMAPaccount *account; | 34 | IMAPaccount *account; |
33 | mailimap *m_imap; | 35 | mailimap *m_imap; |
34 | }; | 36 | }; |
35 | 37 | ||