Diffstat (limited to 'noncore/net/mail/mboxwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mboxwrapper.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/noncore/net/mail/mboxwrapper.h b/noncore/net/mail/mboxwrapper.h deleted file mode 100644 index f822997..0000000 --- a/noncore/net/mail/mboxwrapper.h +++ b/dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | #ifndef __MBOX_WRAPPER_H | ||
2 | #define __MBOX_WRAPPER_H | ||
3 | |||
4 | #include "genericwrapper.h" | ||
5 | #include <qstring.h> | ||
6 | |||
7 | class RecMail; | ||
8 | class RecBody; | ||
9 | struct mailmbox_folder; | ||
10 | |||
11 | class MBOXwrapper : public Genericwrapper | ||
12 | { | ||
13 | Q_OBJECT | ||
14 | public: | ||
15 | MBOXwrapper(const QString & dir); | ||
16 | virtual ~MBOXwrapper(); | ||
17 | |||
18 | virtual void listMessages(const QString & mailbox, QList<RecMail> &target ); | ||
19 | virtual QList<Folder>* listFolders(); | ||
20 | virtual void statusFolder(folderStat&target_stat,const QString & mailbox="INBOX"); | ||
21 | |||
22 | virtual void deleteMail(const RecMail&mail); | ||
23 | virtual void answeredMail(const RecMail&mail); | ||
24 | |||
25 | virtual int createMbox(const QString&folder,const Folder*f=0,const QString&d="",bool s=false); | ||
26 | virtual int deleteMbox(const Folder*); | ||
27 | |||
28 | virtual void storeMessage(const char*msg,size_t length, const QString&folder); | ||
29 | |||
30 | virtual RecBody fetchBody( const RecMail &mail ); | ||
31 | static void mbox_progress( size_t current, size_t maximum ); | ||
32 | |||
33 | virtual void fetchRawBody(const RecMail&mail,char**target,size_t*length); | ||
34 | virtual void deleteMails(const QString & mailbox,QList<RecMail> &target); | ||
35 | virtual int deleteAllMail(const Folder*); | ||
36 | |||
37 | protected: | ||
38 | static void deleteMails(mailmbox_folder*f,QList<RecMail> &target); | ||
39 | QString MBOXPath; | ||
40 | }; | ||
41 | |||
42 | #endif | ||