Diffstat (limited to 'noncore/net/mail/mboxwrapper.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/mboxwrapper.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/noncore/net/mail/mboxwrapper.h b/noncore/net/mail/mboxwrapper.h new file mode 100644 index 0000000..779dbc8 --- a/dev/null +++ b/noncore/net/mail/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 | |||
7 | class RecMail; | ||
8 | class RecBody; | ||
9 | |||
10 | class MBOXwrapper : public Genericwrapper | ||
11 | { | ||
12 | Q_OBJECT | ||
13 | public: | ||
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 | |||
26 | protected: | ||
27 | QString MBOXPath; | ||
28 | }; | ||
29 | |||
30 | #endif | ||