diff options
author | 2013-09-01 10:40:58 +0200 | |
---|---|---|
committer | 2013-09-01 10:43:23 +0200 | |
commit | c09fb46f01dae88d91384306f66cf11df2871fbb (patch) | |
tree | 569acf8925b852cf98231143063d65288dc6ce96 /src/core/abstract/MCAbstractPart.h | |
parent | 4d26945576b34192b10148df7f1d5879d0448f18 (diff) |
add Content-Description to attachment
- using contentDescription->encodedMIMEHeaderValue()->bytes() for mailmime_fields_new_with_data()
Diffstat (limited to 'src/core/abstract/MCAbstractPart.h')
-rw-r--r-- | src/core/abstract/MCAbstractPart.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/abstract/MCAbstractPart.h b/src/core/abstract/MCAbstractPart.h index e4f68666..b182850f 100644 --- a/src/core/abstract/MCAbstractPart.h +++ b/src/core/abstract/MCAbstractPart.h @@ -36,7 +36,10 @@ namespace mailcore { virtual String * contentLocation(); virtual void setContentLocation(String * contentLocation); - + + virtual String * contentDescription(); + virtual void setContentDescription(String * contentDescription); + virtual bool isInlineAttachment(); virtual void setInlineAttachment(bool inlineAttachment); @@ -64,6 +67,7 @@ namespace mailcore { String * mCharset; String * mContentID; String * mContentLocation; + String * mContentDescription; bool mInlineAttachment; PartType mPartType; void init(); |