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 |