author | alwin <alwin> | 2003-12-12 09:12:48 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-12 09:12:48 (UTC) |
commit | 77299749e119436aab7af82e065357fca0cead96 (patch) (unidiff) | |
tree | 0f51b6faa069d88e0cb0c297b761eef0e5c50f3d /noncore/net/mail/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/imapwrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/imapwrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/mail/imapwrapper.h b/noncore/net/mail/imapwrapper.h index f809edb..5ea45f3 100644 --- a/noncore/net/mail/imapwrapper.h +++ b/noncore/net/mail/imapwrapper.h | |||
@@ -25,6 +25,7 @@ public: | |||
25 | QList<IMAPFolder>* listFolders(); | 25 | QList<IMAPFolder>* listFolders(); |
26 | void listMessages(const QString & mailbox,QList<RecMail>&target ); | 26 | void listMessages(const QString & mailbox,QList<RecMail>&target ); |
27 | RecBody fetchBody(const RecMail&mail); | 27 | RecBody fetchBody(const RecMail&mail); |
28 | QString fetchPart(const RecMail&mail,QValueList<int>&path,bool internal_call=false); | ||
28 | static void imap_progress( size_t current, size_t maximum ); | 29 | static void imap_progress( size_t current, size_t maximum ); |
29 | 30 | ||
30 | protected: | 31 | protected: |
@@ -33,7 +34,7 @@ protected: | |||
33 | void logout(); | 34 | void logout(); |
34 | 35 | ||
35 | void searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription,RecBody&target_body); | 36 | void searchBodyText(const RecMail&mail,mailimap_body_type_1part*mailDescription,RecBody&target_body); |
36 | void searchBodyText(const RecMail&mail,mailimap_body_type_mpart*mailDescription,RecBody&target_body,int current_recursion); | 37 | void searchBodyText(const RecMail&mail,mailimap_body_type_mpart*mailDescription,RecBody&target_body,int current_recursion=0,QValueList<int>recList=QValueList<int>()); |
37 | 38 | ||
38 | void fillPlainBody(const RecMail&mail,RecBody&target_body); | 39 | void fillPlainBody(const RecMail&mail,RecBody&target_body); |
39 | void fillSinglePart(RecPart&target_part,mailimap_body_type_1part*Description); | 40 | void fillSinglePart(RecPart&target_part,mailimap_body_type_1part*Description); |