Skip to content

Commit

Permalink
fix drag/drop regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Deforche committed Jul 10, 2014
1 parent 8eef8af commit 417baba
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 88 deletions.
12 changes: 12 additions & 0 deletions src/Wt/Mail/Message
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ public:
*/
void setBody(const WString& text);

/*! \brief Returns the plain text body.
*
* \sa setBody()
*/
const WString& body() const { return body_; }

/*! \brief Adds a recipient.
*
* A mail can have multiple recipients.
Expand Down Expand Up @@ -195,6 +201,12 @@ public:
*/
void addHtmlBody(const WString& text);

/*! \brief Returns the HTML body.
*
* \sa setHtmlBody()
*/
const WString& htmlBody() const { return htmlBody_; }

/*! \brief Adds an attachment.
*
* Ownership of the \p data stream is not transferred; you should keep this
Expand Down
Loading

0 comments on commit 417baba

Please sign in to comment.