Home GnuPG
Diffusion GpgOL f0b818676f11

Simplify Attachment code by using just Data
f0b818676f11Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Simplify Attachment code by using just Data

* src/attachment.cpp (Attachment::get_data): Direct access
to the underlying data structure.
* src/attachment.h, src/mimedataprovider.cpp: Update accordingly.

The plan was initially to use a MAPI Stream to hold the data
now with the testing on GNU/Linux it's better to use a platform
independent data structure and that simplifies the code.

Details

Provenance
aheineckeAuthored on Oct 7 2016, 2:04 PM
Parents
rO037b2aa3cba5: tests: Add test for a mail created by us
Branches
Unknown
Tags
Unknown