summaryrefslogtreecommitdiff
path: root/noncore/net/mail/imapwrapper.h
Side-by-side diff
Diffstat (limited to 'noncore/net/mail/imapwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/imapwrapper.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/noncore/net/mail/imapwrapper.h b/noncore/net/mail/imapwrapper.h
index 768a517..aeebda8 100644
--- a/noncore/net/mail/imapwrapper.h
+++ b/noncore/net/mail/imapwrapper.h
@@ -15,2 +15,3 @@ struct mailimap_body_fields;
struct mailimap_msg_att;
+class encodedString;
@@ -24,4 +25,3 @@ public:
virtual void listMessages(const QString & mailbox,QList<RecMail>&target );
- virtual RecBody fetchBody(const RecMail&mail);
- virtual QString fetchPart(const RecMail&mail,const RecPart&part);
+
virtual void deleteMail(const RecMail&mail);
@@ -29,2 +29,7 @@ public:
+ virtual RecBody fetchBody(const RecMail&mail);
+ virtual QString fetchTextPart(const RecMail&mail,const RecPart&part);
+ virtual encodedString* fetchDecodedPart(const RecMail&mail,const RecPart&part);
+ virtual encodedString* fetchRawPart(const RecMail&mail,const RecPart&part);
+
static void imap_progress( size_t current, size_t maximum );
@@ -36,3 +41,4 @@ protected:
- virtual QString fetchPart(const RecMail&mail,const QValueList<int>&path,bool internal_call=false,const QString&enc="");
+ virtual QString fetchTextPart(const RecMail&mail,const QValueList<int>&path,bool internal_call=false,const QString&enc="");
+ virtual encodedString*fetchRawPart(const RecMail&mail,const QValueList<int>&path,bool internal_call);