aboutsummaryrefslogtreecommitdiffstats
path: root/src/streamContentHandler.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2008-10-12 13:59:09 +0000
committerVincent Richard <[email protected]>2008-10-12 13:59:09 +0000
commit13f69779c298173bd21b83dd6cc538814f2b9155 (patch)
tree72c95e72fca7d0c916eea4faf39e7e636bfce8b6 /src/streamContentHandler.cpp
parentFixed compilation warnings. (diff)
downloadvmime-13f69779c298173bd21b83dd6cc538814f2b9155.tar.gz
vmime-13f69779c298173bd21b83dd6cc538814f2b9155.zip
New namespace for encoders.
Diffstat (limited to 'src/streamContentHandler.cpp')
-rw-r--r--src/streamContentHandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/streamContentHandler.cpp b/src/streamContentHandler.cpp
index 386b0e17..b5f02bf0 100644
--- a/src/streamContentHandler.cpp
+++ b/src/streamContentHandler.cpp
@@ -94,8 +94,8 @@ void streamContentHandler::generate(utility::outputStream& os, const vmime::enco
// buffer, and then re-encode to output stream...
if (m_encoding != enc)
{
- ref <encoder> theDecoder = m_encoding.getEncoder();
- ref <encoder> theEncoder = enc.getEncoder();
+ ref <utility::encoder::encoder> theDecoder = m_encoding.getEncoder();
+ ref <utility::encoder::encoder> theEncoder = enc.getEncoder();
theEncoder->getProperties()["maxlinelength"] = maxLineLength;
@@ -122,7 +122,7 @@ void streamContentHandler::generate(utility::outputStream& os, const vmime::enco
// Need to encode data before
else
{
- ref <encoder> theEncoder = enc.getEncoder();
+ ref <utility::encoder::encoder> theEncoder = enc.getEncoder();
theEncoder->getProperties()["maxlinelength"] = maxLineLength;
m_stream->reset(); // may not work...
@@ -151,7 +151,7 @@ void streamContentHandler::extract(utility::outputStream& os,
// Need to decode data
else
{
- ref <encoder> theDecoder = m_encoding.getEncoder();
+ ref <utility::encoder::encoder> theDecoder = m_encoding.getEncoder();
m_stream->reset(); // may not work...