diff options
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 |