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/contentDisposition.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/contentDisposition.cpp')
| -rw-r--r-- | src/contentDisposition.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/contentDisposition.cpp b/src/contentDisposition.cpp index 401e9958..300d4ee3 100644 --- a/src/contentDisposition.cpp +++ b/src/contentDisposition.cpp @@ -47,8 +47,9 @@ contentDisposition::contentDisposition(const contentDisposition& type) } -void contentDisposition::parseImpl(const string& buffer, const string::size_type position, - const string::size_type end, string::size_type* newPosition) +void contentDisposition::parseImpl + (const parsingContext& /* ctx */, const string& buffer, const string::size_type position, + const string::size_type end, string::size_type* newPosition) { m_name = utility::stringUtils::trim(utility::stringUtils::toLower (string(buffer.begin() + position, buffer.begin() + end))); @@ -60,8 +61,9 @@ void contentDisposition::parseImpl(const string& buffer, const string::size_type } -void contentDisposition::generateImpl(utility::outputStream& os, const string::size_type /* maxLineLength */, - const string::size_type curLinePos, string::size_type* newLinePos) const +void contentDisposition::generateImpl + (const generationContext& /* ctx */, utility::outputStream& os, + const string::size_type curLinePos, string::size_type* newLinePos) const { os << m_name; |
