diff options
| author | Vincent Richard <[email protected]> | 2004-10-25 22:10:13 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2004-10-25 22:10:13 +0000 |
| commit | 6ad871b235ebf12a75d60c59b73b4c7085a575f1 (patch) | |
| tree | 6ddd173d6ac5c823907580d8011418a4cb42dd9b /src/messageBuilder.hpp | |
| parent | Added non-const versions of getRecipients(), getCopyRecipients() and getBindC... (diff) | |
| download | vmime-6ad871b235ebf12a75d60c59b73b4c7085a575f1.tar.gz vmime-6ad871b235ebf12a75d60c59b73b4c7085a575f1.zip | |
Added appendAttachment(), an alias for attach().
Diffstat (limited to 'src/messageBuilder.hpp')
| -rw-r--r-- | src/messageBuilder.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/messageBuilder.hpp b/src/messageBuilder.hpp index e03e78c8..15bd8bc0 100644 --- a/src/messageBuilder.hpp +++ b/src/messageBuilder.hpp @@ -128,11 +128,18 @@ public: void setSubject(const text& subject); /** Attach a new object to the message. + * This is a synonym for messageBuilder::appendAttachment(). * * @param attach new attachment */ void attach(attachment* attach); + /** Attach a new object to the message. + * + * @param attach new attachment + */ + void appendAttachment(attachment* attach); + /** Remove the attachment at the specified position. * * @param pos position of the attachment to remove |
