Diffstat (limited to 'noncore/net/mail/abstractmail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/abstractmail.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/mail/abstractmail.cpp b/noncore/net/mail/abstractmail.cpp index 3cb8f7d..416795b 100644 --- a/noncore/net/mail/abstractmail.cpp +++ b/noncore/net/mail/abstractmail.cpp | |||
@@ -1,9 +1,10 @@ | |||
1 | #include "abstractmail.h" | 1 | #include "abstractmail.h" |
2 | #include "imapwrapper.h" | 2 | #include "imapwrapper.h" |
3 | #include "pop3wrapper.h" | 3 | #include "pop3wrapper.h" |
4 | #include "mboxwrapper.h" | ||
4 | #include "mailtypes.h" | 5 | #include "mailtypes.h" |
5 | 6 | ||
6 | #include <qstring.h> | 7 | #include <qstring.h> |
7 | #include <qfile.h> | 8 | #include <qfile.h> |
8 | #include <qtextstream.h> | 9 | #include <qtextstream.h> |
9 | #include <stdlib.h> | 10 | #include <stdlib.h> |
@@ -17,12 +18,17 @@ AbstractMail* AbstractMail::getWrapper(IMAPaccount *a) | |||
17 | 18 | ||
18 | AbstractMail* AbstractMail::getWrapper(POP3account *a) | 19 | AbstractMail* AbstractMail::getWrapper(POP3account *a) |
19 | { | 20 | { |
20 | return new POP3wrapper(a); | 21 | return new POP3wrapper(a); |
21 | } | 22 | } |
22 | 23 | ||
24 | AbstractMail* AbstractMail::getWrapper(const QString&a) | ||
25 | { | ||
26 | return new MBOXwrapper(a); | ||
27 | } | ||
28 | |||
23 | encodedString* AbstractMail::decode_String(const encodedString*text,const QString&enc) | 29 | encodedString* AbstractMail::decode_String(const encodedString*text,const QString&enc) |
24 | { | 30 | { |
25 | qDebug("Decode string start"); | 31 | qDebug("Decode string start"); |
26 | char*result_text; | 32 | char*result_text; |
27 | size_t index = 0; | 33 | size_t index = 0; |
28 | /* reset for recursive use! */ | 34 | /* reset for recursive use! */ |