Diffstat (limited to 'noncore/net/mail/pop3wrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/pop3wrapper.h | 5 |
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 @@ | |||
1 | #ifndef __POP3WRAPPER | 1 | #ifndef __POP3WRAPPER |
2 | #define __POP3WRAPPER | 2 | #define __POP3WRAPPER |
3 | 3 | ||
4 | #include "mailwrapper.h" | 4 | #include "mailwrapper.h" |
5 | #include "genericwrapper.h" | 5 | #include "genericwrapper.h" |
6 | #include <qstring.h> | 6 | #include <qstring.h> |
7 | 7 | ||
8 | struct mailstorage; | ||
9 | struct mailfolder; | ||
8 | 10 | ||
9 | class POP3wrapper : public Genericwrapper | 11 | class POP3wrapper : public Genericwrapper |
10 | { | 12 | { |
11 | Q_OBJECT | 13 | Q_OBJECT |
12 | 14 | ||
13 | public: | 15 | public: |
14 | POP3wrapper( POP3account *a ); | 16 | POP3wrapper( POP3account *a ); |
15 | virtual ~POP3wrapper(); | 17 | virtual ~POP3wrapper(); |
16 | /* mailbox will be ignored */ | 18 | /* mailbox will be ignored */ |
17 | virtual void listMessages(const QString & mailbox, QList<RecMail> &target ); | 19 | virtual void listMessages(const QString & mailbox, QList<RecMail> &target ); |
18 | virtual QList<Folder>* listFolders(); | 20 | virtual QList<Folder>* listFolders(); |
19 | 21 | ||
20 | virtual void deleteMail(const RecMail&mail); | 22 | virtual void deleteMail(const RecMail&mail); |
21 | virtual void answeredMail(const RecMail&mail); | 23 | virtual void answeredMail(const RecMail&mail); |
22 | virtual int deleteAllMail(const Folder*); | 24 | virtual int deleteAllMail(const Folder*); |
23 | 25 | ||
24 | virtual RecBody fetchBody( const RecMail &mail ); | 26 | virtual RecBody fetchBody( const RecMail &mail ); |
25 | static void pop3_progress( size_t current, size_t maximum ); | 27 | static void pop3_progress( size_t current, size_t maximum ); |
26 | 28 | ||
27 | protected: | 29 | protected: |
28 | void login(); | 30 | void login(); |
29 | void logout(); | 31 | void logout(); |
30 | POP3account *account; | 32 | POP3account *account; |
31 | mailpop3 *m_pop3; | 33 | mailstorage*m_pop3; |
34 | mailfolder*m_folder; | ||
32 | }; | 35 | }; |
33 | 36 | ||
34 | #endif | 37 | #endif |