author | alwin <alwin> | 2003-12-08 22:20:44 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-08 22:20:44 (UTC) |
commit | 115bb2c722dc03c0491e2f1c49495a1ceb760000 (patch) (unidiff) | |
tree | 0c8dd795db536da485f85338bdbf9d888fbd37f2 /noncore/net/mail/libmailwrapper/imapwrapper.h | |
parent | 760fc48703328d8254c60acd19dc9ab367f2a134 (diff) | |
download | opie-115bb2c722dc03c0491e2f1c49495a1ceb760000.zip opie-115bb2c722dc03c0491e2f1c49495a1ceb760000.tar.gz opie-115bb2c722dc03c0491e2f1c49495a1ceb760000.tar.bz2 |
imap wrapper has now an own include file
Diffstat (limited to 'noncore/net/mail/libmailwrapper/imapwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.h b/noncore/net/mail/libmailwrapper/imapwrapper.h new file mode 100644 index 0000000..65c36e0 --- a/dev/null +++ b/noncore/net/mail/libmailwrapper/imapwrapper.h | |||
@@ -0,0 +1,25 @@ | |||
1 | #ifndef __IMAPWRAPPER | ||
2 | #define __IMAPWRAPPER | ||
3 | |||
4 | #include "mailwrapper.h" | ||
5 | #include <libetpan/mailimap.h> | ||
6 | |||
7 | class IMAPwrapper : public QObject | ||
8 | { | ||
9 | Q_OBJECT | ||
10 | |||
11 | public: | ||
12 | IMAPwrapper( IMAPaccount *a ); | ||
13 | QList<IMAPFolder>* listFolders(); | ||
14 | void listMessages(const QString & mailbox,Maillist&target ); | ||
15 | QString fetchBody(const QString & mailbox,const RecMail&mail); | ||
16 | |||
17 | protected: | ||
18 | RecMail*parse_list_result(mailimap_msg_att*); | ||
19 | |||
20 | private: | ||
21 | IMAPaccount *account; | ||
22 | |||
23 | }; | ||
24 | |||
25 | #endif | ||