author | alwin <alwin> | 2003-12-13 22:35:35 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-13 22:35:35 (UTC) |
commit | b0a71314013a3367767526b68928a7168b4ad460 (patch) (side-by-side diff) | |
tree | 9f223458a7f029fad43f7db126b527ad49d60ce4 /noncore/net/mail/libmailwrapper/imapwrapper.h | |
parent | f1fa9ca873169e803fcc28cecd756a3edaa30ec4 (diff) | |
download | opie-b0a71314013a3367767526b68928a7168b4ad460.zip opie-b0a71314013a3367767526b68928a7168b4ad460.tar.gz opie-b0a71314013a3367767526b68928a7168b4ad460.tar.bz2 |
deleting a mail in a imap server implemented
Diffstat (limited to 'noncore/net/mail/libmailwrapper/imapwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.h b/noncore/net/mail/libmailwrapper/imapwrapper.h index f88457a..4f4d575 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.h +++ b/noncore/net/mail/libmailwrapper/imapwrapper.h @@ -23,14 +23,17 @@ public: virtual QList<Folder>* listFolders(); virtual void listMessages(const QString & mailbox,QList<RecMail>&target ); virtual RecBody fetchBody(const RecMail&mail); - virtual QString fetchPart(const RecMail&mail,const QValueList<int>&path,bool internal_call=false); virtual QString fetchPart(const RecMail&mail,const RecPart&part); + virtual void deleteMail(const RecMail&mail); + static void imap_progress( size_t current, size_t maximum ); protected: RecMail*parse_list_result(mailimap_msg_att*); void login(); void logout(); + + virtual QString fetchPart(const RecMail&mail,const QValueList<int>&path,bool internal_call=false); void searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription,RecBody&target_body); void searchBodyText(const RecMail&mail,mailimap_body_type_mpart*mailDescription,RecBody&target_body,int current_recursion=0,QValueList<int>recList=QValueList<int>()); |