From 4ae97ddb0957c626a01682e24c68710e608bcc43 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 28 Jan 2005 17:50:53 +0000 Subject: Splitted 'contentHandler' into three classes: 'emptyContentHandler', 'stringContentHandler' and 'streamContentHandler'. --- examples/example3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/example3.cpp') diff --git a/examples/example3.cpp b/examples/example3.cpp index 29211865..9638356b 100644 --- a/examples/example3.cpp +++ b/examples/example3.cpp @@ -73,8 +73,8 @@ int main() vmime::mediaType(vmime::mediaTypes::IMAGE, vmime::mediaTypes::IMAGE_JPEG)); // -- message text - textPart.setText(vmime::contentHandler(vmime::string("This is the HTML text.
"))); - textPart.setPlainText(vmime::contentHandler(vmime::string("This is the plain text (without HTML formatting)."))); + textPart.setText(vmime::stringContentHandler(vmime::string("This is the HTML text.
"))); + textPart.setPlainText(vmime::stringContentHandler("This is the plain text (without HTML formatting).")); // Construction vmime::message* msg = mb.construct(); -- cgit v1.2.3