Diffstat (limited to 'noncore/net/mail/abstractmail.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/abstractmail.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/mail/abstractmail.h b/noncore/net/mail/abstractmail.h index 8dd2e12..509b68e 100644 --- a/noncore/net/mail/abstractmail.h +++ b/noncore/net/mail/abstractmail.h | |||
@@ -24,15 +24,18 @@ public: | |||
24 | virtual QString fetchTextPart(const RecMail&mail,const RecPart&part)=0; | 24 | virtual QString fetchTextPart(const RecMail&mail,const RecPart&part)=0; |
25 | virtual encodedString* fetchDecodedPart(const RecMail&mail,const RecPart&part)=0; | 25 | virtual encodedString* fetchDecodedPart(const RecMail&mail,const RecPart&part)=0; |
26 | virtual encodedString* fetchRawPart(const RecMail&mail,const RecPart&part)=0; | 26 | virtual encodedString* fetchRawPart(const RecMail&mail,const RecPart&part)=0; |
27 | 27 | ||
28 | virtual void deleteMail(const RecMail&mail)=0; | 28 | virtual void deleteMail(const RecMail&mail)=0; |
29 | virtual void answeredMail(const RecMail&mail)=0; | 29 | virtual void answeredMail(const RecMail&mail)=0; |
30 | virtual void cleanMimeCache(){}; | ||
30 | 31 | ||
31 | static AbstractMail* getWrapper(IMAPaccount *a); | 32 | static AbstractMail* getWrapper(IMAPaccount *a); |
32 | static AbstractMail* getWrapper(POP3account *a); | 33 | static AbstractMail* getWrapper(POP3account *a); |
34 | /* mbox only! */ | ||
35 | static AbstractMail* getWrapper(const QString&a); | ||
33 | 36 | ||
34 | protected: | 37 | protected: |
35 | static encodedString*decode_String(const encodedString*text,const QString&enc); | 38 | static encodedString*decode_String(const encodedString*text,const QString&enc); |
36 | static QString convert_String(const char*text); | 39 | static QString convert_String(const char*text); |
37 | static QString gen_attachment_id(); | 40 | static QString gen_attachment_id(); |
38 | }; | 41 | }; |