summaryrefslogtreecommitdiff
path: root/noncore/net/mail/libmailwrapper/mboxwrapper.h
authoralwin <alwin>2003-12-21 22:38:57 (UTC)
committer alwin <alwin>2003-12-21 22:38:57 (UTC)
commitf3c48c3c30449e7d2a79340223736c80c0c1f3cb (patch) (unidiff)
treebbd3bbfc9f289d4d6ad46a94e51a058417125cd5 /noncore/net/mail/libmailwrapper/mboxwrapper.h
parent6e7358f954618d8fdbbe852df7df862c3c132bbd (diff)
downloadopie-f3c48c3c30449e7d2a79340223736c80c0c1f3cb.zip
opie-f3c48c3c30449e7d2a79340223736c80c0c1f3cb.tar.gz
opie-f3c48c3c30449e7d2a79340223736c80c0c1f3cb.tar.bz2
ups - forgot to add the mboxwrapper
Diffstat (limited to 'noncore/net/mail/libmailwrapper/mboxwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/mboxwrapper.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/mboxwrapper.h b/noncore/net/mail/libmailwrapper/mboxwrapper.h
new file mode 100644
index 0000000..779dbc8
--- a/dev/null
+++ b/noncore/net/mail/libmailwrapper/mboxwrapper.h
@@ -0,0 +1,30 @@
1#ifndef __MBOX_WRAPPER_H
2#define __MBOX_WRAPPER_H
3
4#include "genericwrapper.h"
5#include <qstring.h>
6
7class RecMail;
8class RecBody;
9
10class MBOXwrapper : public Genericwrapper
11{
12 Q_OBJECT
13public:
14 MBOXwrapper(const QString & dir);
15 virtual ~MBOXwrapper();
16
17 virtual void listMessages(const QString & mailbox, QList<RecMail> &target );
18 virtual QList<Folder>* listFolders();
19
20 virtual void deleteMail(const RecMail&mail);
21 virtual void answeredMail(const RecMail&mail);
22
23 virtual RecBody fetchBody( const RecMail &mail );
24 static void mbox_progress( size_t current, size_t maximum );
25
26protected:
27 QString MBOXPath;
28};
29
30#endif