Renamed MIME_VERSION to SUPPORTED_MIME_VERSION.

This commit is contained in:
Vincent Richard 2005-03-17 18:15:22 +00:00
parent f0e90748b3
commit f1e8e70777
4 changed files with 5 additions and 3 deletions

View File

@ -4,6 +4,8 @@ VERSION 0.6.4cvs
2005-03-17 Vincent Richard <vincent@vincent-richard.net> 2005-03-17 Vincent Richard <vincent@vincent-richard.net>
* base.{cpp|hpp}: renamed 'MIME_VERSION' to 'SUPPORTED_MIME_VERSION'.
* Added "Viewer" example in /examples/viewer: demonstrate the parsing * Added "Viewer" example in /examples/viewer: demonstrate the parsing
capabilities of VMime and it can help when debugging... capabilities of VMime and it can help when debugging...

View File

@ -93,7 +93,7 @@ const string CRLF = "\r\n";
/** The current MIME version supported by VMime. /** The current MIME version supported by VMime.
*/ */
const string MIME_VERSION = "1.0"; const string SUPPORTED_MIME_VERSION = "1.0";
// Line length limits // Line length limits

View File

@ -69,7 +69,7 @@ message* messageBuilder::construct() const
msg->getHeader()->Date().setValue(datetime::now()); msg->getHeader()->Date().setValue(datetime::now());
// Add a "Mime-Version" header field // 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 // If there is one or more attachments (or other parts that are
// not "text/...") and if there is more than one parts for the // not "text/...") and if there is more than one parts for the

View File

@ -159,7 +159,7 @@ namespace vmime
// Mime version // Mime version
extern const string MIME_VERSION; extern const string SUPPORTED_MIME_VERSION;
/** Utility classes. */ /** Utility classes. */
namespace utility { } namespace utility { }