From 1b19b400225ddf11847eea1c2cc3c0045e2138a6 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 3 Feb 2010 10:45:17 +0000 Subject: Removed wide-char support. --- src/base.cpp | 6 ------ src/text.cpp | 15 --------------- src/word.cpp | 14 -------------- 3 files changed, 35 deletions(-) (limited to 'src') 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 >::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 (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; -- cgit v1.2.3