From f3c48c3c30449e7d2a79340223736c80c0c1f3cb Mon Sep 17 00:00:00 2001 From: alwin Date: Sun, 21 Dec 2003 22:38:57 +0000 Subject: ups - forgot to add the mboxwrapper --- (limited to 'noncore/net/mail/libmailwrapper/mboxwrapper.h') 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 + +class RecMail; +class RecBody; + +class MBOXwrapper : public Genericwrapper +{ + Q_OBJECT +public: + MBOXwrapper(const QString & dir); + virtual ~MBOXwrapper(); + + virtual void listMessages(const QString & mailbox, QList &target ); + virtual QList* 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 -- cgit v0.9.0.2