diff options
| author | Vincent Richard <[email protected]> | 2004-10-21 17:05:47 +0200 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2004-10-21 17:05:47 +0200 |
| commit | 2949fb51f13e1236d5c161f02e1c2c8541100e9f (patch) | |
| tree | 991edcf50483116ce83977a4d9e652de8c5328dc /src/constants.hpp | |
| parent | header class unit tests added (diff) | |
| download | vmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.tar.gz vmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.zip | |
Refactoring (see ChangeLog).
Diffstat (limited to 'src/constants.hpp')
| -rw-r--r-- | src/constants.hpp | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/src/constants.hpp b/src/constants.hpp index 1970e626..4e7d13c0 100644 --- a/src/constants.hpp +++ b/src/constants.hpp @@ -28,7 +28,7 @@ namespace vmime { - // Media types (predefined types) + /** Constants for media types. */ namespace mediaTypes { // Types @@ -67,7 +67,7 @@ namespace vmime } - // Encoding types + /** Constants for encoding types. */ namespace encodingTypes { extern const string::value_type* const SEVEN_BIT; @@ -79,7 +79,7 @@ namespace vmime } - // Disposition types (RFC-2183) + /** Constants for disposition types (RFC-2183). */ namespace dispositionTypes { extern const string::value_type* const INLINE; @@ -87,7 +87,7 @@ namespace vmime } - // Charsets + /** Constants for charsets. */ namespace charsets { extern const string::value_type* const ISO8859_1; @@ -150,6 +150,35 @@ namespace vmime extern const string::value_type* const WINDOWS_1257; extern const string::value_type* const WINDOWS_1258; } + + /** Constants for standard field names. */ + namespace fields + { + extern const string::value_type* const RECEIVED; + extern const string::value_type* const FROM; + extern const string::value_type* const SENDER; + extern const string::value_type* const REPLY_TO; + extern const string::value_type* const TO; + extern const string::value_type* const CC; + extern const string::value_type* const BCC; + extern const string::value_type* const DATE; + extern const string::value_type* const SUBJECT; + extern const string::value_type* const ORGANIZATION; + extern const string::value_type* const USER_AGENT; + extern const string::value_type* const DELIVERED_TO; + extern const string::value_type* const RETURN_PATH; + extern const string::value_type* const MIME_VERSION; + extern const string::value_type* const MESSAGE_ID; + extern const string::value_type* const CONTENT_TYPE; + extern const string::value_type* const CONTENT_TRANSFER_ENCODING; + extern const string::value_type* const CONTENT_DESCRIPTION; + extern const string::value_type* const CONTENT_DISPOSITION; + extern const string::value_type* const CONTENT_ID; + extern const string::value_type* const CONTENT_LOCATION; + + extern const string::value_type* const X_MAILER; + extern const string::value_type* const X_PRIORITY; + } } |
