aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2010-02-03 10:45:17 +0000
committerVincent Richard <[email protected]>2010-02-03 10:45:17 +0000
commit1b19b400225ddf11847eea1c2cc3c0045e2138a6 (patch)
tree512f329234b55fed3a38150a9327c80beaab99b4 /src
parentFixed memory leak. (diff)
downloadvmime-1b19b400225ddf11847eea1c2cc3c0045e2138a6.tar.gz
vmime-1b19b400225ddf11847eea1c2cc3c0045e2138a6.zip
Removed wide-char support.
Diffstat (limited to 'src')
-rw-r--r--src/base.cpp6
-rw-r--r--src/text.cpp15
-rw-r--r--src/word.cpp14
3 files changed, 0 insertions, 35 deletions
diff --git a/src/base.cpp b/src/base.cpp
index 2e47ca3c..b895985f 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -55,12 +55,6 @@ namespace vmime
*/
const string NULL_STRING;
-#if VMIME_WIDE_CHAR_SUPPORT
- /** "Null" (empty) wide-char string.
- */
- const wstring NULL_WSTRING;
-#endif
-
/** "Null" (empty) text.
*/
const text NULL_TEXT;
diff --git a/src/text.cpp b/src/text.cpp
index f9ded7ca..89a541a0 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -91,21 +91,6 @@ void text::generate(utility::outputStream& os, const string::size_type maxLineLe
}
-#if VMIME_WIDE_CHAR_SUPPORT
-
-const wstring text::getDecodedText() const
-{
- wstring out;
-
- for (std::vector <ref <word> >::const_iterator i = m_words.begin() ; i != m_words.end() ; ++i)
- out += (*i)->getDecodedText();
-
- return (out);
-}
-
-#endif
-
-
void text::copyFrom(const component& other)
{
const text& t = dynamic_cast <const text&>(other);
diff --git a/src/word.cpp b/src/word.cpp
index ea8244a5..4f911089 100644
--- a/src/word.cpp
+++ b/src/word.cpp
@@ -621,20 +621,6 @@ void word::generate(utility::outputStream& os, const string::size_type maxLineLe
}
-#if VMIME_WIDE_CHAR_SUPPORT
-
-const wstring word::getDecodedText() const
-{
- wstring out;
-
- charset::decode(m_buffer, out, m_charset);
-
- return (out);
-}
-
-#endif
-
-
word& word::operator=(const word& w)
{
m_buffer = w.m_buffer;