diff options
| author | Vincent Richard <[email protected]> | 2005-03-23 18:46:31 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2005-03-23 18:46:31 +0000 |
| commit | d0aeb41c4539373556a84f09d7665205d2b2070f (patch) | |
| tree | 57cc870808e9bf5284f505970e78f35881e5000f /src/contentTypeField.cpp | |
| parent | Added POP3 notifications. (diff) | |
| download | vmime-d0aeb41c4539373556a84f09d7665205d2b2070f.tar.gz vmime-d0aeb41c4539373556a84f09d7665205d2b2070f.zip | |
Support for content types and parameters defined in RFC-1892.
Diffstat (limited to 'src/contentTypeField.cpp')
| -rw-r--r-- | src/contentTypeField.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/contentTypeField.cpp b/src/contentTypeField.cpp index 0f2dc81f..61b4e5e4 100644 --- a/src/contentTypeField.cpp +++ b/src/contentTypeField.cpp @@ -62,4 +62,16 @@ void contentTypeField::setCharset(const charset& ch) } +const string contentTypeField::getReportType() const +{ + return (dynamic_cast <const defaultParameter&>(*findParameter("report-type")).getValue()); +} + + +void contentTypeField::setReportType(const string& reportType) +{ + dynamic_cast <defaultParameter&>(*getParameter("report-type")).setValue(reportType); +} + + } // vmime |
