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