diff options
author | Vincent Richard <[email protected]> | 2005-05-27 19:43:20 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-05-27 19:43:20 +0000 |
commit | 9479afa20688778dbd4d04834dcca4ee18793cd6 (patch) | |
tree | c62fae8b8e20304d958cfea798bb3cefa19f3eb2 /src/messaging/pop3/POP3Message.cpp | |
parent | Free memory for args. (diff) | |
download | vmime-9479afa20688778dbd4d04834dcca4ee18793cd6.tar.gz vmime-9479afa20688778dbd4d04834dcca4ee18793cd6.zip |
Added 'peek' parameter to extract() and extractPart().
Diffstat (limited to '')
-rw-r--r-- | src/messaging/pop3/POP3Message.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/messaging/pop3/POP3Message.cpp b/src/messaging/pop3/POP3Message.cpp index 46d57ba9..e4833583 100644 --- a/src/messaging/pop3/POP3Message.cpp +++ b/src/messaging/pop3/POP3Message.cpp @@ -111,7 +111,8 @@ const header& POP3Message::getHeader() const void POP3Message::extract(utility::outputStream& os, - utility::progressionListener* progress, const int start, const int length) const + utility::progressionListener* progress, const int start, + const int length, const bool /* peek */) const { if (!m_folder) throw exceptions::illegal_state("Folder closed"); @@ -148,7 +149,8 @@ void POP3Message::extract(utility::outputStream& os, void POP3Message::extractPart (const part& /* p */, utility::outputStream& /* os */, utility::progressionListener* /* progress */, - const int /* start */, const int /* length */) const + const int /* start */, const int /* length */, + const bool /* peek */) const { throw exceptions::operation_not_supported(); } |