Store content-type for attachments
authorAndre Heinecke <aheinecke@gnupg.org>
Mon, 11 Feb 2019 14:44:15 +0000 (15:44 +0100)
committerAndre Heinecke <aheinecke@gnupg.org>
Mon, 11 Feb 2019 14:44:15 +0000 (15:44 +0100)
commita3e70c63fc2d8c2dface0cfbdb01533ea71a75f8
tree486f2a2ba4fdf8bc0b4376cb3730f5c1694bdee5
parent4eabc9dd780b9fdedcb79b495ccde86b2af2e824
Store content-type for attachments

* src/attachment.cpp (get_content_type, set_content_type): New.
* src/mimedataprovider.cpp (create_attachment): Set it.
* src/attachment.h: Update accordingly.
src/attachment.cpp
src/attachment.h
src/mimedataprovider.cpp