aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-03-17 18:15:22 +0000
committerVincent Richard <[email protected]>2005-03-17 18:15:22 +0000
commitf1e8e707776eec72e4395025a3e72f132d7c1700 (patch)
tree7c5b54d6baedb9ea1a44e96cc2338dc0ed04f5ac
parentAdded 'VMime Viewer' example. (diff)
downloadvmime-f1e8e707776eec72e4395025a3e72f132d7c1700.tar.gz
vmime-f1e8e707776eec72e4395025a3e72f132d7c1700.zip
Renamed MIME_VERSION to SUPPORTED_MIME_VERSION.
Diffstat (limited to '')
-rw-r--r--ChangeLog2
-rw-r--r--src/base.cpp2
-rw-r--r--src/messageBuilder.cpp2
-rw-r--r--vmime/base.hpp2
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 <[email protected]>
+ * 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 { }