blob: 65c36e08cf08d8607be1a52bf06650ba670fbd8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef __IMAPWRAPPER
#define __IMAPWRAPPER
#include "mailwrapper.h"
#include <libetpan/mailimap.h>
class IMAPwrapper : public QObject
{
Q_OBJECT
public:
IMAPwrapper( IMAPaccount *a );
QList<IMAPFolder>* listFolders();
void listMessages(const QString & mailbox,Maillist&target );
QString fetchBody(const QString & mailbox,const RecMail&mail);
protected:
RecMail*parse_list_result(mailimap_msg_att*);
private:
IMAPaccount *account;
};
#endif
|