author | alwin <alwin> | 2003-12-12 09:12:48 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-12 09:12:48 (UTC) |
commit | 77299749e119436aab7af82e065357fca0cead96 (patch) (side-by-side diff) | |
tree | 0f51b6faa069d88e0cb0c297b761eef0e5c50f3d /noncore/net/mail/libmailwrapper/imapwrapper.h | |
parent | f6ff7965fe62f42fcb0fb1cdb93585e0c6ed80fe (diff) | |
download | opie-77299749e119436aab7af82e065357fca0cead96.zip opie-77299749e119436aab7af82e065357fca0cead96.tar.gz opie-77299749e119436aab7af82e065357fca0cead96.tar.bz2 |
retrieving a body structure of a multipart mail mostly finished
the first occurence of a part of type "text/xxx" will be interpreted
as body text.
ToDo: fetch the parameters for a mime-part like encoding and so on.
Diffstat (limited to 'noncore/net/mail/libmailwrapper/imapwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.h b/noncore/net/mail/libmailwrapper/imapwrapper.h index f809edb..5ea45f3 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.h +++ b/noncore/net/mail/libmailwrapper/imapwrapper.h @@ -27,2 +27,3 @@ public: RecBody fetchBody(const RecMail&mail); + QString fetchPart(const RecMail&mail,QValueList<int>&path,bool internal_call=false); static void imap_progress( size_t current, size_t maximum ); @@ -35,3 +36,3 @@ protected: 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); + void searchBodyText(const RecMail&mail,mailimap_body_type_mpart*mailDescription,RecBody&target_body,int current_recursion=0,QValueList<int>recList=QValueList<int>()); |