diff options
author | Vincent Richard <[email protected]> | 2013-02-24 15:28:13 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-02-24 15:28:13 +0000 |
commit | 0c5d4a10e6f616f5a63787b8fbda86ec9fc487a9 (patch) | |
tree | c04b535bffeeba3e95adae01b961740bdc3a938e /src/mailboxList.cpp | |
parent | Fixed filename case. (diff) | |
download | vmime-0c5d4a10e6f616f5a63787b8fbda86ec9fc487a9.tar.gz vmime-0c5d4a10e6f616f5a63787b8fbda86ec9fc487a9.zip |
Message generation/parsing context. Charset conversion options. Preliminary implementation of RFC-6532.
Diffstat (limited to 'src/mailboxList.cpp')
-rw-r--r-- | src/mailboxList.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mailboxList.cpp b/src/mailboxList.cpp index b3106fb8..03a225f8 100644 --- a/src/mailboxList.cpp +++ b/src/mailboxList.cpp @@ -196,17 +196,18 @@ const std::vector <ref <component> > mailboxList::getChildComponents() } -void mailboxList::parseImpl(const string& buffer, const string::size_type position, - const string::size_type end, string::size_type* newPosition) +void mailboxList::parseImpl + (const parsingContext& ctx, const string& buffer, const string::size_type position, + const string::size_type end, string::size_type* newPosition) { - m_list.parse(buffer, position, end, newPosition); + m_list.parse(ctx, buffer, position, end, newPosition); } -void mailboxList::generateImpl(utility::outputStream& os, const string::size_type maxLineLength, +void mailboxList::generateImpl(const generationContext& ctx, utility::outputStream& os, const string::size_type curLinePos, string::size_type* newLinePos) const { - m_list.generate(os, maxLineLength, curLinePos, newLinePos); + m_list.generate(ctx, os, curLinePos, newLinePos); } |