author | alwin <alwin> | 2003-12-21 22:38:57 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-21 22:38:57 (UTC) |
commit | f3c48c3c30449e7d2a79340223736c80c0c1f3cb (patch) (side-by-side diff) | |
tree | bbd3bbfc9f289d4d6ad46a94e51a058417125cd5 /noncore/net/mail/libmailwrapper/mboxwrapper.h | |
parent | 6e7358f954618d8fdbbe852df7df862c3c132bbd (diff) | |
download | opie-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) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/mboxwrapper.h | 30 |
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 @@ +#ifndef __MBOX_WRAPPER_H +#define __MBOX_WRAPPER_H + +#include "genericwrapper.h" +#include <qstring.h> + +class RecMail; +class RecBody; + +class MBOXwrapper : public Genericwrapper +{ + Q_OBJECT +public: + MBOXwrapper(const QString & dir); + virtual ~MBOXwrapper(); + + virtual void listMessages(const QString & mailbox, QList<RecMail> &target ); + virtual QList<Folder>* listFolders(); + + virtual void deleteMail(const RecMail&mail); + virtual void answeredMail(const RecMail&mail); + + virtual RecBody fetchBody( const RecMail &mail ); + static void mbox_progress( size_t current, size_t maximum ); + +protected: + QString MBOXPath; +}; + +#endif |