Diffstat (limited to 'noncore/net/mail/libmailwrapper/abstractmail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/abstractmail.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/noncore/net/mail/libmailwrapper/abstractmail.cpp b/noncore/net/mail/libmailwrapper/abstractmail.cpp index 592cd5e..741a8e1 100644 --- a/noncore/net/mail/libmailwrapper/abstractmail.cpp +++ b/noncore/net/mail/libmailwrapper/abstractmail.cpp @@ -3,2 +3,3 @@ #include "pop3wrapper.h" +#include "nntpwrapper.h" #include "mhwrapper.h" @@ -24,2 +25,7 @@ AbstractMail* AbstractMail::getWrapper(POP3account *a) +AbstractMail* AbstractMail::getWrapper(NNTPaccount *a) +{ + return new NNTPwrapper(a); +} + AbstractMail* AbstractMail::getWrapper(const QString&a,const QString&name) @@ -50,3 +56,3 @@ encodedString* AbstractMail::decode_String(const encodedString*text,const QStrin &result_text,&target_length); - + encodedString* result = new encodedString(); @@ -63,3 +69,3 @@ QString AbstractMail::convert_String(const char*text) char*res = 0; - + /* attention - doesn't work with arm systems! */ |