7 #ifndef ATTACHMENT_EDIT_H_ 8 #define ATTACHMENT_EDIT_H_ 10 #include <Wt/WContainerWidget.h> 58 std::vector<Attachment> attachments();
73 class UploadInfo :
public WContainerWidget
76 UploadInfo(
const Http::UploadedFile& f);
78 Http::UploadedFile info_;
81 WAnchor *downloadLink_;
87 std::vector<UploadInfo *> uploadInfo_;
102 void fileTooLarge(::int64_t size);
110 #endif // ATTACHMENT_EDIT_H_
bool uploadFailed() const
Returns whether the upload failed.
An edit field for an email attachment.
An E-mail composer widget.
Signal & uploadDone()
Signal emitted when new attachment(s) have been uploaded (or failed to upload.