summaryrefslogtreecommitdiff
path: root/noncore/net/mail/pop3wrapper.h
Side-by-side diff
Diffstat (limited to 'noncore/net/mail/pop3wrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/pop3wrapper.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/net/mail/pop3wrapper.h b/noncore/net/mail/pop3wrapper.h
index 2efffdd..b3a42be 100644
--- a/noncore/net/mail/pop3wrapper.h
+++ b/noncore/net/mail/pop3wrapper.h
@@ -1,34 +1,37 @@
#ifndef __POP3WRAPPER
#define __POP3WRAPPER
#include "mailwrapper.h"
#include "genericwrapper.h"
#include <qstring.h>
+struct mailstorage;
+struct mailfolder;
class POP3wrapper : public Genericwrapper
{
Q_OBJECT
public:
POP3wrapper( POP3account *a );
virtual ~POP3wrapper();
/* mailbox will be ignored */
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 int deleteAllMail(const Folder*);
virtual RecBody fetchBody( const RecMail &mail );
static void pop3_progress( size_t current, size_t maximum );
protected:
void login();
void logout();
POP3account *account;
- mailpop3 *m_pop3;
+ mailstorage*m_pop3;
+ mailfolder*m_folder;
};
#endif