From f1e8e707776eec72e4395025a3e72f132d7c1700 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 17 Mar 2005 18:15:22 +0000 Subject: [PATCH] Renamed MIME_VERSION to SUPPORTED_MIME_VERSION. --- ChangeLog | 2 ++ src/base.cpp | 2 +- src/messageBuilder.cpp | 2 +- vmime/base.hpp | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index af865cc3..8fcdf1a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ VERSION 0.6.4cvs 2005-03-17 Vincent Richard + * base.{cpp|hpp}: renamed 'MIME_VERSION' to 'SUPPORTED_MIME_VERSION'. + * Added "Viewer" example in /examples/viewer: demonstrate the parsing capabilities of VMime and it can help when debugging... diff --git a/src/base.cpp b/src/base.cpp index d1e462e6..8e0845b0 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -93,7 +93,7 @@ const string CRLF = "\r\n"; /** The current MIME version supported by VMime. */ -const string MIME_VERSION = "1.0"; +const string SUPPORTED_MIME_VERSION = "1.0"; // Line length limits diff --git a/src/messageBuilder.cpp b/src/messageBuilder.cpp index d1776278..0b4f0b9e 100644 --- a/src/messageBuilder.cpp +++ b/src/messageBuilder.cpp @@ -69,7 +69,7 @@ message* messageBuilder::construct() const msg->getHeader()->Date().setValue(datetime::now()); // Add a "Mime-Version" header field - msg->getHeader()->MimeVersion().setValue(string(MIME_VERSION)); + msg->getHeader()->MimeVersion().setValue(string(SUPPORTED_MIME_VERSION)); // If there is one or more attachments (or other parts that are // not "text/...") and if there is more than one parts for the diff --git a/vmime/base.hpp b/vmime/base.hpp index 68fae050..0558bed4 100644 --- a/vmime/base.hpp +++ b/vmime/base.hpp @@ -159,7 +159,7 @@ namespace vmime // Mime version - extern const string MIME_VERSION; + extern const string SUPPORTED_MIME_VERSION; /** Utility classes. */ namespace utility { }